Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

Apps built on the SDK can send MCP servers at startup instead of on the command line

SDK apps can hand MCP servers to Claude Code in the initialize request with mcpServersDelivery, and the SDK checks mcp_servers_applied in reply

Group of 5 Use it now Notable No documentation found New Features
JSON All of v2.1.326
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
AgentsArea: what it touches
New FeaturesKind: in v2.1.326,
What probably matters to youSection of the release

What

Apps that embed Claude Code through its SDK (a software kit for building on top of Claude Code) start Claude Code as a separate program. Until now the SDK always passed MCP servers, the outside services that give Claude extra tools, on that program's command line with --mcp-config. They can now go in the initialize request instead, the first message the app sends Claude Code over its input.

  • New SDK option mcpServersDelivery, set to 'argv' (command line) or 'initialize'. Any other value throws "Invalid mcpServersDelivery. Expected 'argv' or 'initialize'." An app that starts its own Claude Code without setting it gets the CLAUDE_SDK_MCP_SERVERS_ARGV_DEPRECATED warning.
  • When an option named mcpServersViaInitialize is set, the started program is no longer given --mcp-config with the servers.
  • The initialize request gains an optional mcpServers field, keyed by server name. It is the input form of --mcp-config items, keeps credentials off the command line, and is read only under --await-initialize.
  • The SDK checks the mcp_servers_applied reply. If the reply is not true or false, the session ends with an error saying this Claude Code is too old to read MCP servers from the initialize request. If it is false, the SDK warns that Claude Code did not load the MCP servers sent in the initialize request. Before, only plugins_applied was checked.
  • Hook callbacks now wait until the initialize request has been written before they run.
  • claimSession initialize results also carry mcp_servers_applied. Creating a remote session reports runsOn: other_host and hasNothingToClone, and launcher hooks can be registered for SessionStart.

Why

Anything on a command line can be seen by other users on the same machine, including the env values and headers in an MCP config. Sending servers in the initialize request keeps them out of view, and the deprecation warning tells app authors that command-line delivery is on its way out. An app also gets a clear failure instead of quietly running without its MCP servers.

Read from
Names in the bundlemcpServersDelivery

See this entry in the whole of v2.1.326 →

Feedback