Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

mcp_set_servers SDK control command gains new restrictions and error messages

SDK-managed MCP servers pushed at runtime now face stricter rules on type, names, and how they can be toggled

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaSDKwhat it touches
KindInternal Changesin v2.1.271,
Under the hood

SDK-managed MCP servers pushed at runtime now face stricter rules on type, names, and how they can be toggled

What

The SDK's dynamic MCP server management, used to add or change MCP (Model Context Protocol, a way to connect external tools) servers at runtime, now enforces new restrictions:

  • A server pushed while a session is running must be an http server on that session's own MCP proxy route.
  • Certain server names are reserved for first-party servers and can only be set when the session starts, not pushed later.
  • Servers can only be turned on or off by replacing the entire server set at once, not by toggling one individually.
  • A configuration change to a server that's already running is held and applied on the next re-dispatch, rather than immediately.
Why

These restrictions add guardrails around runtime MCP server management, preventing conflicts with built-in servers and making changes to a running server's configuration more predictable.

See this entry in the whole of v2.1.271 →