← Back to directory
C

Codex Computer Use MCP

Community
Operate macOS apps and browsers through MCP
Category
Other #465 of 678
Stars
★ 105 Popular
Transport
stdio (local process)
Runtime
Node.js 22+
Credentials
API key / credential required
License
MIT
Last commit
Tools
3
47FMRS · D

This is an unofficial macOS Computer Use bridge that exposes JavaScript execution, runtime reset, and status tools over stdio. It suits users with the ChatGPT Computer Use component installed and configured who are comfortable writing the action scripts themselves. Its permissions and risks include macOS accessibility and screen recording controls, Full access, and no built-in action gate.

Strongest · Documentation 15/20 Weakest · Security and permissions 4/20

Reliability
9/20
Security and permissions
4/20
Maintenance
8/20
Documentation
15/20
Setup experience
11/20
Why each score
Reliability 9/20
The README describes stdio MCP tools, session cleanup, timeout handling, update checks, and diagnosable errors, and explains the tools' intended use. It provides no server manifest, CI workflows, or key path test evidence, so the init handshake and agreement between declared tools and actual behavior cannot be verified. This lowers the score; under the static calibration, it is at most 12.
Security and permissions 4/20
Red line: the README says the adapter adds no permission prompts, app allowlist, or action gate, and bypasses ChatGPT's browser access grant. Agent scripts can directly operate apps and browsers, so destructive actions may run without confirmation; the security score is therefore 4. The README also describes credential isolation, signature checks, and audit record boundaries, but these do not offset the permission risk.
Maintenance 8/20
The project has an MIT license and documents a version upgrade path; repository metadata says it is not archived. The prompt provides no evidence of release history, commit activity, issue response, dependency updates, or a security response channel. Stars and open issue counts do not add maintenance points.
Documentation 15/20
The README includes Pi and MCP installation and configuration examples, requirements, tool descriptions, path settings, troubleshooting, and several limitations. It also identifies the project as independent and dependent on an experimental API. No MCP manifest, verified parameter definitions, cost information, or test evidence is provided, and the README alone cannot establish that the described behavior is reproducible.
Setup experience 11/20
The README provides npm and Pi install commands and an MCP client configuration example. Setup requires an unlocked macOS session, a recent Node.js version, the official ChatGPT app, and its installed signed components; availability of the unified runtime also depends on account enablement. The prerequisites and configuration are involved, and there is no verifiable execution evidence.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the networkControls a browser

Best for

  • macOS users with the ChatGPT Computer Use runtime installed and configured.
  • Users who want to run explicitly written JavaScript automation through Pi or a compatible MCP client.

Not for

  • Environments without macOS or the official ChatGPT app and Computer Use component.
  • Workflows that need the server to plan actions or call a nested model.
  • Users who need browser control on accounts without the unified runtime.

Required permissions

  • macOS Screen Recording, Accessibility, and TCC controls still apply.
  • The runtime uses the account's real HOME to find the shared Computer Use service; the app-server uses an isolated, credential-free HOME.
  • The project adds no permission prompts, app allowlist, action gate, or content inspection.

Risks and side effects

  • The project depends on experimental APIs and ChatGPT components that may change with updates.
  • Operations use Codex Full access; the adapter does not inspect scripts or app content and provides no action gate.
  • The runtime may operate browsers and apps it can reach; browser use does not require ChatGPT's grant host.
  • Native cleanup may be unverified after a timeout or lost transport; an action may already have run, and calls are not automatically replayed.
  • Audit records contain bounded metadata but exclude code, arguments, app content, screenshots, prompts, and credentials.

Setup

Before you start

Runtime:Node.js 22+

Other optional settings (1)
CODEX_COMPUTER_USE_HOME optional Optional: sets the state directory; MCP/CLI defaults to `~/.direct-computer-use`.

Requires an unlocked macOS user session, Node.js 22 or newer, the official ChatGPT macOS app, and its Computer Use component; open ChatGPT before first use. Start the MCP stdio server with command npx and args ["codex-computer-use-mcp"]. Pi 0.99.0 or newer can use the package's Pi integration installed from npm.

MCP config · JSON
{
  "mcpServers": {
    "computer-use": {
      "command": "npx",
      "args": ["codex-computer-use-mcp"],
      "lifecycle": "lazy",
      "requestTimeoutMs": 180000,
      "directTools": false
    }
  }
}

Works in clients that read an "mcpServers" key. For clients such as VS Code that use a different key, the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "computer-use": {
      "command": "npx",
      "args": [
        "codex-computer-use-mcp"
      ],
      "lifecycle": "lazy",
      "requestTimeoutMs": 180000,
      "directTools": false
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.computer-use]
command = "npx"
args = ["codex-computer-use-mcp"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add computer-use -- npx codex-computer-use-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

After starting the MCP server, confirm the client lists `js`, `js_reset`, and `computer_use_status`. Call `computer_use_status` to inspect component and transport status.

Troubleshooting

  1. Use /computer-use-status or codex-computer-use-mcp --status to check components, effective configuration paths, and transport status.
  2. If components are missing, install or update the official ChatGPT macOS app, open it, and install the Computer Use component.
  3. If ChatGPT has not prepared the runtime after an update, open ChatGPT, wait for it to start, and retry; if needed, run /reload in Pi or restart the MCP server.
  4. For signature verification failures, check whether the ChatGPT installation is damaged or updating; for a codesign timeout, wait and retry.
  5. If verified executables or settings changed on disk, the call fails before dispatch; after the update finishes, retry with fresh JavaScript bindings.

Things to try

Once connected, you can ask your AI assistant things like:

  • Type “hello” in TextEdit and read its current accessibility state.
  • List the browser tabs and read the current tab’s content.

Tools 3

js writes
Runs scripts in a persistent official Computer Use JavaScript runtime, with access to apps and browser tabs through the cua object.
js_reset destructive
Resets the Computer Use JavaScript runtime and discards its bindings.
computer_use_status read-only
Checks installed components, configuration, and transport status.

Use cases

Operate macOS app accessibility interfaces with JavaScript.
List, open, read, and operate browser tabs.
Check Computer Use components and server transport status.

Supported clients

Pi

Listed from the project's documentation, not tested by this site.

Overview

Codex Computer Use MCP is an independent macOS MCP server that connects to the official signed Computer Use runtime bundled with ChatGPT. It lets calling agents write JavaScript to operate Mac apps and browsers. It runs no nested model and generates no action plan. The project is not produced or endorsed by OpenAI and relies on an experimental app-server API and installed ChatGPT components that may change.

Similar servers

Source revision 2cebc339fec4 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/codex-computer-use-mcp.svg)](https://followmcp.com/en/servers/codex-computer-use-mcp)