Skip to content

Function: listMcpServers()

listMcpServers(dir?, options?): EnrichedChannel[]

Defined in: packages/aiui-claude-channel/src/registry.ts:70

List the channel servers currently running — fully ENRICHED (session join, resolvedName), ranked by directory affinity to dir (defaults to the current working directory). The listing's agents status is dropped here; surfaces that must show it loudly (the debug API, the native host) call listChannels directly.

Parameters

dir?

string = ...

options?

ListOptions = {}

Returns

EnrichedChannel[]