Toggleable MCPs from project's config.toml
Resolved 💬 4 comments Opened Feb 27, 2026 by amit-mittal Closed May 2, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.227.1448 (747)
What subscription do you have?
Enterprise
What platform is your computer?
MacOS
What issue are you seeing?
Settings > MCP Servers section now support toggleable MCPs dynamically during the session. That configuration get picked up from ~/.codex/config.toml, but if my repo's config.toml has MCP servers disabled, there is no way to toggle enable it.
I want some way that I can configure the MCP servers for my repo that the user can enable/disable as per the need from "Add Context".
What steps can reproduce the bug?
- Put below in repo's
.codex/config.toml
[mcp_servers.playwright]
args = ["@playwright/mcp@latest"]
command = "npx"
enabled = false
- Start Codex App
- Go to Settings > MCP servers
- In the Recommended servers section, there is no way to enable
Playwrightanymore
What is the expected behavior?
_No response_
Additional information
_No response_
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Currently, the Settings dialog is global, not specific to a project. If we add this feature, we'll need to figure out how we want to represent project-specific settings.
Makes sense - The global settings page shows "custom servers" that are specific to a repo, so I think it should be a matter of just making them toggleable.
I know one way so far was to use a local MCP Gateway that acts as aggregator for all the other MCPs, but I haven't found a good one as per our needs, so a native one similar to
Codex Appsif can be enabled for custom MCPs too, that will work too.This feature request hasn't received enough upvotes, so I'm closing it.