{"record":{"id":"591bcad9830a682d","repo":"openai/codex","slug":"mcp-client-startup-timed-out-after-startup-timeou","errorCode":null,"errorMessage":"MCP client startup timed out after {startup_timeout:?}","messagePattern":"MCP client startup timed out after (.+?)","errorType":"exception","errorClass":"StartupOutcomeError","httpStatus":null,"severity":"error","filePath":"codex-rs/codex-mcp/src/rmcp_client.rs","lineNumber":355,"sourceCode":"\n                let client = match tokio::time::timeout(\n                    startup_timeout,\n                    make_rmcp_client(\n                        &server_name,\n                        server.clone(),\n                        store_mode,\n                        keyring_backend_kind,\n                        runtime_context,\n                        resolved_environment,\n                        runtime_auth_provider,\n                        protocol_mode,\n                    ),\n                )\n                .await\n                {\n                    Ok(result) => Arc::new(result?),\n                    Err(_) => {\n                        return Err(StartupOutcomeError::from(anyhow!(\n                            \"MCP client startup timed out after {startup_timeout:?}\"\n                        )));\n                    }\n                };\n                start_server_task(\n                    server_name,\n                    client,\n                    StartServerTaskParams {\n                        is_codex_apps_mcp_server,\n                        startup_timeout: Some(startup_timeout),\n                        tx_event,\n                        elicitation_requests,\n                        codex_apps_tools_cache_context,\n                        tool_catalog_cache_context,\n                        tool_catalog_fetch_ticket,\n                        client_elicitation_capability,\n                        client_mcp_extensions,\n                        catalog_item_limit,","sourceCodeStart":337,"sourceCodeEnd":373,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/codex-mcp/src/rmcp_client.rs#L337-L373","documentation":"Error \"MCP client startup timed out after {startup_timeout:?}\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/codex-mcp/src/rmcp_client.rs:355 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Increase `startup_timeout` for the MCP server or fix the server to start faster; check the server logs for the stall."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","schemaVersion":2},"datasetVersion":"2026-08-25T06:17:31.827Z"}