You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MCP servers defined in config.toml are not detected/visible after update #9676
CLIIssues related to the Codex CLIbugSomething isn't workingmcpIssues related to the use of model context protocol (MCP) serverswindows-osIssues related to Codex on Windows systems
What terminal emulator and version are you using (if applicable)?
VSCode/Windows Terminal
What issue are you seeing?
After updating to the latest version, Codex fails to detect or display any configured MCP servers.
Previously, my MCP servers (configured via config.toml) appeared correctly under the "Resources" or "MCP" section. Now, the "Resources" section is either missing entirely or empty.
I have verified that the config.toml file contains valid [mcp_servers] entries. When running commands to list MCP servers (e.g., via TUI /mcp or CLI), no servers are returned, as if the configuration file is being ignored or silently failing to load.
Config snippet (Sanitized):
Ini, TOML
[mcp_servers.perplexity-mcp]
type = "stdio"
command = 'C:\Users\User.local\bin\uvx.exe'
args = ["perplexity-mcp"]
Define one or more valid MCP servers in config.toml (using standard stdio configuration).
Launch Codex (either via CLI or IDE extension).
Attempt to access MCP resources (e.g., check the "Resources" tab in IDE, or type /mcp in TUI).
Result: The list is empty. No errors are displayed regarding TOML parsing, but the tools are unavailable to the model.
What is the expected behavior?
Codex should parse the existing config.toml on startup and load the defined MCP servers, making them visible in the UI and accessible to the model for tool use.
Additional information
This issue started occurring immediately after the recent update.
I have verified that the external commands (like uvx or npx) work correctly in the terminal outside of Codex.
No specific error message is printed to stderr indicating why the config is not being loaded.
Where is this config.toml file located? Is it your global config, or is it in your project folder (a project-local config)?
Can you confirm that if you revert back to version 0.87 that the problem goes away? I want to confirm that this was a regression rather than a config change.
Where is this config.toml file located? Is it your global config, or is it in your project folder (a project-local config)?
Can you confirm that if you revert back to version 0.87 that the problem goes away? I want to confirm that this was a regression rather than a config change.
Yes, I can confirm that reverting to version 0.87 resolved the issue immediately.
Regarding the configuration location, I actually use both:
Global: ~/.codex/config.toml
Project-Local: F:\Homework....codex\config.toml (inside the workspace root)
The specific regression behavior is:
In v0.87: It correctly loads both files (merging the project-local settings with the global settings).
In the new version: It seems to ignore the project-local config entirely and only loads the global config from ~/.codex.
My missing MCP servers were defined in the project-local config, which explains why they disappeared after the update but reappeared after rolling back.
Root cause I found here: project-local .codex/config.toml is now intentionally only loaded for trusted projects. If the workspace isn’t trusted, that layer is skipped, so any [mcp_servers] defined there will “disappear” while the global ~/.codex/config.toml still loads.
I put together a patch (#9708 — now closed since @etraut-openai mentioned a fix is already in progress) that adds clearer diagnostics + a simple codex trust command to explicitly trust a workspace, with regression tests covering the untrusted→trusted flow.
Root cause I found here: project-local .codex/config.toml is now intentionally only loaded for trusted projects. If the workspace isn’t trusted, that layer is skipped, so any [mcp_servers] defined there will “disappear” while the global ~/.codex/config.toml still loads.
I put together a patch (#9708 — now closed since @etraut-openai mentioned a fix is already in progress) that adds clearer diagnostics + a simple codex trust command to explicitly trust a workspace, with regression tests covering the untrusted→trusted flow.
CLIIssues related to the Codex CLIbugSomething isn't workingmcpIssues related to the use of model context protocol (MCP) serverswindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Jan 22, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
AyinMostima commentedon Jan 22, 2026
This isn't a duplicate issue; it's a new problem that appeared in the new version.
etraut-openai commentedon Jan 22, 2026
Where is this config.toml file located? Is it your global config, or is it in your project folder (a project-local config)?
Can you confirm that if you revert back to version 0.87 that the problem goes away? I want to confirm that this was a regression rather than a config change.
AyinMostima commentedon Jan 22, 2026
Yes, I can confirm that reverting to version 0.87 resolved the issue immediately.
Regarding the configuration location, I actually use both:
Global: ~/.codex/config.toml
Project-Local: F:\Homework....codex\config.toml (inside the workspace root)
The specific regression behavior is:
In v0.87: It correctly loads both files (merging the project-local settings with the global settings).
In the new version: It seems to ignore the project-local config entirely and only loads the global config from ~/.codex.
My missing MCP servers were defined in the project-local config, which explains why they disappeared after the update but reappeared after rolling back.
swordfish444 commentedon Jan 22, 2026
Root cause I found here: project-local
.codex/config.tomlis now intentionally only loaded for trusted projects. If the workspace isn’t trusted, that layer is skipped, so any[mcp_servers]defined there will “disappear” while the global~/.codex/config.tomlstill loads.I put together a patch (#9708 — now closed since @etraut-openai mentioned a fix is already in progress) that adds clearer diagnostics + a simple
codex trustcommand to explicitly trust a workspace, with regression tests covering the untrusted→trusted flow.Tagging @AyinMostima for visibility.
AyinMostima commentedon Jan 22, 2026
Great, thank you very much for your work.