diff --git a/codex-rs/cli/src/main.rs b/codex-rs/cli/src/main.rs index 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(),