Lightweight coding agent that runs in your terminal
Rust
Warn when launching the deprecated MCP server (#39657)
Eric Traut5e3a6fe4eee7
diff --git a/codex-rs/cli/src/main.rs b/codex-rs/cli/src/main.rsindex 03a81f9b7e..45218a6d39 100644--- a/codex-rs/cli/src/main.rs+++ b/codex-rs/cli/src/main.rs@@ -1179,6 +1179,9 @@ async fn cli_main(codex_exec::run_main(exec_cli, arg0_paths.clone()).await?;}Some(Subcommand::McpServer(McpServerCommand { strict_config })) => {+ eprintln!(+ "warning: `codex mcp-server` is deprecated and will be removed in a future release."+ );reject_remote_mode_for_subcommand(root_remote.as_deref(),root_remote_auth_token_env.as_deref(),