Invalid transport error when setting `mcp_servers.codex_apps.startup_timeout_sec`
Open 💬 6 comments Opened Jun 22, 2026 by siddhpant
When starting Codex (v0.141.0), I got the following error:
⚠ MCP client for `codex_apps` timed out after 30 seconds. Add or adjust `startup_timeout_sec` in your config.toml:
[mcp_servers.codex_apps]
startup_timeout_sec = XX
⚠ MCP startup incomplete (failed: codex_apps)
So I did that and added the following in config.toml:
[mcp_servers.codex_apps]
startup_timeout_sec = 60
After that codex fails to start:
$ codex
Error loading config.toml: invalid transport
in `mcp_servers.codex_apps`
6 Comments
I also encountered a similar error. I am using Codex within the Microsoft Ubuntu WSL environment; this issue began appearing after I updated from version 0.137 to 0.142.
我也遇到这个问题了,还以为是我电脑的自身问题呢,看到你们的问题,这下我总算放心了
Still reproducible on
codex-cli 0.144.1with Linux x86_64, ChatGPT Pro/Max auth, and tmux 3.4.I reproduced the full sequence today:
~/.codex/cache/codex_apps_toolscache.gpt-5.6-solresponds successfully, butcodex_appsremains inBooting MCP serverstate.The current source constructs this host-owned server with a fixed 30-second timeout:
https://github.com/openai/codex/blob/main/codex-rs/codex-mcp/src/mcp/mod.rs#L539-L553
This appears to be the generic MCP timeout remediation being shown for a host-owned server whose user configuration cannot be expressed as a transport-less
mcp_serversentry. A fix could either expose a valid dedicated timeout setting, merge a user timeout override into the synthesized server, or suppress the unusable suggestion forcodex_apps.codex doctor --jsonreturned no output on this build.I have exactly the same issue as @EazyReal
Confirmed on
codex-cli 0.144.4, native Ubuntu 26.04 x86_64.The TUI warning still recommends configuring the implicit server:
However, the suggested override is not representable because
codex_appshas no user-configurable transport:A full Codex/app-server restart does not change this deterministic config failure.
Expected behavior: for a host-owned implicit MCP, either expose a dedicated supported timeout setting or suppress the generic user-MCP suggestion. Ideally the warning should also preserve the actual upstream Apps/Connectors error instead of only reporting a
tools/listtimeout.Can we just say +1 instead of AI dumping itself here?