Lightweight coding agent that runs in your terminal
Rust
docs: fix outdated MCP subcommands documentation (#9622)
Tien Nguyen68b8381723f2
diff --git a/codex-rs/cli/src/mcp_cmd.rs b/codex-rs/cli/src/mcp_cmd.rsindex 9035502af3..22cd18dde3 100644--- a/codex-rs/cli/src/mcp_cmd.rs+++ b/codex-rs/cli/src/mcp_cmd.rs@@ -20,11 +20,12 @@ use codex_rmcp_client::perform_oauth_login;use codex_rmcp_client::supports_oauth_login;/// Subcommands:-/// - `serve` — run the MCP server on stdio/// - `list` — list configured servers (with `--json`)/// - `get` — show a single server (with `--json`)/// - `add` — add a server launcher entry to `~/.codex/config.toml`/// - `remove` — delete a server entry+/// - `login` — authenticate with MCP server using OAuth+/// - `logout` — remove OAuth credentials for MCP server#[derive(Debug, clap::Parser)]pub struct McpCli {#[clap(flatten)]