Skip to main content
Glama
duanefields

iMessage MCP

by duanefields

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

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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.
    104
    10
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    Enables reading, searching, sending iMessages, viewing image attachments, and managing conversations, with full support for modern macOS attributedBody parsing.
    14
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server for reading and sending iMessages on macOS. Exposes iMessage history and send capabilities through tools like list_conversations and send_imessage.
    19
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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