{"name":"MCP_CONNECT_TIMEOUT_MS","slug":"mcp-connect-timeout-ms","family":"env","title":"Environment variables","noun":"environment variable","description":"Very large MCP_TIMEOUT values are capped instead of overflowing and timing out instantly.","description_source":"entry","described_by":{"version":"2.1.227","anchor":"huge-mcp-timeout-values-no-longer-fire-instantly"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":{"version":"2.1.227","released_at":"2026-08-10 20:56:57","spans":1}},"aliases":[],"entries":[{"version":"2.1.281","anchor":"mcp-startup-wait-config-fetch-deadline-now-uses-mcp-connect","heading":"MCP startup wait: config-fetch deadline now uses MCP_CONNECT_TIMEOUT_MS; a failed fetch no longer blocks","line":"The first-turn wait for MCP servers now follows MCP_CONNECT_TIMEOUT_MS (default 5000 ms) and no longer stalls when fetching their config fails","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text, named in this entry"},{"version":"2.1.281","anchor":"sdk-mcp-servers-bounded-wait-at-first-message-and-servers","heading":"SDK MCP servers: bounded wait at first message, and servers started later are awaited","line":"With --sdk-url, waiting for SDK MCP servers is now time-limited, and servers started later are waited for","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.227","anchor":"huge-mcp-timeout-values-no-longer-fire-instantly","heading":"Huge MCP timeout values no longer fire instantly","line":"Very large MCP_TIMEOUT values are capped instead of overflowing and timing out instantly.","released_at":"2026-08-10 20:56:57","reason":"named in this entry, found in this entry's text"}],"entries_total":3,"docs":[{"source":"claude-code","path":"agent-sdk\/mcp","title":"Connect to external tools with MCP","documented":false},{"source":"claude-code","path":"self-hosted-environments-configuration","title":"Customize sessions in self-hosted environments","documented":false}],"docs_total":2,"gates":[],"related":[{"name":"MCP_CONNECTION_NONBLOCKING","slug":"mcp-connection-nonblocking","description":"Five more environment variables, including stream and byte watchdogs, can be set in settings.json."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/mcp-connect-timeout-ms","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}