Unclear It is not clear which interface accepts this request.
What
Claude Code now handles a request called mcp.connect. It requires a server value, which must be a non-empty piece of text.
Why
An app that controls Claude Code may be able to tell it to connect to a named MCP server, an outside program that supplies extra tools.
Names in the bundlemcp.connect
Documented inclaude-code/channels-reference
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up mcp.connect, on Channels reference.
await mcp.connect(new StdioServerTransport())channels-reference see the edit
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear which interface accepts this request.
Anthropic's documentation agrees
Anthropic's documentation has since written up mcp.connect, on Channels reference.