MCP tools that stop sending progress or responses are now detected and aborted after a configurable timeout. A new env var controls the timeout duration.
Usage
# Set timeout in milliseconds (default is built-in; 0 disables timeout)
export CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT=120000 # 2 minutes
export CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT=0 # disable
Details
When an MCP tool produces no output for the configured duration, Claude aborts the call and reports the timeout
Error message includes the tool name and duration: "MCP server X tool Y sent no response or progress for Ns; aborting"
A new McpResponseSchemaError is thrown and surfaced when an MCP server returns a result that fails schema validation, with a description of what was wrong
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed remote MCP tool calls that hang with no response for 5 minutes — they now abort with an error instead of blocking indefinitely…