diff --git a/codex-rs/codex-mcp/src/rmcp_client.rs b/codex-rs/codex-mcp/src/rmcp_client.rs index f4fc8b807..3ba1adcc9 100644 --- a/codex-rs/codex-mcp/src/rmcp_client.rs +++ b/codex-rs/codex-mcp/src/rmcp_client.rs @@ -75,7 +75,7 @@ pub(crate) const MCP_TOOLS_LIST_DURATION_METRIC: &str = "codex.mcp.tools.list.du pub(crate) const MCP_TOOLS_FETCH_UNCACHED_DURATION_METRIC: &str = "codex.mcp.tools.fetch_uncached.duration_ms"; pub(crate) const DEFAULT_STARTUP_TIMEOUT: Duration = Duration::from_secs(30); -pub(crate) const DEFAULT_TOOL_TIMEOUT: Duration = Duration::from_secs(120); +pub(crate) const DEFAULT_TOOL_TIMEOUT: Duration = Duration::from_secs(300); const UNTRUSTED_CONNECTOR_META_KEYS: &[&str] = &[ "connector_id",