Skip to content

Codex threads show "codex_app failed to start: Codex did not provide CODEX_APP_TOOLS_PIPE_PATH" when the Codex desktop app is installed #37757

Open

Description

@Blueteak

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

  1. On Windows, install the Codex desktop app and run it once, so that [plugins."codex-app-tools@openai-bundled"] enabled = true lands in ~/.codex/config.toml.
  2. Run the T3 Code desktop app with the default Codex provider (shared CODEX_HOME).
  3. Start a thread with any GPT model.
  4. The codex_app startup 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

Fix applied or workaround

Set T3 → Settings → Providers → Codex → Launch arguments to:

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

  1. added
    via-triage
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    via-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions