Follow Discord
Sweep 12 Nov 2026 · 23:00Z Build v2.1.323 540 read Stable v2.1.311 Latest v2.1.323 Next v2.1.323 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.323 ·

MCP tools for SDK hosts: own idle timeout and task results returned to the caller

Apps embedding Claude Code can set an idle timeout for their own MCP tools and receive long-running task handles directly

Group of 2 Use it now New Features
JSON All of v2.1.323
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
New FeaturesKind: in v2.1.323,
What probably matters to youSection of the release

Unclear Which SDK option a program uses to set this timeout.

What

MCP servers are add-ons that give Claude extra tools. An SDK host is an app that builds Claude Code into itself through the SDK, the programming kit for that. Such an app can supply its own MCP server, of type "sdk". This release changes how calls to those tools are handled:

  • Idle timeout for SDK servers: the idle timeout is how long a tool call may go quiet before it is stopped. SDK servers now get their own idle watchdog. The timeout first uses a value the host sets with setSdkMcpToolIdleTimeoutMs, kept between 1000 ms and the server's maximum.
  • Other servers: CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT and the stdio and other defaults now apply only to servers that are not of type "sdk".
  • Task handles: a task handle is a reference to long-running work. A new taskToCaller option sends the handle straight to the caller, and the tool result is empty text. Without it, a task with a background owner is waited on. A task that ends with no result gives the message ended without a result. Before, every task handle went to a single background handler.
  • Host capabilities: the settings a host can declare gained desktopModeFromRecord, desktopMessageCard and desktopPluginInstallFrames, which start as false, and sdkMcpToolIdleTimeoutMs and shownPluginsDir, which start unset.

The gate tengu_gleaming_creek, a switch Anthropic can flip from its servers, appears with this code. Nothing has been read about it yet.

Why

Apps that embed Claude Code can control how long their own tools may stay idle and handle long-running MCP tasks themselves. The environment variable no longer affects tools from SDK servers.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich SDK option a program uses to set this timeout.

See this entry in the whole of v2.1.323 →

Feedback