MacOS MCP Server logo

MacOS MCP Server

Automates macOS desktop interaction, system operations, diagnostics, and UI workflows through MCP on Apple silicon.

Install MacOS MCP Server

Run the project’s own setup commands, in order.

Setup steps from the project

macOS MCP Server installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    brew install deploymenttheory/tap/macos-mcp-server
    
  2. 2. Configure
    macos-mcp-server permissions request      # grant Accessibility and Screen Recording once
    
  3. 3. Run
    SERVER="$(command -v macos-mcp-server)"
    
  4. 4. Add to Codex
    codex mcp add macos -- "$SERVER" stdio --persona business-user
    
  5. 5. Add to Claude Code
    claude mcp add --scope user macos -- "$SERVER" stdio --persona business-user
    

Overview

The macOS MCP Server MCP server connects AI agents to macOS accessibility, input, screenshots, applications, windows, shell, filesystem, diagnostics, and web scraping capabilities. It runs locally as a stdio MCP process and exposes 35 tools across configurable toolsets, personas, resources, and prompts. Device-policy checks, egress controls, and tamper-evident auditing can govern agent actions. Reach for it when an agent needs to inspect or operate a macOS desktop, run UI tests, or support a local workstation.

Use cases

  • Automate macOS desktop workflows through accessibility APIs
  • Run UI regression journeys and capture evidence
  • Triage first-line support issues on a local Mac
  • Inspect processes, logs, services, and network state
  • Apply policy controls to agent actions

Key features

  • 35 tools across configurable toolsets
  • Accessibility-tree UI automation
  • Screenshots, display inspection, and session recording
  • Shell, filesystem, process, and launchd access
  • Policy evaluation and egress allowlisting
  • Hash-chained audit and evidence recording

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 48d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit19d agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How MacOS MCP Server works

What macOS MCP Server MCP server does

The macOS MCP Server MCP server gives an MCP-compatible agent access to a local macOS desktop through accessibility APIs and system interfaces. It can read the accessibility tree, perform clicks and keyboard input, inspect windows and applications, capture screenshots, and coordinate multi-step UI workflows without requiring a computer-vision model.

Beyond desktop interaction, the server exposes optional capabilities for shell commands, executable launching, preferences, launchd jobs, filesystem access, processes, notifications, clipboard operations, unified logs, network diagnostics, packages, and web scraping. It also includes planning, evidence capture, declarative journeys, credentials injection, and session recording features where the relevant toolsets or options are enabled.

How it works

The server is launched locally by an MCP client through its stdio subcommand. Tool availability is organized into toolsets, with screen, interaction, apps, and basic system functions enabled by default. Other groups, including shell, filesystem, system administration, credentials, testing, diagnostics, and planning, can be selected explicitly. Personas provide predefined toolset selections and workflow guidance.

Agents can read resources such as the desktop snapshot, display inventory, session recording, and system information. Prompts are available for RPA journeys, support triage, and evidence capture. The server also supports read-only operation through its command-line options.

A policy engine evaluates tool calls, resource reads, and prompt retrieval against live device signals before execution. Rules can produce allow, warning, hold, deny, or kill outcomes. Network egress can be restricted through a loopback proxy and optional packet-filter rules. Audit records use a hash chain, and session recording and evidence bundles are available for review.

Setup and configuration

The macOS MCP Server MCP server requires macOS 27 or later on Apple silicon. Install the binary with Homebrew, then run its permissions command to request Accessibility and Screen Recording access. An MCP client can launch the binary with an absolute path and a selected persona, such as business-user or first-line-support.

Claude Desktop can use the signed .mcpb package from a GitHub release. Claude Code and Codex CLI can add the server with their MCP commands. Other local clients can use a JSON configuration containing the executable path, the stdio argument, and optional persona or toolset arguments.

A policy file can be supplied with --policy-config. Without one, the policy engine still evaluates and records declared signals but does not refuse operations. The credentials tool requires a separate credentials-file option. The server's permissions documentation should be reviewed before deployment because several capabilities operate with full user-level access and no sandbox.

Tools and capabilities

Available tool groups include:

  • Screen capture and display inspection, including snapshots, screenshots, and recording
  • Accessibility interaction, text entry, scrolling, shortcuts, waiting, and multi-edit operations
  • Application and window control, clipboard access, notifications, and process inspection
  • Shell, executable launch, filesystem, preferences, and launchd management
  • System information, services, unified logs, network diagnostics, and package operations
  • Web scraping, credential injection, planning, assertion, and evidence capture
  • Guardrail status and an out-of-band kill switch

Resources and prompts supplement the tools for desktop state, recordings, system information, support triage, and repeatable UI journeys.

Limitations and notes

The server intentionally does not automate the login window, lock screen, Touch ID, password sheets, TCC consent dialogs, or secure text-field contents. These remain macOS trust boundaries.

Shell, executable launch, preferences, launchd, filesystem, process, and application operations have full user-level system access without sandboxing. Untrusted workloads should be isolated in a guest environment. The server requires Accessibility and Screen Recording grants, and Apple silicon support is mandatory because Intel Macs are not supported by macOS 27.

Credentials are designed without a read mode: injection requires a secure text field, and keychain items are removed on exit paths. Policy enforcement, egress restrictions, audit logging, and recording should be configured according to the deployment's security requirements.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MacOS MCP Server

macOS MCP Server is an MCP server that connects AI agents to a local macOS desktop on Apple silicon. Its main tools cover accessibility-tree inspection, mouse and keyboard input, screenshots, application and window control, shell access, filesystem operations, diagnostics, web scraping, planning, evidence capture, and session recording.

Install it with Homebrew, grant Accessibility and Screen Recording permissions, then register the binary with an MCP client using its `stdio` subcommand. Claude Desktop can install the signed `.mcpb` release package, while Claude Code and Codex CLI provide MCP add commands.

Yes, the repository's getting-started documentation includes Cursor. Configure Cursor to launch the local binary with the `stdio` subcommand and any required persona or toolset arguments.

It requires macOS 27 or later on Apple silicon. Intel Macs are not supported because Apple does not support them on macOS 27.

No, it deliberately does not automate the login window, lock screen, Touch ID, password sheets, TCC consent dialogs, or secure text-field contents. These interfaces remain macOS trust boundaries.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMacOS MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/macos-mcp-server-2?style=directory)](https://allmcps.com/mcp/macos-mcp-server-2)
HTML Embed
<a href="https://allmcps.com/mcp/macos-mcp-server-2"><img src="https://allmcps.com/api/badge/macos-mcp-server-2?style=directory" alt="MacOS MCP Server on AllMCPs" /></a>