Lightweight coding agent that runs in your terminal
Rust
Skip MCP auth probing for disabled servers (#17098)
Eric Traut18171b1931ab
diff --git a/codex-rs/codex-mcp/src/mcp/auth.rs b/codex-rs/codex-mcp/src/mcp/auth.rsindex 01dc5e9b46..27d7e13358 100644--- a/codex-rs/codex-mcp/src/mcp/auth.rs+++ b/codex-rs/codex-mcp/src/mcp/auth.rs@@ -157,6 +157,10 @@ async fn compute_auth_status(config: &McpServerConfig,store_mode: OAuthCredentialsStoreMode,) -> Result<McpAuthStatus> {+ if !config.enabled {+ return Ok(McpAuthStatus::Unsupported);+ }+match &config.transport {McpServerTransportConfig::Stdio { .. } => Ok(McpAuthStatus::Unsupported),McpServerTransportConfig::StreamableHttp {