Claude CUA MCP bridge
Drives the CUA-capable Codex/ChatGPT desktop app through a dedicated Codex app-server, using real host-created thread identifiers and the runtime's computer-use tools (js/js_reset and other locally captured tool schemas) without starting a Codex model turn; it also checks the public production appcast for new Codex releases and validates runtime tool schemas against a local snapshot.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
claude-cua-mcp
Use the Computer Use (CUA) runtime of the installed Codex desktop app from Claude Code. It is not an OpenAI or Anthropic product.
The runtime inside the desktop app is an ordinary MCP stdio server. This repository starts that same, unmodified server for Claude Code, with the launch settings the desktop app writes for itself:
Claude Code ── MCP (stdio) ── launch ── [cua-proxy, if installed] ── node_repl (inside ChatGPT.app / Codex.app)
└─ the app's own Computer Use serviceThere is no bridge process, no copy of the runtime and no saved schema: the settings are read from the desktop app's own plugin configuration at every start, so an app update needs nothing done here.
What you get
The tools the Codex app enables for itself:
js,js_reset,turn_ended.Approvals as in Codex. "Allow Computer Use to use …?" arrives as a standard MCP elicitation and is shown by Claude Code. Nothing is approved on your behalf.
The same limits. Apps the runtime refuses (terminals, the desktop app itself, …) stay refused; that decision is made by the vendor's service, which this does not touch.
Desktop apps only by default. The browser surfaces (the in-app browser, the Chrome plug-in) belong to the Codex app's own window and conversation.
CLAUDE_CUA_SURFACES=browser,computerpasses them through if you want to try.
With cua-context-profile installed, the launcher runs its proxy in front of the runtime: shorter reference text, a session identity for the runtime, and, with safari-window-mcp, a Safari window of the session's own. Both are optional.
Related MCP server: Codex-Control-MCP
What this depends on
The runtime in current desktop app builds (checked on 26.1103) controls apps only when the program that
starts it is signed by OpenAI; started from anything else it can list apps but fails to bind one ("Sky
Computer Use native pipe startup failed"). The launcher therefore starts it from the Node that ships inside the app. That is how it works today, not a
promise: if the vendor narrows this, this stops working and the remaining route is the app's documented codex app-server interface.
Install
Requires macOS, the Codex desktop app opened at least once with Computer Use enabled, and Claude Code.
sh install.sh # add the MCP server "codex-computer-use", a turn-end hook and one deny rule
sh install.sh install --replace # replace an existing server of the same name
sh install.sh uninstallThe installer uses claude mcp add for the server and edits ~/.claude/settings.json for two things only
(a backup is written to ~/.local/share/claude-cua/backup/ first):
Stop/StopFailurehooks that callturn_ended, so the runtime releases its on-screen cursor when a turn ends, as it does in Codex;a deny rule for
js_add_node_module_dir, a tool the Codex app never shows to a model.
Start a new Claude Code session afterwards.
When the desktop app is updated
The Codex app does not have to be running. The launcher starts a new runtime, and the runtime starts the Computer Use service itself (checked with 26.1111).
A session that was running before the update must reconnect. A runtime started before the app was updated can no longer reach the new version's service: app calls fail with "Sky Computer Use native pipe startup failed" (seen on the update from 26.1105 to 26.1111). Reconnect this server from
/mcpin Claude Code, or start a new session. With cua-context-profile installed, the error comes with a note saying so.Checking after an update.
sh check.shchecks, against the app on this Mac, that a new runtime starts and answers, that the tools are the ones the app enables for itself, that apps are listed without an error and, with cua-context-profile, that the filter loads, the shortened documentation is returned and the entry points are still in it.sh check.sh --recordkeeps the result inupstream/verified.json.GitHub Actions (
upstream.yml) records new public releases every six hours and opens a draft pull request for review. CI cannot run the macOS app, so compatibility is checked by runningcheck.shon a Mac.
Notes
One Claude Code session is one runtime session; its subagents share it.
Operating-system permissions belong to the app that runs Claude Code (for example the terminal).
CLAUDE_CUA_RUNTIME=/path/to/node_replselects a specific runtime;CODEX_APP=/path/to/App.appa specific desktop app.Whether a given use fits the terms of the software involved is for you to judge. This starts the vendor's server as shipped and leaves its approvals and restrictions in place.
Tests
npm test
python3 -m unittest discover -s tests # update watcherMIT licence.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Run Claude Code, Codex and opencode on your own machines, with policy checks and phone approvals.
Context, runtime and review for AI coding agents. One local install.
Connect AI assistants to your Mac and Linux computers with scoped access to local files and tools.
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceLets Codex delegate coding and repository work to an installed Claude Code CLI with permission-aware inspect/write access, model and effort selection, resumable and cloud-attached sessions, and durable synchronous or asynchronous jobs.MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables local/remote execution infrastructure through the official Codex Runtime, providing shell, files, Git, sessions, browser, computer use, recoverable tasks, multi-host routing, dynamic MCP integration, and skill lifecycle management.MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude Code and Codex sessions in the same project to discover each other, coordinate status and file ownership, exchange signed end-to-end encrypted messages, and delegate desktop-app tasks to Codex Computer Use.2MIT
- AlicenseNot gradedqualityCmaintenanceEnables Codex to launch and orchestrate local agent sessions, delegate tasks, return clickable live web links, and independently verify actual workspace changes.1MIT