Search the documentation
5 pages for mcp_tool_timeout.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Connect to external tools with MCP
Claude Code CLI · in the page
agent-sdk/mcp
…attempt only; to change how long a running tool call may take, set [`MCP_TOOL_TIMEOUT`](/docs/en/env-vars). If your server takes longer to start, the connection fails. Raise the connection limit with…
Claude Code changelog
Claude Code CLI · in the page
changelog
…every tool call; sub-1000 ms values are now ignored (falling back to `MCP_TOOL_TIMEOUT` or default), and `claude mcp get` annotates them accordingly * Fixed the LSP tool's `workspaceSymbol` operatio…
Environment variables
Claude Code CLI · in the page
env-vars
…he tool call aborts with an error instead of waiting for the overall `MCP_TOOL_TIMEOUT`. Overrides the per-transport defaults of 300000 (5 minutes) for network servers and 1800000 (30 minutes) for std…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…for example `"timeout": 600000` for ten minutes. This overrides the `MCP_TOOL_TIMEOUT` environment variable for that server only * Claude Code displays a warning when MCP tool output exceeds 10,000…
Building custom connectors
Claude Documentation · in the page
connectors/building/index
…KENS`) | | Claude Code timeout | Configurable via `MCP_TOOL_TIMEOUT` | | Claude.ai/Desktop timeout | 300 seconds (5 minutes)…