Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.915.31945 (bundled codex 0.155.0-alpha.9.2, codex-app-tools plugin 0.1.4). Managed standalone daemon: 0.156.0.
What subscription do you have?
Plus
What platform is your computer?
Darwin 25.6.0 arm64 arm
What issue are you seeing?
I point Codex Desktop at the managed App Server daemon so that Desktop and a second local client share one process and one set of thread-writer locks (the topology in #31991). This part works. The desktop app tools do not: the bundled codex_app MCP server fails in every Desktop thread, so create_thread, fork_thread, handoff_thread, send_message_to_thread, automation_update and the other tools from that server are unavailable.
First failure:
MCP client for `codex_app` failed to start: MCP startup failed: Mcp error: -32000: Codex did not provide CODEX_APP_TOOLS_PIPE_PATH to the app tools MCP.
Desktop does open its native pipe; its main-process log shows dynamic_app_tools_listening pipePath=/tmp/codex-browser-use/<uuid>.sock. The path never reaches the daemon, though. Desktop only puts it in its own process.env, so only an app-server that Desktop spawns inherits it, and the plugin's .mcp.json forwards it from the app-server's environment via env_vars.
Once the daemon does get the path (see below), the pipe rejects the MCP server:
MCP client for `codex_app` failed to start: MCP startup failed: Mcp error: -32603: Codex app tools pipe closed
[dynamic-app-tools-native-pipe] dynamic_app_tools_peer_rejected reason=missing-code-signing-identity
The pipe appears to require the peer, its parent and its grandparent to be signed by team 2DC432GLL2:
- Under Desktop's own app-server the chain is
node <- codex <- ChatGPT. - The daemon is re-parented to launchd, so the chain becomes
node <- codex (daemon) <- launchdand is rejected. It only passes when the daemon's updater (pid-update-loop) happens to be the parent, which is the case after a self-update. - The launcher script can also fall back to
~/.cache/codex-runtimes/.../node. That binary is signed by a different team and is rejected as well.
Before linking, the same Desktop reported codex_app status=ready for every thread. After linking, every thread reports status=failed.
What steps can reproduce the bug?
- Start the managed daemon:
codex app-server daemon start(standalone0.156.0). - Make the daemon's unix socket (
~/.codex/app-server-control/app-server-control.sock) reachable asws://127.0.0.1:7355. I use a byte-for-byte TCP-to-unix relay, since the socket already speaks WebSocket. launchctl setenv CODEX_APP_SERVER_WS_URL ws://127.0.0.1:7355, then fully quit and reopen ChatGPT Desktop.- Desktop now logs
transport=websocketandcurrentVersion=0.156.0. It spawns no private app-server, andlsofshows every~/.codex/thread-writer-locks/*.lockheld by the daemon. - Open any thread. The Desktop log shows
mcp_server_startup_status_updated server=codex_app status=failedwith the first error above.
Note: CODEX_APP_SERVER_USE_LOCAL_DAEMON=1 cannot be used for this, because that branch is unreachable (#41014, #41112). CODEX_APP_SERVER_WS_URL is the only way I found to get Desktop onto the shared daemon. The daemon must also be at least 0.156.0: older standalone builds lack workspaceRouting in account/read (#45529), and Desktop then loses sign-in and dictation.
What is the expected behavior?
When Desktop is attached to an app-server it did not spawn, its app tools should still work, or Desktop should report clearly that they are unavailable. Some options:
- Desktop passes the pipe path, and any other
codex_appsettings, to the app-server over the connection. This could be a per-connection or per-thread config overlay (also proposed in [macOS][regression]codex_appMCP override makesCODEX_APP_SERVER_USE_LOCAL_DAEMON=1unreachable #41014), rather than relying on the app-server inheriting Desktop's environment. - The pipe's peer check accepts a chain rooted in the managed daemon, for example an OpenAI-signed codex daemon whose parent is launchd.
Additional information
Findings, in case they help:
plugins."codex-app-tools@openai-bundled".mcp_servers.codex_app.envis not applied as an override. A top-levelmcp_servers.codex_appdefinition with an explicitenvis applied and takes precedence over the plugin's server, but it affects every codex that readsconfig.toml.codex app-server daemon stopleaves the updater running. The updater respawns the app-server with its own environment after a self-update, so any variable given todaemon startis lost unless the updater is replaced too.
Current workaround (works, but depends on internals):
- Start the daemon with
CODEX_APP_TOOLS_PIPE_PATHset to a fixed symlink. A local process keeps the symlink pointed at Desktop's current/tmp/codex-browser-use/<uuid>.sock, which it reads from the Desktop log. - Set
CODEX_MCP_NODE_PATHto a shim that runsserver.mjsas a child of Desktop's bundledContents/Resources/cua_node/bin/node. The chain becomesnode <- node <- codex, all three OpenAI-signed.
With both in place, codex_app reports ready and exposes all 44 tools in Desktop threads on the shared daemon.
Related: #41014, #41112, #31991, #40819 (the same codex_app assumption breaking a CODEX_APP_SERVER_WS_URL setup on Windows), #26907.
Activity
uncfreak1255-code commentedon Nov 3, 2026
Still reproducible on macOS arm64 with ChatGPT Desktop 26.1027.61615 and managed Codex/App Server 0.166.0. Adding current confirmation to this issue rather than opening a duplicate.
Desktop is attached to the existing managed daemon through its local Unix WebSocket control socket. Ordinary native CLI queue/resume and background continuation work. The desktop app-tools connector does not start, and the native desktop tool group, including automation_update, is absent.
Observed failures:
No app bundle, signing identity, permissions or process-trust checks were modified. No Node ancestry shim, socket-symlink watcher or TCP relay was installed. No credentials, personal paths, thread identifiers or raw logs are included here.
Is there a supported daemon-compatible connector path or a planned fix for per-connection native MCP environment handoff and authentication? The required behavior is to retain both managed-daemon continuation after Desktop quits and the native app tools while Desktop is running, with the existing process-trust checks preserved.