# Codex Computer Use MCP

> Operate macOS apps and browsers through MCP

- **URL**: https://followmcp.com/en/servers/codex-computer-use-mcp
- **Category**: Other
- **Origin**: Community
- **Stars**: 105
- **FMRS Score**: 47/100 (Grade D)
- **Source**: https://github.com/tmustier/codex-computer-use-mcp
- **Transports**: stdio (local process)
- **Runtimes**: Node.js 22+
- **Auth**: API key / credential required

## 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.

## 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
- 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.

## Client config (JSON)
```json
{
  "mcpServers": {
    "computer-use": {
      "command": "npx",
      "args": ["codex-computer-use-mcp"],
      "lifecycle": "lazy",
      "requestTimeoutMs": 180000,
      "directTools": false
    }
  }
}
```

## Tools (3)
- `js`: Runs scripts in a persistent official Computer Use JavaScript runtime, with access to apps and browser tabs through the cua object.
- `js_reset`: Resets the Computer Use JavaScript runtime and discards its bindings.
- `computer_use_status`: Checks installed components, configuration, and transport status.
