Search the documentation
3 pages for claude_code_mcp_startup_wait_ms.
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
…case, up to `MCP_TIMEOUT`. To set the first-turn wait yourself, add `CLAUDE_CODE_MCP_STARTUP_WAIT_MS` to the [`env` option](/docs/en/agent-sdk/configuration#set-environment-variables), for example `C…
Claude Code changelog
Claude Code CLI · in the page
changelog
…e is critical, with steps to free memory or restart safely * Added `CLAUDE_CODE_MCP_STARTUP_WAIT_MS` to bound how long the first non-interactive turn waits for connecting MCP servers (`0` = don't wa…
Environment variables
Claude Code CLI · in the page
env-vars
…| | `CLAUDE_CODE_MCP_STARTUP_WAIT_MS` | How long in milliseconds the first turn of a [non-interactive](/docs/en/h…