mac-mcp
Provides tools to read, write, delete, and send personal data across Apple apps on macOS, including Reminders, Calendar, Contacts, Notes, Mail, Messages, Photos, and system notifications.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mac-mcp
English | 简体中文
A native Swift MCP server for personal data on macOS — Reminders, Calendar, Contacts, Notes, Mail, Messages, Photos, and system notifications. Zero third-party dependencies.

Features
One LaunchAgent owns all permissions — Ships as a signed
.appholding macOS TCC grants in a single background process, shared across every MCP client over a local Unix socket (0600) with in-process fallback.Permission-scoped tools — 23 tools split by domain and boundary (
*_read,*_write,*_delete,*_send), 9 enabled by default, with strict schema validation and per-action policies.Safe by default — Uses public Apple frameworks first (EventKit, Contacts, PhotoKit, UserNotifications), shows a local confirmation dialog before sends or destructive actions, and supports
request_ididempotency.Zero dependencies — Pure Swift, built directly with Swift Package Manager.
Related MCP server: orchard-mcp
Quick Start
Requirements: macOS 14+ (building from source requires Swift 6.0 / Xcode 16+).
Install from Releases
mkdir -p ~/Applications
curl -fL https://github.com/allenreder/mac-mcp/releases/latest/download/mac-mcp-macos.zip -o /tmp/mac-mcp.zip
[ -x ~/Applications/mac-mcp.app/Contents/MacOS/mac-mcp ] && ~/Applications/mac-mcp.app/Contents/MacOS/mac-mcp uninstall || true
rm -rf ~/Applications/mac-mcp.app && ditto -xk /tmp/mac-mcp.zip ~/Applications && rm /tmp/mac-mcp.zip
~/Applications/mac-mcp.app/Contents/MacOS/mac-mcp installPrebuilt releases are ad-hoc signed (not notarized). If you download via a browser, clear quarantine first:
xattr -dr com.apple.quarantine ~/Applications/mac-mcp.app. Upgrading an ad-hoc build may require re-granting macOS permissions.
Or build from source
git clone https://github.com/allenreder/mac-mcp.git
cd mac-mcp
scripts/install.shTo keep TCC grants across rebuilds, sign with your own certificate:
SIGN_IDENTITY="Apple Development: Your Name (XXXXXXXXXX)" scripts/install.shConnect your MCP client
For Claude Code:
claude mcp add mac -- ~/Applications/mac-mcp.app/Contents/MacOS/mac-mcpOr add it to any client's JSON config (use an absolute path if ~ is not expanded):
{
"mcpServers": {
"mac": {
"command": "~/Applications/mac-mcp.app/Contents/MacOS/mac-mcp"
}
}
}Hermes and other Agent Plugins clients
agent-plugin/ is an Agent Plugins v1 package: the mac MCP server plus a skill that teaches the agent the permission flow and tool conventions. It starts the app you installed above and ships no binary. For Hermes Agent:
hermes plugins install mac-mcp
hermes plugins enable mac-mcpOn first use, ask your agent to call access_read ({"action": "status"}) and access_request for any missing permissions. Full Disk Access (for Messages and Mail search) opens System Settings directly.
Try it on Glama
mac-mcp is listed on Glama. There you can browse its tools, check its quality score, and try it in the MCP Inspector before installing.
Tools
Domain | Group | Tools | Backend |
Permissions |
|
| — |
Reminders |
|
| EventKit |
Calendar |
|
| EventKit |
Contacts |
|
| Contacts |
Notes |
|
| JXA |
|
| Envelope Index + AppleScript | |
Messages |
|
|
|
Photos |
|
| PhotoKit + AppleScript |
Notify |
|
| UserNotifications, AppKit |
Default tools (
"default"):access_read,access_request,reminders_read,reminders_write,calendar_read,calendar_write,contacts_read,notes_read,notes_write.Full schema: run
mac-mcp tools --all.Experimental actions:
mail_send,messages_send, Mail draft actions (draft_get,draft_update,reply_draft,forward_draft), Mail/Notesattachment_export, and Photos semantic search (query) are hidden unlessexperimental = true.
Configuration
Optional config at ~/.config/mac-mcp/config.toml (override with MAC_MCP_CONFIG):
tools = ["default", "comms", "photos_read"] # group names, tool names, or "all"
experimental = false # enable unverified actions
[policy] # allow / confirm / deny
mail_send = "confirm"
"reminders_delete.list" = "deny"
[files] # allowed roots for attachments, import, export
roots = ["~"]Send actions (mail_send, messages_send) default to confirm; setting a policy to allow skips confirmation dialogs.
CLI & Development
swift build && swift test
.build/debug/mac-mcp tools --all # inspect full tool schemas
.build/debug/mac-mcp spec # export machine-readable spec
.build/debug/mac-mcp call reminders_read '{"action":"lists"}' --all
scripts/mcp-call.py access_read '{"action":"status"}' # call through the installed agentOther subcommands: mac-mcp (stdio entry), serve (in-process stdio), status, install / uninstall, request <domain> [target_app].
Uninstall
BUNDLE_ID=$(/usr/libexec/PlistBuddy -c "Print :CFBundleIdentifier" ~/Applications/mac-mcp.app/Contents/Info.plist)
~/Applications/mac-mcp.app/Contents/MacOS/mac-mcp uninstall
rm -rf ~/Applications/mac-mcp.app ~/Library/Application\ Support/mac-mcp ~/Library/Logs/mac-mcp ~/.config/mac-mcp
tccutil reset All "$BUNDLE_ID"License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP connector for iMessage & Contacts via a local Mac agent + Vercel relay
A butler for your AI agent: iCloud Calendar, Mail and Contacts, and your Mac.
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
MCP connector for Apple Reminders — search, create, complete, and edit via your own Mac.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for Apple Calendar using compiled Swift to bypass macOS Sequoia TCC restrictions4MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Apple Calendar, Mail, Reminders, and Files on macOS using native frameworks.35 npm22MIT
- AlicenseBqualityCmaintenanceMCP server for macOS Apple apps. Enables read/write access to Notes, Reminders, Calendar, Contacts, and Safari using SQLite and JXA, all running locally.2819 npm4MIT
- AlicenseBqualityDmaintenanceLocal MCP server for macOS native apps: Mail, Calendar, Reminders, Notes, Messages, and Contacts. Enables reading and organizing your Mac life through a single stdio process using AppleScript/JXA.401MIT