mcpField
A
apple-productivity-mcp

apple-productivity-mcp

Local
github.com/gambadioProductivity0Updated 2w ago

About apple-productivity-mcp

Apple Productivity MCP is a local macOS server for using Apple productivity apps, documents, files, and media from MCP clients. Its broad, selectable tool groups cover common app operations, with optional allowlisted Shortcuts and controls such as read-only mode and file-root limits.

Key features

  1. 01Operate Mail, Calendar, Reminders, and Notes
  2. 02Work with Pages, Numbers, and Keynote
  3. 03Manage Contacts, Safari, Music, and Photos
  4. 04Read and create files within configured roots
  5. 05Run explicitly allowlisted Shortcuts
  6. 06Select app groups and enable read-only mode

Use cases

  1. 01Search mail and save a selected attachment
  2. 02Create reminders or edit Notes
  3. 03Update spreadsheet cells and export a workbook
  4. 04Export a Pages document or Keynote presentation

MCP support

Runs locally on macOS and exposes Apple-app tools to stdio MCP clients. Clients can select app groups and read-only mode; Shortcuts execution is available only for configured allowlisted shortcuts.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"gambadio-apple-productivity": {
"command": "npx",
"args": [
"-y",
"@gambadio/apple-productivity-mcp"
]
}
}
}
Run commandnpx -y @gambadio/apple-productivity-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@gambadio/apple-productivity-mcp3.0.0

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Apple Productivity MCP

A local macOS MCP server for working with Apple's productivity apps, documents, files, and media from Codex, Claude Code, Claude Desktop, and other stdio MCP clients.

Version 3.0.0: 133 tools across 17 groups, plus optional execution of explicitly allowlisted Shortcuts. Runs on your Mac through Apple's automation interfaces. No hosted service, listening port, subscription, or Apple API key is required.

Tool reference · Machine-readable schemas · Verification · Source documentation · Changelog · Publishing · Directory status

What it can do

App / groupToolsCoverage
Mail12Accounts and mailboxes; message metadata/body; sender/subject search; visible drafts; send; read/flag status; move/trash; mailbox creation; attachments.
Calendar12Calendars and events; create/update/delete events; event notes, attendees and recurrence; calendar creation/rename/deletion; display alarms and event URLs.
Reminders15Accounts/lists; reminders and title search; notes, priorities and due dates; create/update/delete; list management; complete/reopen; flags and notification dates.
Notes9Accounts/folders; list/search/read notes; create folders and HTML notes; update and delete unlocked notes.
Contacts9Search and contact details; groups and members; create contacts/groups; update fields; add/remove group membership.
Pages8List/open/create documents; read/replace/append body text; save; export PDF/DOCX; close with unsaved-change protection.
Numbers11Documents, sheets, tables; create tables; read/write bounded cell ranges; save; export PDF/XLSX; close.
Keynote9Documents and slides; create presentations; add/update title, body and presenter notes; save; export PDF/PPTX; close.
TextEdit7Documents; create/open/read/replace/append text; save RTF; close.
Safari6Tabs and page text; open/navigate/close tabs with URL checks; Reading List.
Music9Playlists, tracks and search; metadata; create playlists and add tracks; playback and volume.
Photos9Albums/items/search; metadata; create albums; add items; import/export; update metadata.
Messages3Accounts/chats; send text to an explicit recipient through an explicit account.
Files8Bounded folder listing; metadata/text; create text files/folders; copy; Spotlight filename search; Finder Trash.
Finder2Selected item metadata; reveal an allowed path.
Shortcuts2 + 1 opt-inList shortcuts/folders; run only names in the configured allowlist.
System2Discover installed apps/configuration; launch a known Apple app.

The original 18 tool names remain supported. Version 3 expands the default catalog; select only the app groups you want below.

Coverage has boundaries. Apple does not expose every app feature through scripting. Messages history, Contacts deletion, Pages layout text boxes, full document styling, Calendar invitations, Reminders subtasks/tags/recurrence, arbitrary Safari JavaScript, and private Apple databases are not implemented. There are no dedicated Home, Health, Wallet, Find My, or Freeform editing tools. A user-created, allowlisted Shortcut can bridge supported actions in other apps. The complete input schemas describe exactly what each tool accepts.

Requirements

  • macOS and Node.js 20 or newer.
  • The Apple app you want to control must be installed and configured. Pages, Numbers, and Keynote are separate App Store installations.
  • A client supporting local stdio MCP servers.
  • macOS Automation permission for the launching client/process to control each app. Some file locations also require Files & Folders access.

The server starts when the MCP client connects. Each automation call uses a fixed script and JSON arguments with a timeout. iCloud, Exchange, or other account sync continues to follow the app's own settings.

Install

Codex
codex mcp add apple-productivity-local -- \
  npx -y @gambadio/apple-productivity-mcp@latest
codex mcp get apple-productivity-local
Claude Code
claude mcp add --transport stdio --scope user apple-productivity-local -- \
  npx -y @gambadio/apple-productivity-mcp@latest
claude mcp get apple-productivity-local
Claude Desktop and other JSON-configured clients

Add this to the client's MCP configuration, then restart it:

{
  "mcpServers": {
    "apple-productivity-local": {
      "command": "npx",
      "args": ["-y", "@gambadio/apple-productivity-mcp@latest"]
    }
  }
}

For a reproducible install, replace @latest with @3.0.0. A tested local .mcpb bundle and checksum are available in the GitHub release. See the packaging instructions to build one yourself. This package requires execution on the user's Mac and cannot access their apps from a Linux container or remote hosting service.

Configuration

All settings are optional. Put them in your MCP client's server environment and start a new MCP process.

VariableDefaultBehavior
APPLE_MCP_ENABLED_GROUPSAll groupsComma-separated group names from the table above, lowercase: e.g. mail,calendar,reminders,notes. Empty means all. Unknown groups fail startup.
APPLE_MCP_READ_ONLYfalse1 or true registers read-only tools only. 0 or false enables the selected groups' write tools as well.
APPLE_MCP_FILE_ROOTS[]JSON array of existing absolute directories for Files tools, Finder reveal, Mail attachment saving, and Shortcut file input. Required when using those operations. Paths resolving outside these roots are rejected.
APPLE_MCP_SHORTCUTS[]JSON array of shortcut names/identifiers permitted to run. An empty list omits apple_shortcuts_run entirely.

Example with Notes, reminders, files, and one permitted Shortcut:

{
  "mcpServers": {
    "apple-productivity-local": {
      "command": "npx",
      "args": ["-y", "@gambadio/[email protected]"],
      "env": {
        "APPLE_MCP_ENABLED_GROUPS": "system,notes,reminders,files,finder,shortcuts",
        "APPLE_MCP_FILE_ROOTS": "[\"/Users/YOUR_NAME/Documents\"]",
        "APPLE_MCP_SHORTCUTS": "[\"Prepare daily note\"]"
      }
    }
  }
}

Replace YOUR_NAME and the shortcut name with values that exist on your Mac. An iCloud Drive directory can be included using its real local absolute path.

File roots constrain the generic file tools listed above; they are not a sandbox for Apple apps. iWork/TextEdit open/save/export and Photos import/export use explicit paths under the macOS permissions of those apps. Shortcuts may perform any action already contained in the allowed shortcut, including sending messages or changing data elsewhere. Inspect a shortcut before allowlisting it. App-group filtering and read-only mode control the exposed tool surface; MCP annotations are hints for clients, not an authorization system.

Example requests

  • “Find reminders with ‘invoice’ in the title, then show their notes and due dates.”
  • “Create a Notes folder in this account and put my meeting summary in it.”
  • “Read this Pages document and export a PDF beside it.”
  • “List the sheets and tables in my Numbers workbook, then fill cells B2:D6 with these values.”
  • “Add a Keynote slide with this title, body, and presenter notes.”
  • “Find Mail messages from this sender and save the selected attachment in my allowed Documents folder.”
  • “List my Photos albums and export these selected items into an empty folder.”
  • “Run my allowlisted ‘Prepare daily note’ shortcut.”

Start with discovery tools. Use returned IDs/names and inspect the tool schema for exact fields. apple_system_capabilities identifies installed apps but does not pre-authorize them or prove permissions. Write requests act on real data, so name the intended target and changes explicitly.

Data handling and safeguards

  • No server-side account, telemetry service, network listener, or credential storage.
  • Fixed JXA programs receive user values as JSON arguments, without interpolation into executable source. There is no arbitrary code or shell execution tool.
  • New file copies refuse replacement. Text writes and document save/export require an explicit overwrite option to replace a path. Photos exports require an empty folder.
  • Generic file operations require explicit roots and check resolved paths. File deletion goes through Finder Trash; there is no empty-Trash tool.
  • Collection reads and text/cell ranges have limits. Locked Notes are not read or modified. Safari tab mutations compare the expected URL to guard against shifted indices.
  • Read-only mode hides mutations. Every tool declares read-only, destructive, idempotent, and open-world annotations.
  • Email, Messages, document changes, reminders, contacts, and media edits may sync or reach other people. A send result means submission to the app, not independently verified delivery.
  • Timeouts or multi-step errors can leave partial changes. Inspect the target before retrying a write.
  • Data returned to an MCP client becomes part of that client's active model session and is governed by its data controls. Local execution does not mean content stays outside the model session. JSON inputs are visible to local processes with sufficient OS privileges.

Development and verification

npm ci
npm test
npm run docs:tools
npm audit --omit=dev
npm pack --dry-run

Tests execute the static automation programs against application fixtures, exercise filesystem boundaries in temporary folders, and initialize the actual stdio MCP server. They do not send messages or edit personal app data.

For the existing read-only Mail/Calendar/Reminders integration suite, after granting Automation permission:

npm run test:integration

Live verification is app-specific. Pages, Numbers, and Keynote were not installed on the release development Mac; their tools have fixture coverage but no live iWork verification. See verification results and limitations and implementation sources. Do not interpret the tool count as a claim that every operation has been exercised against every app/macOS version.

Troubleshooting

Automation unavailable / not authorized / timeout: open System Settings → Privacy & Security → Automation and permit the relevant Apple app for the launching client. A timeout can also reflect a busy app or slow iCloud data; do not blindly retry writes. Restart the client after permission/configuration changes.

Application cannot be found: install the app, launch it once, and verify apple_system_capabilities. OS process sandboxing can also restrict LaunchServices. Run a local client with the appropriate macOS access.

File roots required / path outside allowed roots: configure APPLE_MCP_FILE_ROOTS as a JSON array of existing absolute directories. A symlink cannot be used to escape that list. Create missing parent folders first.

Object not found / ambiguous name: rediscover the app's current account, list, document, or object ID. Names differ by language/provider. Close or rename duplicate documents before editing by name.

Contacts has unsaved changes: save or discard your pending edits in Contacts before using a mutation, because Contacts' scripting save affects all pending changes.

Tools missing: check app-group/read-only settings, start a new session, and verify mcp get/mcp list in your client. Shortcut execution appears only with a nonempty allowlist. Apps need not be installed for their tools to be advertised.

spawn ... ENOENT: ensure Node and npx are accessible to the desktop client's PATH; use the full path returned by command -v npx if needed.

Update or remove

@latest is resolved when a new MCP process starts; restart the client after publishing a release. An existing process continues running its loaded version. To retain the original app scope on v3, set APPLE_MCP_ENABLED_GROUPS=mail,calendar,reminders.

codex mcp remove apple-productivity-local
claude mcp remove apple-productivity-local --scope user

Removing registration does not delete Apple data or clear npm's cache.

Distribution

Canonical source: GitHub. Package: npm. Registry identity: io.github.gambadio/apple-productivity-mcp.

Directory status distinguishes live listings, submissions awaiting review, login requirements, and incompatible or paused destinations. Third-party listing text may lag the source release. Inclusion and recommendation are controlled by those maintainers.

License

MIT. Independent project; not affiliated with or endorsed by Apple.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.