Function: selectMcpServer()
selectMcpServer(
servers):Promise<EnrichedChannel>
Defined in: packages/aiui-claude-channel/src/select.ts:29
Prompt the user to pick one of the given running servers. With a single real server there's nothing to choose, so it's returned directly — but a lone debug server still prompts: connecting to a server that answers to nobody must be a deliberate choice, never a silent default.
Parameters
servers
Returns
Promise<EnrichedChannel>
Throws
if servers is empty — callers should handle "none running" before reaching the widget.