iMessage MCP
iMessage MCP
一个 MCP 服务器,读取本地 iMessage 数据库,并通过 macOS 上的 Messages.app 发送消息。
它通过 stdio 运行以用于本地使用,通过 HTTP 运行以用于远程使用,因此手机或平板可以访问笔记本电脑所使用的同一台服务器。这正是本项目的意义所在:仅限桌面的 iMessage 集成可以正常工作,但桌面并不是合适的位置——值得处理的消息是在你离开桌面时到达的。
状态
早期阶段。读取层正在构建中;HTTP 传输、认证和部署尚未编写。有关设计、其背后的测量数据以及有意推迟的内容,请参阅 docs/scope.md。
Related MCP server: iMessage MCP Server
要求
macOS,且已登录 Messages
Python 3.12+ 和 uv
Python 解释器需要完全磁盘访问权限,才能读取
~/Library/Messages/chat.db
发送消息还需要控制 Messages 的权限,macOS 会在首次发送消息时提示授予该权限。
开发
uv sync --extra test
uv run pytest测试套件是离线的,针对基于 Apple 模式构建的合成数据库运行。它从不打开真实的数据库,因此在从未发送过 iMessage 的机器上也能运行。
许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA Model Context Protocol server for reading iMessage data from macOS.29MIT
- AlicenseNot gradedqualityDmaintenanceEnables reading, searching, and sending iMessages directly from MCP-compatible clients by accessing the local macOS iMessage database, supporting conversations, attachments, and both individual and group chats.10410MIT
- AlicenseBqualityAmaintenanceEnables reading, searching, sending iMessages, viewing image attachments, and managing conversations, with full support for modern macOS attributedBody parsing.141MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for reading and sending iMessages on macOS. Exposes iMessage history and send capabilities through tools like list_conversations and send_imessage.19MIT
Related MCP Connectors
MCP connector for iMessage & Contacts via a local Mac agent + Vercel relay
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/duanefields/imessage-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server