Skip to main content

mcp-server-macos

Let your AI assistant use your Mac.
An MCP server for Claude, Cursor and any other MCP client, built on pymacos.

MCP server CI: tests on macOS and Linux Test coverage Newest PyPI version Python 3.10 or newer Platform: macOS Development status License


Add it in a minute, and your assistant stops explaining what to do on your Mac and starts doing it. Over 350 tools, for most of what a Mac does: ask in plain words, and it acts.

"Connect my AirPods and turn the volume down to 30%."
"Merge these three PDFs, then sign the last page."
"In Mail, archive the newsletter at the top of my inbox."
"Which app is eating my battery?"
"Turn this HEIC photo into a JPEG and remove its background."
"Every morning at 9, run my backup script."

Get started

With uv installed, there's nothing to set up first.

In Claude Desktop, download the extension, then open it:

Download mcp-server-macos.mcpb for Claude Desktop

In Claude Code:

claude mcp add macos -- uvx mcp-server-macos

In Cursor, one click:

Add mcp-server-macos to Cursor

In any other client configured with JSON:

{
  "mcpServers": {
    "macos": {
      "command": "uvx",
      "args": ["mcp-server-macos"]
    }
  }
}

No uv? pip install mcp-server-macos, then use mcp-server-macos as the command.

Requires macOS and Python 3.10 or newer.

What it does

Your apps See what an app shows (buttons, fields, links, menus) and use it, without a screenshot. Open, quit, hide and uninstall apps; move, resize, snap and tile windows.
Files and documents PDFs: read, merge, split, rotate, sign, redact, encrypt. Images and HEIC: convert, resize, crop, read metadata. Videos: convert, trim, join, turn into GIFs; audio files too. Word, RTF and HTML to text or PDF. Finder tags, the Trash, zips, Spotlight search.
Understanding Read text in images and on screen, find QR codes and faces, say what a photo shows, remove its background. Detect a text's language, sentiment and entities. All offline, with Apple's own models.
The screen Screenshots and recordings, the displays and their resolution, brightness, Night Shift, the wallpaper.
Input Type text, press shortcuts, click, drag and scroll; the keyboard layout, the mouse and the trackpad.
The Mac itself Battery, disks, processes, ports, logs, updates, crash reports. Wi-Fi, Bluetooth, VPNs, audio devices, volume, Dark Mode, the Dock, printers, Time Machine.
Talking to you Notifications, dialogs that ask you something, Touch ID, speech, the clipboard.
Automation Run your Shortcuts, schedule scripts with launchd, read and write app preferences, the Keychain, Apple Music and Spotify, browser tabs.

It starts light, so the tools don't fill your assistant's context before the first question: it turns on the groups of tools a task needs. To have every tool listed from the start, add --toolsets all: do it if your client doesn't show the tools your assistant turns on.

Built to be trusted

  • No shell, no scripts. Every tool does one thing, through the APIs of macOS: your assistant can't run arbitrary commands through this server.
  • Your client asks before what matters. Each tool says whether it only reads, changes a setting, or can delete or send something, so your client can ask you before the last ones.
  • No telemetry. Nothing leaves your Mac unless a tool's job is to reach the internet (a speed test, an address to look up).
  • Two dependencies: the MCP SDK and pymacos, which needs none.
  • Tested against macOS itself: besides the unit tests, CI runs live tests on macOS runners, for the tools that can run there without disturbing anything.

Permissions

macOS gives privacy permissions to the app that runs the server (Claude Desktop, your terminal, your editor), not to the server itself. Most tools need none. The others ask for theirs the first time:

  • Accessibility: using apps, windows, the keyboard and the mouse.
  • Screen Recording: screenshots and reading text on screen.
  • Automation of an app (System Events, Finder, your browser, Music): asked by macOS for that app.
  • Camera, Microphone, Bluetooth, Location: for the tools that use them.

When a permission is missing, the tool tells your assistant which one and where to allow it, instead of failing silently.

Limitations

  • macOS only, and some tools need a recent macOS (they say so when they can't run).
  • Some apps show little to Accessibility (games, a few cross-platform apps): your assistant can still see them with a screenshot and use the mouse.

Contributing

Bug reports, ideas and pull requests are welcome. CONTRIBUTING.md explains the setup and how to add a tool, which takes one function and its tests. To report a vulnerability, see SECURITY.md.

If the project is useful to you, a star helps other people find it.

License

Released under the MIT License, free for personal and commercial use.

Not affiliated with or endorsed by Apple Inc. macOS is a trademark of Apple Inc.

Metadata

Release files for mcp-server-macos 1.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-server-macos 1.3.2
File Size Uploaded Provenance Actions
mcp_server_macos-1.3.2.tar.gz 253.1 kB With provenance Details for mcp_server_macos-1.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcp-server-macos 1.3.2
File Interpreter ABI Platform Actions
mcp_server_macos-1.3.2-py3-none-any.whl Python 3 none any Details for mcp_server_macos-1.3.2-py3-none-any.whl

Total release size: 414.0 kB

Release files / mcp_server_macos-1.3.2.tar.gz

Download URL mcp_server_macos-1.3.2.tar.gz
Size 253.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d2e8a96d66353e10256a40cac662dbf338cfb743fe55a40b4c5d0676e6f372fd
BLAKE2b-256 checksum
How to use checksums
edef9ac4892d871afaa05855bc2aa0988b4ff1343123ee0d613e1741ea2de379
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / mcp_server_macos-1.3.2-py3-none-any.whl

Download URL mcp_server_macos-1.3.2-py3-none-any.whl
Size 160.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0cc81b6010918559a9ed2821a35d9c819ec85b25e766eac5fa8644423e3cd114
BLAKE2b-256 checksum
How to use checksums
df1391252194ed4e7e1c1de4063bda8ea91393c3c9103fed840ab5ff3d60d96f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for mcp-server-macos 1.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcp_server_macos-1.3.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page