Repository navigation
docs(rfd): add Agent-Configured MCP Servers draft - #2446
ruchirkemnaik wants to merge 1 commit into
Conversation
Propose a way for Clients to see and turn off the MCP servers an Agent loads from its own configuration, in addition to the `mcpServers` a Client sends on `session/new`. - Add docs/rfds/agent-configured-mcp-servers.mdx - List it under the Draft RFDs in docs/docs.json
|
The read path and the per-session off switch are what a host needs from an agent, and doing it per session without touching the agent's stored config is right. Built-in tools are the other half, and they matter more to us than config-loaded servers. We run agents as remote workers for many tenants. Every tool call has to go through the MCP servers we hand over at Agents already handle this, each in its own way. Goose takes an explicit extension set in |
Summary
This RFD proposes letting Clients see, and turn off for a session, the MCP servers an Agent loads from its own configuration (user and project settings, plugins). Today ACP only knows about the
mcpServersa Client sends onsession/new, so the Client never sees the rest.The draft covers the problem and a direction, in two parts:
session/new.The wire format and method name are deliberately left open for discussion.
Why now
_metastrict-MCP options, their own rules for name clashes, and a/mcpslash command. See feat: add _meta.codex.strictMcpConfig for client-only MCP servers codex-acp#548, feat: report the MCP servers that the Codex config replaces codex-acp#587, fix: prefer compatible session MCP servers codex-acp#534, and feat: answer /mcp in chat with the MCP server status and a reconnect claude-agent-acp#1218.mcpServers, so overlap with the Agent's own servers matters more.Related
providers/list,providers/disable).Feedback wanted
I'd especially like to hear whether the problem statement matches what Client and Agent implementers see in practice. I'm happy to drive the design and schema work, and would welcome a champion to work with.
Changes
docs/rfds/agent-configured-mcp-servers.mdxdocs/docs.jsonTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY.