# mac-control-mcp

> mac-control-mcp is an open-source MCP server for productivity. Control a Mac with 153 native tools: accessibility, windows, input, screen and browsers. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** macOS, CLI
- **Repository:** https://github.com/adelelo13/mac-control-mcp
- **MCP Registry name:** io.github.AdelElo13/mac-control-mcp
- **Categories:** [productivity](https://ai-powered.com/categories/productivity), [browser automation](https://ai-powered.com/categories/browser-automation)
- **Listing updated:** 2026-11-23

## About

Written in Swift and shipped as a signed, notarized app bundle, this server lets an assistant operate macOS directly. Its tools cover the accessibility tree of any running app, clicking and typing, window moves and resizing, screenshots and OCR, Safari and Chrome tabs and JavaScript, the clipboard, Spotlight search, menus and file dialogs.

It also reaches Apple apps for mail, iMessage, Calendar, Reminders and Contacts, offers speech to text and text to speech, screen recording, and undo for its own actions. A permissions_status tool shows which macOS consents (Screen Recording, Accessibility, Apple Events) are missing and which host app needs them.

Requires macOS 14 or later. Install is a one-click bundle for Claude Desktop, npx, a prebuilt app download or a build from source with Swift 6.

## Features

- **Accessibility control:** Read and change the UI tree of any app.
- **Input and windows:** Click, type, drag and manage windows.
- **Screen capture and OCR:** Capture a screen, display or window and read its text.
- **Browser driving:** Control Safari and Chrome tabs, navigation and JavaScript.
- **Apple app actions:** Mail, iMessage, Calendar, Reminders and Contacts.
- **Undo:** Reverse the last action it took.

## Good for

- Automate repetitive desktop tasks across apps
- Capture and read text from a window
- Create calendar events or reminders from chat
- Drive a browser tab without a separate automation stack

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mac-control-mcp -- npx -y mac-control-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mac-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-control-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mac-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-control-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mac-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-control-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mac-control-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mac-control-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mac-control-mcp -- npx -y mac-control-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mac-control-mcp]
command = "npx"
args = ["-y", "mac-control-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mac-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-control-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user mac-control-mcp npx -- -y mac-control-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mac-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-control-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mac-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-control-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mac-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-control-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mac-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-control-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mac-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-control-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mac-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-control-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mac-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-control-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mac-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-control-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 3 of 9 tools read data; 6 names don't say. From the server's own tool labels and tool names; not verified by us.

- `permissions_status` (name suggests: reads): Shows which macOS permissions are missing.
- `get_ui_tree` (name suggests: reads): Returns an app's accessibility tree.
- `click`: Clicks at a point or element.
- `type_text`: Types text.
- `capture_screen`: Captures the screen.
- `ocr_screen`: Reads text on screen.
- `browser_navigate`: Navigates a browser tab.
- `spotlight_search` (name suggests: reads): Searches Spotlight.
- `undo_last_action`: Reverses the last action.

## FAQ

### What does mac-control-mcp need?

macOS 14.0 or later, plus macOS permission grants for Screen Recording, Accessibility and Apple Events.

### How do I install mac-control-mcp?

Double-click the .mcpb for Claude Desktop, or use npx -y mac-control-mcp.

### Is mac-control-mcp signed?

The README says the bundle is Developer ID signed and notarized.

### Where is the full list?

In docs/TOOLS.md in the repository.

### Is mac-control-mcp free?

Yes. mac-control-mcp is open source, so you can use and self-host it for free.

### How do I add mac-control-mcp to Claude Code?

Run this command in your terminal: claude mcp add mac-control-mcp -- npx -y mac-control-mcp

### What are the best alternatives to mac-control-mcp?

The closest alternatives to mac-control-mcp are Browser Use, Scrapling MCP Server, Chrome DevTools MCP, Ha MCP and Concord MCP.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Browser Use](https://ai-powered.com/mcp/browser-use): Browser Use is a freemium MCP server for browser automation.
- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [playwright_mcp](https://ai-powered.com/mcp/playwright-mcp-3): playwright_mcp is an open-source MCP server for browser automation.
- [Oya Browser](https://ai-powered.com/mcp/oya-browser): Oya Browser is a freemium MCP server for browser automation.
- [browsentic](https://ai-powered.com/mcp/browsentic-2): browsentic is an open-source MCP server for browser automation.

---
Source: https://ai-powered.com/mcp/mac-control-mcp
