Metadata-Version: 2.5
Name: mcp-server-macos
Version: 1.3.3
Summary: An MCP server for automating and controlling macOS.
Project-URL: Homepage, https://github.com/JeanExtreme002/mcp-server-macos
Project-URL: Source, https://github.com/JeanExtreme002/mcp-server-macos
Project-URL: Issues, https://github.com/JeanExtreme002/mcp-server-macos/issues
Project-URL: Changelog, https://github.com/JeanExtreme002/mcp-server-macos/releases
Project-URL: Funding, https://github.com/sponsors/JeanExtreme002
Author-email: Jean Loui Bernard Silva de Jesus <contact@jeanloui.dev>
Maintainer-email: Jean Loui Bernard Silva de Jesus <contact@jeanloui.dev>
License-Expression: MIT
License-File: LICENSE
Keywords: ai-agents,automation,claude,desktop-automation,llm,mac,macos,mcp,mcp-server,model-context-protocol,osx,pymacos
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Desktop Environment
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: System
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: mcp<3,>=2.3
Requires-Dist: pymacos<2,>=1.40
Provides-Extra: dev
Requires-Dist: build; extra == 'dev'
Requires-Dist: flake8; extra == 'dev'
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-cov; extra == 'dev'
Requires-Dist: pytest-rerunfailures; extra == 'dev'
Requires-Dist: twine; extra == 'dev'
Description-Content-Type: text/markdown

<h1 align="center">mcp-server-macos</h1>

<!-- mcp-name: io.github.JeanExtreme002/mcp-server-macos -->

<p align="center">
  <b>Let your AI assistant use your Mac.</b><br>
  <i>An MCP server for Claude, Cursor and any other MCP client, built on <a href="https://github.com/JeanExtreme002/pymacos">pymacos</a>.</i>
</p>

<p align="center">
  <a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/MCP-server-blue.svg" alt="MCP server" /></a>
  <a href="https://github.com/JeanExtreme002/mcp-server-macos/actions/workflows/test.yml"><img src="https://img.shields.io/github/actions/workflow/status/JeanExtreme002/mcp-server-macos/test.yml?branch=main&amp;label=CI" alt="CI: tests on macOS and Linux" /></a>
  <a href="https://codecov.io/gh/JeanExtreme002/mcp-server-macos"><img src="https://img.shields.io/codecov/c/github/JeanExtreme002/mcp-server-macos" alt="Test coverage" /></a>
  <a href="https://pypi.org/project/mcp-server-macos/"><img src="https://img.shields.io/pypi/v/mcp-server-macos.svg" alt="Newest PyPI version" /></a>
  <a href="https://pypi.org/project/mcp-server-macos/"><img src="https://img.shields.io/badge/python-3.10+-8A2BE2.svg" alt="Python 3.10 or newer" /></a>
  <img src="https://img.shields.io/badge/platform-macOS-lightgrey.svg" alt="Platform: macOS" />
  <a href="https://pypi.org/project/mcp-server-macos/"><img src="https://img.shields.io/pypi/status/mcp-server-macos.svg?color=0e8a8a" alt="Development status" /></a>
  <a href="https://github.com/JeanExtreme002/mcp-server-macos/blob/main/LICENSE"><img src="https://img.shields.io/pypi/l/mcp-server-macos.svg?color=yellow" alt="License" /></a>
</p>

<br>

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%."*<br>
> *"Merge these three PDFs, then sign the last page."*<br>
> *"In Mail, archive the newsletter at the top of my inbox."*<br>
> *"Which app is eating my battery?"*<br>
> *"Turn this HEIC photo into a JPEG and remove its background."*<br>
> *"Every morning at 9, run my backup script."*

## Get started

With [uv](https://docs.astral.sh/uv/) installed, there's nothing to set up first.

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

<a href="https://github.com/JeanExtreme002/mcp-server-macos/releases/latest/download/mcp-server-macos.mcpb"><img src="https://img.shields.io/badge/Download_the_extension-1f1f1f?style=for-the-badge" alt="Download mcp-server-macos.mcpb for Claude Desktop" height="32" /></a>

In **Claude Code**:

```bash
claude mcp add macos -- uvx mcp-server-macos
```

In **Cursor**, one click:

<a href="https://cursor.com/en/install-mcp?name=macos&amp;config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyJtY3Atc2VydmVyLW1hY29zIl19"><img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Add mcp-server-macos to Cursor" height="32" /></a>

In any other client configured with JSON:

```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](https://github.com/JeanExtreme002/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](https://github.com/JeanExtreme002/mcp-server-macos/blob/main/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](https://github.com/JeanExtreme002/mcp-server-macos/blob/main/SECURITY.md).

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

## License

Released under the [MIT License](https://github.com/JeanExtreme002/mcp-server-macos/blob/main/LICENSE),
free for personal and commercial use.

<sub>Not affiliated with or endorsed by Apple Inc. macOS is a trademark of Apple Inc.</sub>
