codex mcp-server
The removed legacy MCP server host subcommand — fully unusable since 0.154.0 (2026-09-09); no in-CLI replacement was named.
Specs
Verified:
- Kind
- CLI subcommand (removed)
- Syntax
- codex mcp-server (historical)
- Removed in
- 0.154.0 (2026-09-09, #42993)
- Replacement
- No in-CLI replacement — MCP servers use standard transports (stdio / Streamable HTTP, unaffected)
`codex mcp-server` was the subcommand that let Codex itself run as an MCP server for external clients. The 0.154.0 (2026-09-09) release notes record that this already-deprecated entry became fully unusable (#42993); standard MCP server practices (stdio / Streamable HTTP transports) are unaffected. Note it is unrelated to the `codex mcp` family, which manages Codex's client-side connections to external MCP servers.
Timeline
- 0.154.0: the deprecated `codex mcp-server` entry becomes fully unusable (#42993)
Key features
- Let Codex itself run as an MCP server for external clients
- Removed in 0.154.0
Use cases
Only shows up in old tutorials and scripts — to connect Codex to external MCP servers use the `codex mcp` family (client side).
Install
No longer available — running it yields unknown subcommand.
Caveats
Old docs citing mcp-server are stale — the entry is removed and unrelated to the `codex mcp` family (client-side management).
Added
Updated
Verified