Codex Desktop: invalid transport in mcp_servers.codex_app although codex_app is not present in config.toml
What version of the Codex App are you using (From “About Codex” dialog)?
26.820.60940
What subscription do you have?
ChatGPT Team
What platform is your computer?
Darwin 25.5.0 arm64 arm
What issue are you seeing?
The Codex desktop app cannot resume an existing thread because it reports an invalid MCP server configuration.
The app shows the following error:
"ChatGPT cannot load config.toml, so this thread cannot be resumed.
Fix config.toml: invalid transport in mcp_servers.codex_app.
After saving the file, reopen the thread."
I checked my local Codex configuration and there is only one config.toml file:
~/.codex/config.toml
The issue persists even after checking/removing the relevant MCP configuration and restarting the app.
It appears that the app may still be loading or generating an mcp_servers.codex_app configuration that is not present in the user config.toml.
What steps can reproduce the bug?
- Open the Codex desktop app on macOS.
- Open an existing thread.
- The app attempts to resume the thread.
- An error appears saying that config.toml cannot be loaded because of an "invalid transport in
mcp_servers.codex_app". - Check the local configuration files with:
find ~ -name "config.toml" -print 2>/dev/null | grep -Ei "codex|chatgpt"
- Only one configuration file is found:
~/.codex/config.toml
- Check/remove the MCP configuration related to
codex_appfrom config.toml and restart the Codex app. - Reopen the affected thread.
Expected result:
The thread should open normally.
Actual result:
The same "invalid transport in mcp_servers.codex_app" error appears and the thread cannot be resumed.
<img width="649" height="178" alt="Image" src="https://github.com/user-attachments/assets/69b05b77-0187-42f5-9da9-6f835fe7da96" />
<img width="898" height="294" alt="Image" src="https://github.com/user-attachments/assets/78cd7cf3-d4c0-4934-8566-2b6ac0914e34" />
What is the expected behavior?
The Codex app should load the existing thread normally.
If mcp_servers.codex_app is an internal or app-managed MCP server, its configuration should not cause the user's config.toml to be considered invalid.
The app should not prevent an existing thread from being resumed because of an MCP configuration that is not present in the user's config.toml.
Additional information
Codex App version: 26.820.60940
Platform: Darwin 25.5.0 arm64 arm
I searched for other Codex/ChatGPT config.toml files with:
find ~ -name "config.toml" -print 2>/dev/null | grep -Ei "codex|chatgpt"
The only file found was:
~/.codex/config.toml
The error specifically references:
mcp_servers.codex_app
However, after checking/removing the relevant MCP configuration from my local config.toml and restarting the app, the issue still occurs.
This makes me suspect that codex_app may be an app-managed/internal MCP configuration rather than something coming from my user configuration.
23 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I have the same issue as well
After updating the Codex desktop app, an existing thread cannot resume.
Error:
ChatGPT can't load config.toml, so this thread can't resume.
Fix config.toml: invalid transport in
mcp_servers.codex_app.My config.toml contains no
[mcp_servers.codex_app]section. It onlycontains the app-generated
mcp_servers.node_replconfiguration.Therefore
codex_appappears to be injected by the updated desktopruntime or bundled OpenAI app tooling.
App version reported in the generated environment:
26.820.60940
Windows host with Codex running through WSL.
Yes, I have the same issue and I can't work at all. Has anybody figured out a workaround for this? Because I can't use Codex at all. it won't let me do anything. Do we have a timeline for a fix? Perhaps it is time for their DevOps engineers too roll back this latest release.
<img width="536" height="135" alt="Image" src="https://github.com/user-attachments/assets/0e235b17-c33c-45ee-bc5a-570619250fa1" />
same this broke for me . please fix urgently . looks like codex cli still works
Same issue here with the existing threads, also unable to start new tasks.
Windows Codex app: 26.820.7780.0
WSL Codex CLI: 0.149.1
Bundled plugin: codex-app-tools 0.1.3
All existing and new desktop chats fail with:
failed to load configuration:
invalid transport in
mcp_servers.codex_appWSL
codex mcp listsucceeds.Plugin cache was regenerated and produced an identical manifest.
A reversible removal of codex_app from the cached manifest did not unblock the app.
这么严重的bug,都过去几个小时了,还不修??就这??
Have the same issue; version 26.820.60940
Same issue here on macOS after today's Codex app update.
26.819.11345ChatGPT can't load config.toml, so this thread can't resume.Fix config.toml: invalid transport in mcp_servers.codex_appError creating chat: failed to load configuration: invalid transport in mcp_servers.codex_app~/.codex/config.tomldoes not contain anycodex_appentry:grep -n -C 3 'codex_app' ~/.codex/config.tomlreturns no output.
codex-cli 0.150.0-alpha.8This looks like
mcp_servers.codex_appis being injected by the desktop app/runtime rather than coming from the user'sconfig.toml.I can confirm the same regression on Windows 11 + WSL2 with Codex Desktop 26.820.x. Both creating new chats and resuming existing chats fail with
invalid transport in mcp_servers.codex_app, while my userconfig.tomlhas nomcp_servers.codex_appentry. WSL is my required development environment, so switching the agent to Windows-native is not a viable workaround for me. This is a complete work blocker.Given that this regression completely blocks a supported development workflow for paying users, OpenAI should also consider compensation for affected accounts. At minimum, users impacted by the
mcp_servers.codex_appoutage should receive additional/banked usage resets (or equivalent credits) for the period in which Codex Desktop was unusable in their required environment. We are paying for access to this service, and a release regression that prevents chats from starting or resuming should not consume users' paid usage window without remedy.Additional macOS reproduction with a strong same-machine / same-account A/B control:
Environment
26.820.60940(build7119)codex-cli 0.150.0-alpha.8Exact failure
Every new Codex conversation fails immediately with:
Key isolation result
This Mac has two macOS user accounts. Using the same physical Mac, the same
/Applications/ChatGPT.appbinary, and the same ChatGPT account:invalid transport in mcp_servers.codex_appThe failing macOS user appears to have hit the error during its first Codex/Desktop initialization.
Ruled out on the failing macOS user
~/.codex/config.tomlcontains nomcp_servers.codex_appentry.codex mcp listsucceeds with the bundled CLI.codesign --verify --deep --strict..codex-global-state.jsonand Codex Apps tool cache did not help.~/.codexdirectory away and allowing Desktop to recreate it from scratch still reproduces the same error.Additional observation
Runtime logs show the internal
codex_appsplugin runtime can initialize successfully, while thread creation still fails with the singularmcp_servers.codex_appinvalid-transport error. This supports the theory that the failing entry is generated/injected by Desktop at thread start rather than coming from the user's TOML.Why this case may be useful
Because one macOS user works and another fails on the same Mac/app/account, this looks like a per-macOS-user Desktop first-run/bootstrap/runtime injection issue, not a damaged app binary, user TOML, project configuration, or ChatGPT account entitlement.
A likely regression test would be: create a fresh macOS user profile, launch this Desktop build, complete first-run Codex initialization, and start a new thread. The generated/injected
mcp_servers.codex_appentry should always include a valid transport (or be omitted).The volume of reports around
mcp_servers.codex_appnow makes it clear this is not an isolated local configuration problem. Could an OpenAI maintainer please acknowledge the incident and clarify whether it is under active investigation? A public status note would prevent affected users from wasting more time modifying clean configs or trying unsafe workarounds.<img width="568" height="157" alt="Image" src="https://github.com/user-attachments/assets/701560e4-c622-4d51-b6df-41709e167e76" />
I have the exact same issue after updating to v26.820.60940.
same issue here, is there any fix that doesnt involve stopping using WSL?
+1 started today
<img width="662" height="139" alt="Image" src="https://github.com/user-attachments/assets/f3432892-3362-44a7-bb06-6f6596bce3b1" />
Version 26.820.60940
Windows (WSL mode)
see: https://github.com/openai/codex/issues/40881#issuecomment-5426672277
🎉 Hooray — I finally found it and confirmed the workaround!
The problem was not caused by my project or by
config.toml. It was a multi-user macOS permissions problem in Codex Desktop.Root cause
Codex Desktop uses this global directory for internal Unix sockets:
The directory had been created by another macOS user with mode
0755. Therefore, the affected user could traverse and read the directory but could not create a new socket inside it.The first relevant error in the logs was:
Approximately seven seconds later, Codex reported the misleading secondary error:
What fixed it
I changed only the permissions of this exact temporary directory:
I did not use
-R.After fully restarting Codex under the affected macOS account, existing threads resumed successfully and new threads could be created again. ✅
No changes to
config.toml, MCP definitions, plugins,AGENTS.md, project files, or Codex executables were needed.Mode
1777is the standard sticky-directory pattern used for shared temporary directories. It allows each user to create their own files while preventing users from deleting files owned by someone else.How I investigated it
I used the second, working macOS account as a control and performed a read-only comparison.
~/.codex/config.toml.codex/config.tomlAGENTS.mdcodex-app-tools/desktop-mcp.jsonconfig.tomlcontained:``
toml
``[mcp_servers.codex_app]
command,args, andcwd.``
text
``invalid transport
mcp_servers.codex_app
Failed to start the Codex app tools native pipe
EACCES
codex-browser-use
26.818.41705was working.26.820.60940.invalid transport.``
bash
``ls -ldeO@ /private/tmp/codex-browser-use
stat -f '%N owner=%Su group=%Sg mode=%Sp' /private/tmp/codex-browser-use
id
app.asarand found that the Unix path is hardcoded as:``
text
``/tmp/codex-browser-use
The application calls recursive directory creation, but if the directory already exists, it does not validate or correct its owner or permissions.
CODEX_APP_TOOLS_PIPE_PATH. The observed behavior strongly suggests that a partialmcp_servers.codex_appoverride is then processed without a validcommandorurl, producing the secondaryinvalid transporterror.I avoided reading
auth.json, tokens, credentials, cookies, or unrelated project source files. Log excerpts were sanitized before inspection.Reproduction scenario
/tmp/codex-browser-use, owned by user A with mode0755.invalid transport in mcp_servers.codex_app.Notes for Windows and WSL users
⚠️ The
chmod 1777workaround is specifically for macOS or another Unix environment using/tmp. Do not run it on native Windows.The packaged application uses a Windows named-pipe path similar to:
Therefore, the same visible
mcp_servers.codex_apperror on Windows may have a different underlying cause.In particular, Windows with WSL may involve:
CODEX_HOMElocations;codex_appconfiguration being injected into a different environment;enabled_toolsbut nocommandorurl.A related Windows/WSL report is:
https://github.com/openai/codex/issues/40881
For Windows/WSL, I would first check the logs for the error that occurs immediately before
invalid transport, verify whether the native pipe starts, and inspect the effective runtime configuration passed from Desktop to the WSL app-server. The macOS directory-permission workaround should not be assumed to apply there.Suggested upstream fix
``
text
``$TMPDIR/codex-browser-use
or:
``
text
``/tmp/codex-browser-use/<uid>
mcp_servers.codex_appconfiguration if the native pipe fails.config.tomltransport error.The local workaround works, but Codex Desktop should isolate its runtime sockets per operating-system user. 🚀
I am getting this prompt: ChatGPT cannot load config.toml, so this conversation thread cannot continue. Please fix config.toml: invalid transport in mcp_servers.codex_app. It is frustrating as it stops me from working. Please fix this as soon as possible.
Same issue, I had a different prior working build but experienced the same issue with the latest build. Thank you @dkovar-forge your workaround suggestion fixed it for me too! https://github.com/openai/codex/issues/40860#issuecomment-5432873833
Mine seems to be working now, I uninstalled chatgpt desktop, I restored my deleted .codex folder from previously uninstalling, and re-installed.
Hoping it doesn't break will update here if anything changes
I reproduced this on macOS in a multi-user setup and found a concrete underlying cause.
Environment:
The app uses a machine-global directory:
/tmp/codex-browser-useThe first user to launch Codex creates it as that user's directory with mode
0755(in my caseluigi:wheel). When a second macOS user launches Codex, the app tries to create its own Unix socket under the same directory and fails withEACCES:Failed to start the Codex app tools native pipe ... listen EACCES: permission denied /tmp/codex-browser-use/<uuid>.sockThe same
EACCESoccurs for the IAB/browser backend. Immediately afterwards, resuming a thread fails with:failed to load configuration: invalid transport in mcp_servers.codex_appSo in this case the
config.tomlerror is secondary/misleading; the actual failure is that the second user cannot create the native pipe/socket in the shared/tmp/codex-browser-usedirectory.Workaround verified:
chmod 1777 /tmp/codex-browser-useAfter that, the second user can open/resume threads normally.
Suggested fix: do not use a single machine-global directory for these sockets. On macOS, use the per-user
$TMPDIR, or include the user UID in the directory name (for example/tmp/codex-browser-use-<uid>). That avoids cross-user permission collisions and is safer than making the shared directory world-writable.This should be reproducible by:
/tmp/codex-browser-useis created as user A, mode 0755.EACCESon/tmp/codex-browser-use/*.sock, followed byinvalid transport in mcp_servers.codex_app.I have had the same bug since yesterday and was not able to work for hours!
Thanks for the workaround!
I have a standard user account where I code because of risk of supply chain attacks, etc.
Codex macOS app on that account was not working BUT was working fine in the admin account.
I have confirmed that the chmod workaround worked for me.
/tmp/codex-browser-usewas owned by the admin user with mode0755.Running in my admin account.
and then in the standard user account restarting ChatGPT fixed the
invalid transport in mcp_servers.codex_apperror.New version fixed the issue and now I can access to the projects and conversations.