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?

  1. Put below in repo's .codex/config.toml
[mcp_servers.playwright]
args = ["@playwright/mcp@latest"]
command = "npx"
enabled = false
  1. Start Codex App
  2. Go to Settings > MCP servers
  3. In the Recommended servers section, there is no way to enable Playwright anymore

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 6 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #11765
  • #12197
  • #13056

Powered by Codex Action

etraut-openai contributor · 6 months ago

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.

amit-mittal · 6 months ago

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 Apps if can be enabled for custom MCPs too, that will work too.

etraut-openai contributor · 3 months ago

This feature request hasn't received enough upvotes, so I'm closing it.