New CLAUDE_CODE_MCP_STARTUP_WAIT_MS env var controls how long Claude Code waits for MCP servers to start
A new environment variable, CLAUDE_CODE_MCP_STARTUP_WAIT_MS, controls how long Claude Code waits for MCP (Model Context Protocol) connector servers to start up. When set, it overrides the normally computed wait time, though it's still capped by an internal maximum. Setting it to a value greater than 0 also switches on waiting for 'deferrable' MCP connections, which otherwise may not be waited for.
This gives users a way to tune startup behavior for MCP servers that are slow to connect, instead of being stuck with a fixed built-in timeout.
Added CLAUDE_CODE_MCP_STARTUP_WAIT_MS to bound how long the first non-interactive turn waits for connecting MCP servers (0 = don't wait)
New in this build: CLAUDE_CODE_MCP_STARTUP_WAIT_MS