2 pages for claude_code_mcp_tool_idle_timeout.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Environment variables
Claude Code CLI · in the page
env-vars
…| | `CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT` | Idle timeout in milliseconds for MCP tool calls. When a stdio, HTTP, SSE,…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…m-claude-ai) servers, and to 30 minutes for stdio servers. Set the [`CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT`](/docs/en/env-vars) environment variable in milliseconds to change the idle window, or set it t…