# Computer use MCP server for the Mac: let any agent use your apps

> What a computer use MCP server does, free and paid Mac servers compared, how to add one to opencode or Gemini CLI, and where Claude's and Codex's built-in options stop.

Updated 2026-12-05 · https://tandemclick.com/guides/computer-use-mcp-server-mac/

> **Short answer:** A computer use MCP server is a program on your Mac that gives an AI agent tools to see and operate apps: read a window as a screenshot plus its accessibility elements, then click, type, scroll and choose menu items. Because it speaks MCP, it works in any client that supports MCP, such as Claude Code, Codex CLI, Cursor, VS Code or opencode. The built-in computer use of Claude and Codex is tied to their own apps and plans. TandemClick is a computer use MCP server that gives every agent its own cursor, keyboard and clipboard in background windows, with several agents at once.

## What a computer use MCP server does

MCP (Model Context Protocol) is the open standard AI clients use to call outside tools. A computer use MCP server exposes the graphical interface of your Mac as such tools. The model decides what to do; the server carries it out and reports what happened.

A typical round looks like this:

1. The agent asks for the state of a window (`get_app_state`). It gets a screenshot and a list of accessibility elements: buttons, text fields, checkboxes and menus, each with its label and an index.
2. The model picks an element and calls an action such as `click`, `type_text`, `set_value` or `select_menu_item`.
3. The server performs the action and returns the window's new state, and the loop continues until the task is done.

Both halves of that state matter. The screenshot shows what a person would see, including canvases, images and apps that expose little to accessibility. The accessibility elements give exact targets with names, so the model can click "Save" by its index instead of guessing pixel coordinates. A good server returns both with every step.

## The tools you can expect

Tool names differ between servers, but the set is similar. TandemClick offers these:

| Tool | What it does |
| --- | --- |
| `list_apps`, `launch_app` | See running apps and their windows, start an app or open a file |
| `get_app_state` | Screenshot and accessibility elements of one window |
| `click`, `hover`, `drag`, `scroll` | Pointer actions, by element index or by position in the screenshot |
| `type_text`, `press_key` | Typing and keyboard shortcuts into that window |
| `set_value`, `select_text` | Fill a field, move a slider, pick a dropdown entry, select text |
| `select_menu_item`, `perform_secondary_action` | Choose from the app's menus, trigger an element's other actions |
| `paste` | Insert text through the agent's own clipboard |

## Where computer use fits next to other tools

Computer use is the broadest way for an agent to reach an app, and the slowest. Claude Code's documentation describes the order it follows: an MCP server for the service if you have one, the shell for commands, Claude in Chrome for browser work, and only then computer use ([source](https://code.claude.com/docs/en/computer-use)). Browser automation such as Playwright only reaches web pages. A computer use server covers what is left: native Mac apps, file dialogs, simulators, desktop software without an API, and websites that should see a real browser window.

## What to check before you pick one

Most computer use MCP servers can click and type. The differences that decide whether you can use one every day are these:

| Question | Why it matters |
| --- | --- |
| Does it work in the background? | Servers that drive the real pointer (for example through PyAutoGUI or cliclick) move the one cursor your Mac has and bring windows to the front. While they run, the screen belongs to the agent. |
| Can several agents use it at once? | With one shared pointer, two agents interrupt each other. Parallel agents need a cursor and keyboard each. |
| What happens to the clipboard? | If copy and paste go through the system clipboard, an agent's copy replaces whatever was there, and two agents overwrite each other. |
| Does input reach only the target window? | Keys sent to "whatever has focus" can land in the wrong app. |
| What do screenshots contain? | A capture of the whole screen shows the model everything on it. A capture of one window shows only that window. |
| Does input look human? | Hover menus, sliders and date pickers react to pointer movement and typing rhythm, not to a pointer that jumps. |
| How hard is setup? | Every tool on a Mac needs Accessibility and Screen Recording. Beyond that, some need configuration files, a Python environment or a build. |

## The servers to choose from

Each entry below was checked against its own README, documentation or website on 2026-10-20; where a project does not document something, the table says so. "Background" means the project says input reaches the target app without moving the pointer or bringing the app to the front. No server guarantees that for every app, so test with the apps you use.

| Server | Background or foreground | Several agents | Clipboard | License and price |
| --- | --- | --- | --- | --- |
| TandemClick | Background, also in covered windows | Several, each with its own cursor, keyboard and clipboard | A private clipboard per agent | Commercial: 7-day trial, then $12.99 per month or $69.99 per year |
| [Cua Driver](https://github.com/trycua/cua) | Background by default where app and platform support it; also Windows and Linux | Several sessions with a cursor overlay each, sharing one keyboard and focus | Reads and replaces the system clipboard | MIT, free |
| [Peekaboo](https://github.com/openclaw/Peekaboo) | Background for targeted input; some actions need foreground consent | Not documented | Reads and writes the system clipboard | MIT, free |
| [Macuse](https://macuse.app/) | Background, according to its website; direct Calendar, Mail, Notes and Reminders integrations | Free plan: one client | Not documented | 100 tool calls per day free, Lifetime $49 for three devices |
| [computer-use-mcp](https://github.com/minghinmatthewlam/computer-use-mcp) | Background by default; real pointer only as an opt-in fallback | Several sessions through one daemon with per-app leases | Not documented | MIT, free, pre-1.0 |
| [macOS-MCP](https://github.com/CursorTouch/MacOS-MCP) (CursorTouch) | Not documented; clicks at coordinates, types at the cursor; includes a shell tool | Not documented | No clipboard tool | MIT, free |
| [mcp-server-macos-use](https://github.com/mediar-ai/mcp-server-macos-use) (Mediar) | Not documented; opening an app activates it | Not documented | No clipboard tool | Business Source License 1.1 |
| [computer-control-mcp](https://github.com/AB498/computer-control-mcp) | Foreground: PyAutoGUI moves the real mouse | One shared pointer | No clipboard tool | MIT, free |

A few details the table cannot hold. Cua Driver's documentation says it "does not raise the window, move the real pointer, or switch the frontmost app", but "all sessions still share one screen, keyboard, and focus" ([source](https://cua.ai/docs/cua-driver/concepts/how-cua-driver-works)); details in [Cua Driver vs TandemClick](https://tandemclick.com/guides/cua-driver-vs-tandemclick/). Peekaboo needs explicit foreground consent for key chords without an exact window, drags across windows and human-style movement ([automation guide](https://github.com/openclaw/Peekaboo/blob/main/docs/automation.md)); see [Peekaboo vs TandemClick](https://tandemclick.com/guides/peekaboo-vs-tandemclick/). Macuse's [README](https://github.com/macuse-app/macuse-mcp) notes that write operations fail in Codex, which declines consent prompts from third-party MCP servers. computer-use-mcp lists apps that need real keyboard focus and menu shortcuts as unreliable in the background.

Which one fits:

- **Free, open source, comfortable with a terminal:** Cua Driver if you also need Windows, Linux or VMs; Peekaboo for a Mac CLI you can also script without an AI client.
- **Mostly Calendar, Mail, Notes and Reminders:** Macuse's direct integrations skip the clicking.
- **The agent may have the Mac to itself:** a PyAutoGUI server is enough.
- **Claude Code on Pro, Max or Ultra, one session at a time:** the built-in `computer-use` server may be all you need.
- **Several agents at once, each with its own cursor, keyboard and clipboard:** TandemClick.

## The built-in options and their limits

Claude and Codex ship computer use of their own. Claude Code's version is itself a built-in MCP server called `computer-use`. As documented in December 2026:

| Option | Where you can use it | While it works | Agents at once | Plan |
| --- | --- | --- | --- | --- |
| Claude Code CLI (`computer-use`) | Claude Code in the terminal, macOS | Hides your other visible apps until the turn ends | One session holds a lock | Pro, Max or Ultra, Team and Enterprise in public beta, not Bedrock, Vertex or Foundry, not in `claude -p` |
| Claude Desktop and Cowork | The Claude desktop app, macOS and Windows | Background mode on macOS | Not documented | Pro, Max or Ultra; Team and Enterprise in beta once an Owner turns it on |
| Codex in the ChatGPT desktop app | The ChatGPT desktop app | Background on macOS, foreground on Windows | Not documented | Supported regions, no plan named |
| Open-source MCP servers | Any MCP client | Many drive the real pointer, a few work in the background | Check each | Open source |

Some details matter in practice. In Claude Code (the CLI and Claude Desktop's Code tab), browsers are view-only and terminals and IDEs are click-only. Codex computer use cannot automate terminal apps. Sources: [Claude Code computer use](https://code.claude.com/docs/en/computer-use), [Claude Desktop](https://code.claude.com/docs/en/desktop), [ChatGPT computer use](https://learn.chatgpt.com/docs/computer-use).

If you work in one of these apps, on a plan that includes it, with one agent at a time, the built-in option may be enough. A separate MCP server is worth it when you want computer use in the client you already use (Codex CLI, Cursor, VS Code, opencode, Gemini CLI), in Claude Code with an API key, Bedrock, Vertex or Foundry, where Claude Code has no computer use, in Team and Enterprise organizations that keep it off ([details](https://tandemclick.com/guides/claude-computer-use-team-enterprise-api/)), in the Claude Code CLI on Windows or Linux, or for several agents at once. For a broader look at foreground and background operation, see [background computer use on the Mac](https://tandemclick.com/guides/background-computer-use-mac/).

## TandemClick: a computer use MCP server for background work

TandemClick is a Mac app and MCP server. When an MCP client connects, its agent gets a full set of its own:

- **Its own cursor**, drawn on screen in the agent's color with a name tag.
- **Its own keyboard.** Keys arrive only in the agent's window, in one app.
- **Its own clipboard.** Copy and paste never touch your clipboard or another agent's.
- **Its own windows.** The agent works in background windows, even when yours cover them, and screenshots capture only the window it works in.

Several agents can work at the same time, each with its own cursor. Every action returns the window's new state, so the model sees the result of each step without asking again. Input moves like a person: curved pointer paths with natural speed, a slight overshoot and correction, and typing at about 200 words per minute with a human rhythm. Hover menus in Safari, sliders, signature fields and date pickers react as they do to a person, and an agent can sign a PDF in Preview with a real pen stroke.

TandemClick runs locally and needs macOS 15 Sequoia or later.


## Setup without configuration files

1. Open TandemClick and allow Accessibility and Screen Recording when your Mac asks.
2. Connect your client. The app finds Claude, Codex, Cursor and VS Code on your Mac and connects them with one click. Other clients that speak MCP can use TandemClick as well.
3. Ask for a task that needs an app, for example: "Open the exported CSV in Numbers and add a total row."

## Clients without built-in computer use: opencode, Gemini CLI, Zed, Copilot CLI

These clients ship no tool for desktop apps, but all of them run local MCP servers, which is all a computer use server needs. As documented in October 2026:

| Client | Built in | Where MCP servers go | Approval of MCP tool calls |
| --- | --- | --- | --- |
| opencode | Files, shell, LSP, web fetch and search; no GUI tools | `mcp` in `opencode.json` | Rules per tool (allow, ask, deny), most default to allow |
| Gemini CLI | A browser agent for Chrome, off by default | `gemini mcp add`, stored in `settings.json` | Confirmation unless the server is marked trusted (`--trust`) |
| Zed | Nothing documented for desktop apps | Settings > AI > MCP Servers | Asks before every tool action by default |
| GitHub Copilot CLI | Nothing documented for desktop apps | `/mcp add` | Not described on its MCP page |

Sources: [opencode tools](https://opencode.ai/docs/tools/), [opencode MCP servers](https://opencode.ai/docs/mcp-servers/), [Gemini CLI MCP servers](https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md), [Zed MCP](https://zed.dev/docs/ai/mcp), [Copilot CLI MCP servers](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers).

What to check in these clients:

- **Images.** The agent reads screenshots, so pick a model with image input. Gemini CLI documents that MCP tools can return images and passes them to the model; opencode's and Zed's MCP pages do not say, so test one screenshot first.
- **Context cost.** opencode warns that every MCP server adds to the context; TandemClick adds 14 tools, so keep unrelated large servers off. Its startup timeout is 5 seconds by default.
- **Approvals.** Asking before every click is safe but slow; trusting a server (Gemini CLI `--trust`, `opencode --auto`) means the agent acts unchecked. Start with confirmations on.

TandemClick finds Claude, Codex, Cursor and VS Code by itself. For opencode, Gemini CLI, Zed and the Copilot CLI, open **Set up manually** in its setup, add the command it shows as a local (stdio) MCP server in the client, start a new session and check that the tools are listed. Each of these clients then gets its own cursor, so opencode and Claude Code can work in different apps side by side.

## Limits to know

- Minimized and hidden windows cannot be seen or operated. Covered windows can.
- System drag and drop of files, tabs or text follows the real mouse, so TandemClick cancels such drags instead of dropping.
- Hover without a pressed button works in Safari, not in Chrome or Electron apps.
- An agent cannot use a background tab of your browser window; it opens its own window.
- LibreOffice ignores posted clicks; its menus and keyboard work.
- Code editors such as VS Code do not expose their text through accessibility, so agents read them from the screenshot.

## FAQ

### What is the best free MCP server for macOS?

For GUI automation, Cua Driver and Peekaboo are the strongest free options: both are MIT licensed, document background input for many apps and connect to Claude Code, Codex and Cursor. Cua Driver also runs on Windows and Linux; Peekaboo adds a scriptable CLI. Servers built on PyAutoGUI drive the real pointer.

### Does opencode or Gemini CLI have computer use?

Neither has a tool for desktop apps. Gemini CLI has a browser agent for Chrome, off by default. Both run local MCP servers, so a computer use MCP server adds tools to operate Mac apps.

### Is a computer use MCP server the same as a browser automation MCP server?

No. Browser automation servers, for example ones built on Playwright, control a browser through its developer interface and only reach web pages. A computer use server operates apps through their buttons, fields and menus, so it also works in native Mac apps, file dialogs and desktop software.

### Do I need one if Claude Code already has computer use?

Not always. The built-in `computer-use` server works in Claude Code on a Pro, Max or Ultra plan (Team and Enterprise in public beta), hides your other apps while Claude works and allows one session at a time. You need a separate server for Codex CLI, Cursor or VS Code, for Claude Code with an API key or Bedrock, on Windows or Linux, or for several agents at once.

### Which clients can use a computer use MCP server?

Any client that supports MCP servers, including Claude Code, Codex CLI, Cursor, VS Code, opencode, Gemini CLI, Zed and the GitHub Copilot CLI. TandemClick connects Claude, Codex, Cursor and VS Code with one click. Claude and ChatGPT in the browser cannot start a server on your Mac; they reach TandemClick through a custom connector, described in [Can ChatGPT or Claude control your computer?](https://tandemclick.com/guides/chatgpt-claude-control-your-mac/)

### Do screenshots leave my Mac?

The server runs locally, but the model has to see the window to work in it, so screenshots go to the model your client uses, as with any computer use. With TandemClick, those screenshots contain only the window the agent works in.

### What does TandemClick cost?

A 7-day free trial without a card, then $12.99 per month or $69.99 per year, taxes included, with unlimited agents on up to three devices.
