MCP and main-loop code no longer reads environment variables directly with hand-rolled parsing. MCP_TOOL_TIMEOUT is now parsed as an integer with a minimum of 1 instead of a bare greater-than-zero check, and the large-output-files guard now only kicks in when ENABLE_MCP_LARGE_OUTPUT_FILES is explicitly false rather than on any truthy string.
CLAUDE_AGENT_SDK_MCP_NO_PREFIXmoves to the same typed lookup.
MCP_TOOL_TIMEOUT
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
| `mcpToolTimeoutSec` | Applies your per-call MCP tool timeout to Code sessions as well, taking precedence over a user-set `MCP_TOOL_TIMEOUT`. |third-party/claude-desktop/code see the edit
Anthropic's documentation has since written up MCP_TOOL_TIMEOUT, on Code in Claude Desktop on 3P.