Repository navigation
Description
What happened
Every time I use a GPT model, I get "MCP client for codex_app failed to start: MCP startup failed: Mcp error: -32603: Codex did not provide CODEX_APP_TOOLS_PIPE_PATH to the app tools MCP."
Diagnosis
The Codex desktop app (Windows Store build 26.1106.6628.0) installs and enables a bundled plugin, codex-app-tools@openai-bundled, in the shared ~/.codex/config.toml. That plugin starts an MCP server named codex_app, which only works when the Codex desktop app launches it: the app passes it a private pipe in CODEX_APP_TOOLS_PIPE_PATH.
T3 starts its own codex app-server (CodexAdapterV2.ts → codexAppServerArgs in apps/server/src/provider/codexLaunchArgs.ts) without that variable. Codex picks up the plugin from the shared config, so codex_app fails on every new Codex thread, and T3 shows the mcpServer/startupStatus/updated failure to the user.
The failure isn't fatal: the other MCP servers report ready and turns complete. But T3 can't use the codex_app tools at all. Even if the pipe were passed through, #27083 found that the Codex/ChatGPT app refuses sessions it didn't start. The error is noise for every T3 user who also has the Codex desktop app installed.
Possible fix: T3 adds -c [email protected]=false to the app-server args it spawns, or stops showing the startup failure for codex_app. Note that Codex's -c parser takes this key unquoted. The TOML-quoted form plugins."codex-app-tools@openai-bundled".enabled=false is silently ignored.
Steps to reproduce
- On Windows, install the Codex desktop app and run it once, so that
[plugins."codex-app-tools@openai-bundled"] enabled = truelands in~/.codex/config.toml. - Run the T3 Code desktop app with the default Codex provider (shared
CODEX_HOME). - Start a thread with any GPT model.
- The
codex_appstartup error appears.
Version
0.1.10-nightly.20261116.4787 (T3 desktop app, local server). The provider logs show the same error daily since at least 2026-11-02, on earlier nightlies.
Environment
- Windows 11 Pro 10.0.26200 x64
- Node v24.22.1
- codex-cli 0.169.0 (bundled with the Codex desktop app)
- Codex desktop app 26.1106.6628.0 (Microsoft Store)
Evidence
Provider event log (`logs/provider/events.<thread>.log`), 2026-11-16T18:22:13Z:
{"method":"mcpServer/startupStatus/updated","params":{"name":"codex_app","status":"failed","error":"MCP client for `codex_app` failed to start: MCP startup failed: Mcp error: -32603: Codex did not provide CODEX_APP_TOOLS_PIPE_PATH to the app tools MCP."}}
44 provider session logs between 2026-11-02 and 2026-11-16 contain this error.
`codex plugin list`:
- With no override: `codex-app-tools@openai-bundled installed, enabled`
- With `-c [email protected]=false`: `installed, disabled`Related issues
- Codex bundled skills (spreadsheet/artifact) broken: host never registers
codex_app.load_workspace_dependencies— dynamicTools patch included #8658 (closed, not planned): T3 doesn't hostcodex_apptools (load_workspace_dependencies). Same root cause: T3 can't servecodex_app. This issue is about the user-facing startup error, not about adding those tools. - [Bug]: On Linux, Codex sessions don't receive the ChatGPT app's browser-use channel, so Chrome browser use reports "The browser access host is unavailable" #27083 (closed): the browser-use pipe (
BROWSER_USE_ACCESS_PIPE_PATH/CODEX_APP_TOOLS_PIPE_PATH) on Linux. It shows that passing the pipe through isn't enough, because the app rejects sessions it didn't start.
Fix applied or workaround
Set T3 → Settings → Providers → Codex → Launch arguments to:
-c [email protected]=false
Then restart T3. Codex threads share one codex app-server, so the setting has no effect until that process restarts.
Confirmed working: after the restart, T3's app-server ran with the override, and a new GPT thread started codex_apps, cua_repl, node_repl and nuclino as ready, with no codex_app failure. The Codex desktop app is unaffected: it launches its own app-server with -c [email protected]_servers.codex_app.enabled=true.
Filed by
Claude Code (Claude Opus 5.5, claude-opus-5-5) via t3 triage
Activity