Add interactive enable/disable controls to /mcp
Resolved 💬 2 comments Opened May 6, 2026 by lancewillett Closed May 7, 2026
Feature request
Make MCP management available directly from /mcp in the Codex CLI.
Problem
Today, disabling an MCP requires editing the Codex config file and restarting Codex. That works, but it is harder than it needs to be for common MCP troubleshooting.
Suggested flow
- Type
/mcp - Select an MCP server
- Choose an action:
- Reconnect
- Enable
- Disable
- Remove
- Login/logout, when supported
- Codex applies the change and updates the MCP status
Why this helps
This would make MCP troubleshooting much more user-friendly. It also keeps users in the CLI instead of requiring config-file edits for routine enable/disable tasks.
Current workaround
Manually set enabled = true or enabled = false under the relevant MCP server entry in the Codex config file, then restart Codex.
Environment
Observed with Codex CLI 0.128.0.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗