Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.317 ·

MCP control requests in headless mode now run through a queue

In headless and SDK use, mcp_set_servers and mcp_reconnect requests now go through a queue beside the main loop instead of running inline

Group of 3 You'll notice No documentation found Improvements
JSON All of v2.1.317
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.317,
ImprovementsSection of the release

What

In headless mode, a program drives Claude Code without its usual screen, for example through the SDK. That program can send control requests to change MCP servers (add-ons that supply extra tools). How those requests run has changed:

  • A new queue runs MCP control requests such as mcp_set_servers and mcp_reconnect beside the main loop.
  • mcp_set_servers no longer waits inline. It goes through the queue, its response carries heldLoop, and its errors are logged only in some modes.
  • mcp_reconnect can now wait behind other work instead of running inline.
  • In the reload_plugins output, mcpServers now comes from a different source, and dynamicMcpConfig is passed to the check of how a change affects the cache.
  • Records of an interrupt now include the messages that were cancelled.

Why

If you build on the SDK, the timing of MCP server updates and reconnects may look different, because they now wait their turn in a queue rather than running at the moment the request arrives.

Read from
Names in the bundlemcp_set_servers

See this entry in the whole of v2.1.317 →

Feedback