Skip to content
MCP server

mac-control-mcp

Control a Mac with 153 native tools: accessibility, windows, input, screen and browsers

Runs locally

mac-control-mcp is an open-source MCP server for productivity. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
macOS, CLI
Runs
Locally
Version
0.10.3
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.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.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mac-control-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-control-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About mac-control-mcp

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.

Tools this server provides (9)

Taken from the project documentation; the running server may differ.

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_statusName suggests: reads
Shows which macOS permissions are missing.
get_ui_treeName 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_searchName suggests: reads
Searches Spotlight.
undo_last_action
Reverses the last action.

What it does

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

Pricing

Open source

Free, open source

mac-control-mcp 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.

How AIPoweredBot checks servers