
Apple Messages
io.github.JonathanRReed由 GitHub 账号 JonathanRReed 发布v1.1.7更新于 Nov 14, 2026
Read Messages history on macOS and send or reply through Messages.app.
概览
在 macOS 上读取 Apple 信息历史,让助手搜索会话、发送消息与回复,并通过“信息”应用发送文件附件。
- 可以做什么
- 列出并分页浏览会话,读取未读与最近会话资源
- 搜索消息并查看附件元数据
- 发送新消息、在已有会话中回复,并从允许的文件夹发送文件附件
- 为上下文受限的客户端提供工具发现与工具详情查询
- 执行健康检查与权限诊断,并提供权限指引与重新检查步骤
- 适用场景
- 适合在 Mac 上只处理“信息”的场景:需要消息历史与发送能力,但不想引入功能大而全的服务器,或希望按应用更细致地隔离权限。
- 运行要求
- 本地 macOS 进程,可用 uvx 从 PyPI 运行,或从克隆仓库运行(需 Python 3.11+)。发送与回复需要 macOS 对“信息”的自动化权限;历史、搜索与附件元数据需要完全磁盘访问权限。SMS/RCS 需通过配对的 iPhone 开启短信转发,RCS 需 macOS 15 或更高版本。可选环境变量 APPLE_MESSAGES_MCP_SAFETY_MODE 与 APPLE_MESSAGES_MCP_ALLOWED_ROOTS。
安装
在 SourceWeft 中
- 打开 控制台中的 Apple Messages,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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_toolsandget_tool_infofor 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
From a clone
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
Running from a clone instead? Use /path/to/Apple-MCPs/AppleMessages-MCP/start.sh as the command with empty args.
Claude Code example
--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 letsmessages_send_attachmentcopy a file where Messages can read it messages_healthchecks running state throughNSRunningApplication, without sending Apple Events or requesting Automation access. Closed Messages reportsautomation_access_status: "not_probed"; running Messages reports"unknown". Neither means permission was denied.- The existing
automation_accessand send-capability booleans are false when authorization is unverified. Explicit send tools still work when the user has authorized the operation.automation_access_statusandautomation_access_error_codedistinguish 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'sAppleMessages-MCP/start.sh) to your MCP client - Reload or reconnect the client so the Messages tool surface is loaded into context
- Call
messages_healthfirst - If either permission surface is blocked, call
messages_permission_guide - After changing macOS permissions, call
messages_recheck_permissions
Prompting Notes
tools/listreturns the full Messages tool surface. Context-constrained clients can usesearch_toolsfirst, thenget_tool_infofor 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_attachmentsends only files inside the allowed folders and returnsPATH_NOT_ALLOWEDfor any other path. SetAPPLE_MESSAGES_MCP_ALLOWED_ROOTSto 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 usesAPPLE_FILES_MCP_ALLOWED_ROOTS, then the same defaults as Files: Desktop, Documents, Downloads and iCloud Drive, where they exist.messages_send_attachmentsends 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 returnsATTACHMENT_NOT_DELIVEREDif the file failed andSEND_STATUS_UNKNOWNif 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_attachmentandmessages_reply_in_conversationaccept an optionalservice_nameofiMessage,SMSorRCS. 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 returnSERVICE_UNAVAILABLEinstead of sending, so a reply in an SMS thread on a Mac without Text Message Forwarding fails until you retry withservice_nameiMessageor 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 differentservice_nameis rejected withINVALID_INPUT. The response'sservice_namereports the service actually used.
Related
来源:AppleMessages-MCP/README.md,提交 96b9cdb
工具
0版本历史
9- v1.1.7最新Nov 14, 2026
- v1.1.6Nov 6, 2026
- v1.1.4Oct 29, 2026
- v1.1.3Oct 22, 2026
- v1.1.2Oct 14, 2026
- v1.1.1Oct 13, 2026
- v1.1.0Oct 10, 2026
- v1.0.5Sep 26, 2026
- v1.0.4Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
