7 pages for mcp_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
…ToolName`, the first turn always waits for that tool's server, up to `MCP_TIMEOUT`, wherever you configured it. For a server in `options.mcpServers`, find its type in the first column to see how long…
CLI reference
Claude Code CLI · in the page
cli-reference
…pending servers to connect before running the first turn, up to the [`MCP_TIMEOUT`](/docs/en/env-vars) startup timeout, 30 seconds by default; a server with a [cached tool list](/docs/en/mcp#managing-…
Environment variables
Claude Code CLI · in the page
env-vars
…prompt-tool`](/docs/en/cli-reference#cli-flags) server keeps its own `MCP_TIMEOUT` wait regardless of the value. Requires Claude Code v2.1.274 or later…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…for still-pending servers before running the first turn, up to the [`MCP_TIMEOUT`](/docs/en/env-vars) startup timeout, 30 seconds by default. A remote server with a [cached tool list](/docs/en/agent-…
Hooks reference
Claude Code CLI · in the page
hooks
…waits for a connecting server before it calls the tool, for at most [`MCP_TIMEOUT`](/docs/en/env-vars) and within the hook's own [`timeout`](#common-fields). On observational events, such as `Notifica…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…`-H` short forms > * Configure MCP server startup timeout using the `MCP_TIMEOUT` environment variable (for example, `MCP_TIMEOUT=10000 claude` sets a 10-second timeout) > * Set a per-server tool exe…
Connect to MCP servers
Claude Code CLI · in the page
mcp-quickstart
…ext wrap theme={null} Use the claude-code-docs server to look up what MCP_TIMEOUT does ``` > [!NOTE] > > You don't normally need to name a server in your prompt, since Claude chooses relevant tools o…