Skip to main content

Apple Messages MCP

MCP server for Apple Messages on macOS.

Provides access to message history, conversation search, and sending via Messages.app. Requires Automation access for sending, and Full Disk Access for history and reliable file sending.

When to use

  • Messages-only workflows
  • Message history and sending without the all-in-one server
  • Tighter app-level separation for permissions

What It Does

  • List conversations with pagination
  • Search messages and view attachment metadata
  • Send and reply to messages
  • Tool discovery helpers search_tools and get_tool_info for context-constrained clients
  • Unread and recent conversation resources
  • Health checks that separate history access from automation failures
  • Permission recovery: messages_permission_guide, messages_recheck_permissions

Install On This Mac

Quick start (uvx, from PyPI)

With uv installed:

uvx apple-messages-mcp

No clone, no venv management.

From a clone
git clone https://github.com/JonathanRReed/Apple-MCPs.git
cd Apple-MCPs
uv sync --all-packages

This builds one workspace environment with every server's entry point in .venv/bin (for example .venv/bin/apple-messages-mcp). You can also point an MCP client at AppleMessages-MCP/start.sh, which prefers uv run and falls back to a plain venv bootstrap (Python 3.11+ required).

Install In AI Agents

Generic MCP client config
{
  "mcpServers": {
    "apple-messages": {
      "command": "uvx",
      "args": ["apple-messages-mcp"],
      "env": {
        "APPLE_MESSAGES_MCP_SAFETY_MODE": "full_access"
      }
    }
  }
}

Running from a clone instead? Use /path/to/Apple-MCPs/AppleMessages-MCP/start.sh as the command with empty args.

Claude Code example
claude mcp add --transport stdio --scope user apple-messages -- uvx apple-messages-mcp

--scope user makes the server available in every project. To share it with one repository through its .mcp.json instead, use --scope project.

Transport

stdio is the default and recommended transport. Set APPLE_MESSAGES_MCP_TRANSPORT=streamable-http (with optional APPLE_MESSAGES_MCP_HOST and APPLE_MESSAGES_MCP_PORT) to serve Streamable HTTP instead.

macOS Permissions

  • Automation access to Messages is required for send and reply
  • Full Disk Access is required for history, search, and attachment metadata from ~/Library/Messages/chat.db, and lets messages_send_attachment copy a file where Messages can read it
  • messages_health checks running state through NSRunningApplication, without sending Apple Events or requesting Automation access. Closed Messages reports automation_access_status: "not_probed"; running Messages reports "unknown". Neither means permission was denied.
  • The existing automation_access and send-capability booleans are false when authorization is unverified. Explicit send tools still work when the user has authorized the operation. automation_access_status and automation_access_error_code distinguish skipped checks, unknown authorization, denial, and command failure. An explicit send or reply still checks authorization and may open Messages or show the macOS permission prompt.
  • Diagnostic subprocesses have a five-second timeout. Explicit automation has a 30-second timeout; check delivery before retrying a send that timed out.

Launch Checklist

  • Add uvx apple-messages-mcp (or a clone's AppleMessages-MCP/start.sh) to your MCP client
  • Reload or reconnect the client so the Messages tool surface is loaded into context
  • Call messages_health first
  • If either permission surface is blocked, call messages_permission_guide
  • After changing macOS permissions, call messages_recheck_permissions

Prompting Notes

  • tools/list returns the full Messages tool surface. Context-constrained clients can use search_tools first, then get_tool_info for the Messages tool they need.
  • Resolve the recipient via Contacts before any send or reply when the user names a person.
  • Confirm the intended person if Contacts returns multiple matches.
  • messages_send_attachment sends only files inside the allowed folders and returns PATH_NOT_ALLOWED for any other path. Set APPLE_MESSAGES_MCP_ALLOWED_ROOTS to a comma-separated list of folders (~ means your home folder), or "Folders Messages may send files from" in the Claude Desktop extension settings. Without it, Messages uses APPLE_FILES_MCP_ALLOWED_ROOTS, then the same defaults as Files: Desktop, Documents, Downloads and iCloud Drive, where they exist.
  • messages_send_attachment sends a private copy from ~/Library/Messages/Attachments/apple-mcp, because Messages can fail to read user folders. Messages keeps using that copy after the send, so copies aren't removed, and deleting one may break that file in the conversation. The tool waits up to 20 seconds for Messages to confirm the transfer and sends any text afterwards. It returns ATTACHMENT_NOT_DELIVERED if the file failed and SEND_STATUS_UNKNOWN if Messages hasn't confirmed it, so check the conversation before sending again. Without Full Disk Access the copy can't be made, and the file is sent directly.
  • messages_send_message, messages_send_attachment and messages_reply_in_conversation accept an optional service_name of iMessage, SMS or RCS. Without it, new messages go out as iMessage, and one-to-one replies use the service of the thread's latest message: SMS threads stay SMS, and RCS threads use RCS, falling back to SMS. The account is chosen as the first enabled Messages account of that service type. SMS and RCS go through the paired iPhone and need Text Message Forwarding turned on for this Mac. Without a matching account the tools return SERVICE_UNAVAILABLE instead of sending, so a reply in an SMS thread on a Mac without Text Message Forwarding fails until you retry with service_name iMessage or turn forwarding on. RCS needs macOS 15 or later; on older macOS, RCS threads fall back to SMS. Group replies always use the group's existing service, and a different service_name is rejected with INVALID_INPUT. The response's service_name reports the service actually used.

Metadata

Release files for apple-messages-mcp 1.1.8

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

Source distribution (sdist)

Source distribution for apple-messages-mcp 1.1.8
File Size Uploaded Provenance Actions
apple_messages_mcp-1.1.8.tar.gz 39.9 kB With provenance Details for apple_messages_mcp-1.1.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for apple-messages-mcp 1.1.8
File Interpreter ABI Platform Actions
apple_messages_mcp-1.1.8-py3-none-any.whl Python 3 none any Details for apple_messages_mcp-1.1.8-py3-none-any.whl

Total release size: 66.6 kB

Release files / apple_messages_mcp-1.1.8.tar.gz

Download URL apple_messages_mcp-1.1.8.tar.gz
Size 39.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9b356f079c52a13e929ebde5fdc20a4a8bf9763445e0754a5d3412054a85aae6
BLAKE2b-256 checksum
How to use checksums
5a8bf0728157b7e96c840430d57b2446df2ded7302013baac3c0a15763ec80ef
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 30, 2026.

Transparency log

Release files / apple_messages_mcp-1.1.8-py3-none-any.whl

Download URL apple_messages_mcp-1.1.8-py3-none-any.whl
Size 26.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
904fd0e4adabb3db20df6704c28619c771e4b139c8359e83cbf1e7d03767a502
BLAKE2b-256 checksum
How to use checksums
e827ced12af17a2105f9a4958eab1a187f5d441bed43915a790855f651444980
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 30, 2026.

Transparency log

Security for apple-messages-mcp 1.1.8

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 apple_messages_mcp-1.1.8.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 30, 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