MCP Macos logo

MCP Macos

Observe and control macOS through guarded file, process, app, shell, AppleScript, clipboard, screenshot, and GUI tools.

Install MCP Macos

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-macos": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-macos"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

npx -y @dockndevai/mcp-macos

notsup Unsupported platform for @dockndevai/mcp-macos@0.2.1: wanted {"os":"darwin"} (current: {"os":"linux"}) npm error notsup Valid os: darwin npm error notsup Actual os: linux npm notice npm notice New major version of npm available! 10.9.9 -> 12.2.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.2 npm notice To update run: npm install -g npm@12.2.2 npm notice npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-11-14T13_43_03_704Z-debug-0.log

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

mcp-macos connects an MCP client to macOS for inspecting files, processes, applications, system details, the clipboard, and screenshots, with optional tools for making changes. It uses Node.js together with macOS utilities such as osascript and screencapture, and starts in read-only mode. Read-write and admin capabilities are separately gated by mode and environment flags, with human approval available for high-impact operations. Reach for it when an agent needs controlled OS automation on a Mac rather than access to a remote service.

Use cases

  • Inspect Mac system state and running applications
  • Read and update files within approved paths
  • Capture screenshots for visual inspection
  • Run approved commands or AppleScript on macOS
  • Automate GUI input with explicit safeguards

Key features

  • Read-only system, file, process, app, clipboard, and screenshot tools
  • Mode-based registration for read-write and admin operations
  • Path allowlists and protected filesystem locations
  • Command, deletion, and GUI input gates
  • Human approval and target checks for high-impact actions
  • JSON-line audit logging and dry-run support

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.

14/14 checks healthy over the last 62d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · @dockndevai/mcp-macos (npm)

Adoption & maintenance

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

npm downloads185Package downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Directory activity9 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Macos works

What mcp-macos does

mcp-macos exposes macOS observation and automation through the Model Context Protocol. Its read-only tools can report system information, browse and read allowlisted files, inspect processes, read the clipboard, list running applications, identify the frontmost app, and capture the screen as a PNG.

Changing the machine requires a higher operating mode. In read-write mode, an agent can create or overwrite files, update the clipboard, display notifications, and open files, URLs, or applications. Admin mode adds command execution, AppleScript or JXA execution, process termination, moving paths to the Trash, and GUI input such as typing, key presses, clicks, and mouse movement.

How it works

The server communicates over MCP using a Node.js process launched with npx. It relies on built-in macOS command-line facilities, including osascript and screencapture, and does not use native add-ons. GUI clicking and mouse movement additionally depend on the cliclick utility.

Capability registration follows the selected MACOS_MODE: tools above the chosen mode are not exposed. File access can be narrowed to configured roots, while protected locations remain readable but cannot be changed. Command execution can be limited to an executable allowlist. Guarded actions produce JSON-line audit records on stderr, and dry-run mode validates and logs mutating requests without carrying them out.

High-impact actions use MCP elicitation for approval when supported. Commands, scripts, deletions, process kills, and file overwrites show the relevant arguments or target details before execution. Target version checks help prevent an approved deletion, kill, or overwrite from applying to a changed object. A prompt that receives no approval is refused.

Setup and configuration

Run the package with:

Terminal
npx -y @dockndevai/mcp-macos

The host must be macOS with Node.js 22 or newer. A minimal MCP client entry sets the command to npx, passes -y @dockndevai/mcp-macos, and can set MACOS_MODE to read-only, read-write, or admin. The default mode is read-only, so no environment variable is needed for the basic configuration.

Install cliclick with Homebrew before enabling click or move_mouse:

bash
brew install cliclick

The host process or MCP client may need macOS Privacy & Security permissions. Screen Recording enables screenshots; Accessibility enables GUI input; Automation permits AppleScript and application control; and Files and Folders or Full Disk Access may be needed for locations outside the normal sandbox.

Tools and capabilities

  • system_info reports macOS version, hardware, memory, load, and uptime.
  • list_directory and read_file inspect filesystem contents, subject to path controls.
  • list_processes, list_apps, and get_frontmost_app inspect active system state.
  • get_clipboard and screenshot read user-visible data.
  • write_file, set_clipboard, notify, and open provide read-write operations.
  • run_command, run_applescript, and kill_process are available only with admin mode and execution enabled.
  • delete_path moves a path to the Trash when deletion is enabled.
  • type_text, key_press, click, and move_mouse require admin mode and GUI input enabled.

Limitations and notes

The server is macOS-only. Protected paths include system directories and common secret locations such as SSH, AWS, GnuPG, and Keychain data; these remain non-mutable. Deletion is implemented as moving an item to the Trash rather than permanent removal. Shell commands receive argv-style arguments without a shell, and command selection can be restricted with an allowlist. The MACOS_REQUIRE_HUMAN_APPROVAL setting can refuse guarded actions when the connected client cannot provide an elicitation prompt.

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 MCP Macos

mcp-macos is an MCP server that connects an AI agent to a Mac. Its main tools inspect system information, files, processes, apps, the clipboard, and screenshots, while optional tools write files, run commands or AppleScript, open items, send notifications, delete to Trash, and control keyboard and mouse input.

Install it by launching `npx -y @dockndevai/mcp-macos` from an MCP client configuration. The host must run macOS with Node.js 22 or newer. Install `cliclick` with Homebrew if you plan to use `click` or `move_mouse`.

Set `MACOS_MODE=admin` and `MACOS_ALLOW_EXEC=true`. The command and AppleScript tools are otherwise unavailable, and guarded calls request human approval when the client supports MCP elicitation. `MACOS_COMMAND_ALLOWLIST` can further restrict executable names.

Yes, particular operations require macOS Privacy & Security permissions. Screen Recording is needed for screenshots, Accessibility for GUI input, Automation for AppleScript and app control, and Files and Folders or Full Disk Access for some filesystem locations.

Yes, Cursor is named as a supported client and has an MCP configuration example for this server. The server uses a standard Node.js process launched through `npx`, with capabilities controlled by its environment settings.

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 PreviewMCP Macos AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-macos?style=directory)](https://allmcps.com/mcp/mcp-macos)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-macos"><img src="https://allmcps.com/api/badge/mcp-macos?style=directory" alt="MCP Macos on AllMCPs" /></a>