Function: createChannelServer()
createChannelServer(
version,options?):Server
Defined in: packages/aiui-claude-channel/src/server.ts:86
Construct the aiui Claude channel MCP Server.
The server declares the experimental claude/channel capability, which is what marks it as a Claude Code channel (rather than a plain tool/resource server), plus a tools capability for channel_info and — when supplied — page_tools_list/page_tools_call (a page-tool directory) and channel_reload (a reload handle) (see registerChannelTools). tools.listChanged is declared so the channel may send notifications/tools/list_changed when the page-tool directory changes; the advertised MCP tool list itself stays the static meta-tools — the notification's value is the refresh cycle it triggers (measured safe cross- and mid-turn: the extension-spike results, M3, git history). It is returned unconnected so callers (and tests) can inspect it without wiring up a transport.
Parameters
version
string
options?
ChannelServerOptions = {}
Returns
Server