imessage-query-fastmcp-mcp-server
by hannesrudolph·★ 77·综合分 45
FastMCP 服务器提供安全的 iMessage 数据库访问,具备号码验证和附件处理功能。
communicationai-llmdeveloper-tools
16
Forks
3
活跃 Issue
3 个月前
最近提交
2 天前
收录于
概述
这个 MCP 服务器通过 FastMCP 框架使 LLM 能够查询和分析 macOS 上的 iMessage 对话。它提供对 iMessage 数据库的只读访问,包含安全功能如电话号码验证、附件处理和日期过滤。服务器文档完善,有多个安装选项,并包含开发文档。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
你:按电话号码查询消息历史并支持日期过滤
你:通过 LLM 集成分析 iMessage 对话和附件
你:创建需要访问 macOS iMessage 数据的自动化系统
你:这个服务器可以在 Windows 或 Linux 上访问 iMessage 吗?
你:服务器是只读的吗?
什么时候选它
如果您需要在 macOS 上分析 iMessage 对话,并且希望获得一个安全、只读的接口,能够正确处理电话号码和附件,请选择这个。
什么时候不要选它
如果您需要写入消息访问权限或不在 macOS 上,请不要使用它,因为该服务器专门需要 macOS 才能访问 iMessage 数据库。
此 server 暴露的工具
从 README 抽取出 1 个工具get_chat_transcriptRetrieve message history for a specific phone number with optional date filtering.
可对比工具
chat-db-mcpios-messages-mcpimessage-py-api
安装
安装
先决条件
- macOS(访问 iMessage 数据库必需)
- Python 3.6+
依赖项
pip install -r requirements.txtClaude Desktop 安装
fastmcp install imessage-query-server.py --name "iMessage Query"Cline VSCode 插件配置
将以下内容添加到您的 MCP 设置中:
{
"imessage-query": {
"command": "uv",
"args": [
"run",
"--with",
"fastmcp",
"fastmcp",
"run",
"/path/to/repo/imessage-query-server.py"
]
}
}FAQ
- 这个服务器可以在 Windows 或 Linux 上访问 iMessage 吗?
- 不能,该服务器需要 macOS,因为它直接访问仅在 Apple 操作系统上可用的 iMessage 数据库。
- 服务器是只读的吗?
- 是的,服务器提供对 iMessage 数据库的只读访问,无法修改或删除消息。
imessage-query-fastmcp-mcp-server 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。