← Back to directory
M

macOS-MCP

Community
Automate macOS desktop tasks through the Accessibility API.
Category
Other #386 of 678
Stars
★ 259 Very popular
Transport
stdio (local process)
Runtime
Python 3.11+
Credentials
Optional API key
License
MIT
Last commit
Tools
12
50FMRS · D

The source describes a desktop automation MCP server that uses the macOS Accessibility API and lists tools for UI interaction. It requires Accessibility permission, with Screen Recording permission needed for screenshots; Shell can execute commands with the current user's privileges. Use it only in a trusted, isolated environment, and note the project's stated anonymous telemetry.

Strongest · Documentation 14/20 Weakest · Reliability 7/20

Reliability
7/20
Security and permissions
8/20
Maintenance
8/20
Documentation
14/20
Setup experience
13/20
Why each score
Reliability 7/20
The README describes a stdio launch path, tool categories, and several limitations, giving some basis for a plausible happy path. This review has only the README and manifest, with no CI, committed tests, or verifiable MCP initialization and tool-list handshake evidence; tool behavior and error handling are therefore unverified and reduce the score.
Security and permissions 8/20
The documentation discloses Accessibility permissions, Shell execution with full user privileges, and the risk of irreversible actions. It also describes HTTP authentication, IP allowlisting, TLS, OAuth, and SSRF restrictions for Scrape. The score is reduced because the server can run Shell commands and perform real system operations; reviewing AI plans is recommended, but a per-call confirmation mechanism or fine-grained permission boundary is not shown. The manifest also defaults the permission-check bypass variable to 1.
Maintenance 8/20
The manifest specifies version 0.4.7 and an MIT license, and the README points to issue and security reporting channels. The supplied metadata lists 255 stars, 2 open issues, and an unarchived repository. There is no verifiable evidence here of commit history, release cadence, issue response, dependency updates, or security-response practice, so the maintenance score remains limited.
Documentation 14/20
The README covers prerequisites, several client configurations, transports, permissions, a tool overview, security options, telemetry, and limitations, with configuration examples. The score is reduced because tool parameters and error behavior are only lightly documented, troubleshooting and dependency update guidance are incomplete, and the capability claims cannot be checked against implementation files in this review.
Setup experience 13/20
The README provides Python 3.11+ and macOS 12+ prerequisites, a uvx launch command, stdio configurations for Claude Desktop and Gemini CLI, and steps for granting macOS permissions. The score is reduced because setup requires a runtime and manual privacy-permission work, and there is no committed CI or test evidence verifying that installation and client connection are reproducible.

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

  • Individuals or teams that need to automate the macOS desktop UI.
  • Users who can grant Accessibility and Screen Recording permissions in a trusted, isolated environment.

Not for

  • Systems containing irreplaceable data.
  • Production or shared systems, or environments governed by requirements such as HIPAA or PCI.
  • Workflows that require interacting with system authentication dialogs or rely on apps with limited Accessibility support.

Required permissions

  • UI interaction requires macOS Accessibility permission.
  • Snapshot screenshots require Screen Recording permission; the source says to grant permissions to the relevant terminal, Python, or UV process running the server.
  • Setting `MACOS_MCP_SKIP_PERMISSION_CHECK=1` downgrades a failed permission check to a warning; it does not grant system permissions.

Risks and side effects

  • The server can perform real system operations through Accessibility; Shell commands run with the current user's privileges, and actions may be irreversible.
  • Network transports can be configured with authentication and an IP allowlist; a publicly bound server without access controls may allow unauthorized connections.
  • The project says it collects anonymous usage data and does not collect personal information, tool arguments, or outputs; set `ANONYMIZED_TELEMETRY` to `false` to disable it.

Setup

Before you start

Runtime:Python 3.11+

MACOS_MCP_AUTH_KEY optionalsecret Bearer token for HTTP requests; set your own value or configure it with --auth-key.
Other optional settings (5)
MACOS_MCP_SKIP_PERMISSION_CHECK optional Set to 1 to downgrade a failed Accessibility or Screen Recording permission check to a warning; useful when an MCP host launches the server as a subprocess.
ANONYMIZED_TELEMETRY optional Controls anonymous usage telemetry; set to false to disable it. No credential is needed.
MACOS_MCP_IP_ALLOWLIST optional Allowed client IPs or CIDR ranges; provide the list yourself or configure it with --ip-allowlist.
MACOS_MCP_SSL_CERTFILE optional Path to the TLS certificate file; provide it together with the private key path.
MACOS_MCP_SSL_KEYFILE optional Path to the TLS private key file; provide it together with the certificate path.

Install Python 3.11 or later and UV, then run uvx macos-mcp serve on macOS 12 or later. The source's Claude Desktop stdio configuration is {"mcpServers":{"macos-mcp":{"command":"uvx","args":["macos-mcp","serve"]}}}. The server needs Accessibility permission; screenshots also need Screen Recording permission. After starting the server, grant permissions when prompted and restart the terminal or server.

claude_desktop_config.json
{"mcpServers":{"macos-mcp":{"command":"uvx","args":["macos-mcp","serve"]}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "macos-mcp": {
      "command": "uvx",
      "args": [
        "macos-mcp",
        "serve"
      ]
    }
  }
}

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

~/.codex/config.toml
[mcp_servers.macos-mcp]
command = "uvx"
args = ["macos-mcp", "serve"]

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

Terminal
claude mcp add macos-mcp -- uvx macos-mcp serve

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

Check that it works

Confirm the macOS-MCP tools appear in your MCP client's tool list. Call Snapshot to inspect the current desktop and confirm the connection and required permissions work.

Troubleshooting

  1. Check Accessibility and Screen Recording permissions in System Settings, then restart the terminal or server after granting them.
  2. If a UV-managed Python interpreter cannot be added in the permissions picker, start the server to trigger macOS's native consent prompt, approve it, and restart the server.
  3. If a subprocess launch causes a spurious permission-check failure, set `MACOS_MCP_SKIP_PERMISSION_CHECK=1`; actual calls still need the required permissions.
  4. If Snapshot fails, confirm that both Accessibility and Screen Recording permissions are granted.
  5. Some apps have limited Accessibility support; complex UI traversal may be slower, and specialized input fields may not accept keystrokes.

Things to try

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

  • Open Safari and navigate to Apple's website.
  • Take a snapshot of the desktop and tell me which interactive elements are visible.
  • Type “meeting agenda” in the current app, then wait for the interface to update.

Tools 12

Click writes
Click, right-click, or double-click at specified coordinates.
Type writes
Enter text at the cursor, optionally clearing existing text.
Scroll writes
Scroll vertically or horizontally in a focused window or specified region.
Move writes
Move the pointer or drag to specified coordinates.
Shortcut writes
Press keyboard shortcuts.
App writes
Launch and switch applications, and manage windows.
Desktop writes
Create a Mission Control virtual desktop through Accessibility and verify the desktop count changed.
Shell destructive
Execute commands or AppleScript.
Show 4 more tools
Scrape read-only
Extract webpage content and convert it to Markdown.
Wait read-only
Pause for a specified duration.
Snapshot read-only
Read desktop state and capture a screenshot; screenshots require Screen Recording permission.
Notification writes
The source lists this tool name but does not describe its purpose.

Use cases

Automate macOS applications, windows, and UI interactions.
Read desktop UI state and interact with it using mouse, keyboard, and scrolling.
Extract webpage content and convert it to Markdown.
Perform system operations through AppleScript.

Supported clients

Claude Desktop
Gemini CLI
Claude CodePartial support
Pi AgentPartial support
Tau Coding AgentPartial support

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

Overview

macOS-MCP is an MCP server for interacting with the macOS desktop through the Accessibility API. It supports application and window control, keyboard and mouse input, reading UI state, extracting webpage content, and system operations. The source lists macOS 12 or later and Python 3.11 or later. It suits trusted environments where macOS UI automation is needed; it is not suitable for systems with irreplaceable data, production or shared systems, or compliance-regulated environments.

Similar servers

Source revision 43af521b282e 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/macos-mcp.svg)](https://followmcp.com/en/servers/macos-mcp)