Add interactive enable/disable controls to /mcp
Resolved 💬 2 comments Opened May 6, 2026 by lancewillett Closed May 7, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
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.
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Closing in favor of #20995.