Support config.local.toml to override project-shared config.toml
Resolved 💬 7 comments Opened Mar 27, 2026 by skoch13 Closed Mar 27, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
cli
What feature would you like to see?
It will be convenient to have an ability to override project codex settings, e.g. the project has shared MCP settings, but a team member wants to have it disabled or altered the tools available for the MCP server
Additional information
_No response_
7 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Project-local config overrides are already supported. Refer to this section of the documentation.
@etraut-openai do you mean by -c cli flags? My request was mostly about the static config file override.
No, I'm talking about
.codex/config.tomlconfig overrides.@etraut-openai sorry I don't get it: I have project
.codex/config.tomlthat I'd like to be able to overwrite. is there a way to achieve that?You have a user-level
~/.codex/config.tomlfile. You want to override that with a project-level config file. To do so, add a.codex/config.tomlfile in your project. Refer to documentation for details.@etraut-openai I need to clarify my question. Here it is: I have a user-level configuration and a project-level configuration that sets an MCP server. I want to overwrite the project-level MCP configuration. How can I achieve that without using the -c flag?