From 9302b2762cf66ed679e4d559278a701768014304 Mon Sep 17 00:00:00 2001 From: Gabriel Peal Date: Fri, 3 Oct 2025 13:47:04 -0700 Subject: [PATCH] Remove flag --- codex-rs/core/src/mcp_connection_manager.rs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/codex-rs/core/src/mcp_connection_manager.rs b/codex-rs/core/src/mcp_connection_manager.rs index 2f06f370c6..76738a03ae 100644 --- a/codex-rs/core/src/mcp_connection_manager.rs +++ b/codex-rs/core/src/mcp_connection_manager.rs @@ -108,9 +108,6 @@ impl McpClientAdapter { params: mcp_types::InitializeRequestParams, startup_timeout: Duration, ) -> Result { - info!( - "new_stdio_client use_rmcp_client: {use_rmcp_client} program: {program:?} args: {args:?} env: {env:?} params: {params:?} startup_timeout: {startup_timeout:?}" - ); if use_rmcp_client { let client = Arc::new(RmcpClient::new_stdio_client(program, args, env).await?); client.initialize(params, Some(startup_timeout)).await?; @@ -205,17 +202,6 @@ impl McpConnectionManager { continue; } - if matches!( - cfg.transport, - McpServerTransportConfig::StreamableHttp { .. } - ) && !use_rmcp_client - { - info!( - "skipping MCP server `{server_name}` because the legacy MCP client only supports stdio servers", - ); - continue; - } - let startup_timeout = cfg.startup_timeout_sec.unwrap_or(DEFAULT_STARTUP_TIMEOUT); let tool_timeout = cfg.tool_timeout_sec.unwrap_or(DEFAULT_TOOL_TIMEOUT);