Mac Messages MCP
@carterlasalle
关于 Mac Messages MCP
An MCP server that securely interfaces with your iMessage database via the Model Context Protocol (MCP), allowing LLMs to query and analyze iMessage conversations. It includes robust phone number validation, attachment processing, contact management, group chat handling, and full
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mac_messages_mcp": {
"command": "python",
"args": [
"scripts/build_mcpb.py",
"#",
"build",
"for",
"the",
"host",
"architecture"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Mac Messages MCP?
Mac Messages MCP is a Python bridge for interacting with the macOS Messages app using the Model Context Protocol (MCP). It enables sending and reading iMessages and SMS/RCS messages, and searching attachments, designed for macOS users who want programmatic access to their Messages database.
How to use Mac Messages MCP?
Install via uvx mac-messages-mcp (requires macOS 11+, Python 3.10+, and the uv package manager). Grant Full Disk Access to your terminal or app. Integrate with Claude Desktop by adding a config with command uvx mac-messages-mcp or with Cursor by pasting uvx mac-messages-mcp in MCP settings. For Docker, use mcp-proxy to bridge stdio to HTTP.
Key features of Mac Messages MCP
- Universal message sending (iMessage or SMS/RCS based on recipient availability)
- Smart fallback to SMS when iMessage is unavailable
- Read recent messages from the macOS Messages app
- Filter messages by contact or phone number
- Group chat filtering using chat IDs
- Fuzzy search through message content
- Attachment discovery and fetching (progressive disclosure)
- iMessage availability checking before sending
Use cases of Mac Messages MCP
- Automatically send iMessages or SMS to contacts without manual switching
- Read and search recent conversations programmatically
- Find and view photos, PDFs, or other attachments shared in chats
- Filter messages by a specific contact or group chat ID
- Check whether a recipient can receive iMessages before sending
FAQ from Mac Messages MCP
What are the prerequisites for Mac Messages MCP?
macOS 11+, Python 3.10+, the uv package manager, and Full Disk Access permission for the terminal or application running the server.
How do I install Mac Messages MCP?
Run uvx mac-messages-mcp in your terminal, or install from PyPI with uv pip install mac-messages-mcp. For source installation, clone the repo and run uv install -e ..
Does Mac Messages MCP work inside Docker?
Messages.app automation is macOS‑only, so the server itself does not work inside a Linux container. The Dockerfile is for catalog checks and read‑only database experiments with mounted data. To connect from a container, run mcp-proxy on the host to bridge stdio to HTTP.
How are attachments handled?
Attachments use progressive disclosure: message searches show a compact summary, an attachment‑first search returns metadata, and fetching returns the file. Images are returned inline (HEIC converted to PNG), while PDFs, video, and audio return a filesystem path. Inline image bytes are capped at 5MB by default.
What message formats are supported for recipients?
E.164 phone numbers with a leading + (e.g., +14155551234) are most reliable. Bare digit numbers are normalized, and 10‑digit US numbers are sent as +1.... The tool_find_contact returns phone matches in send‑ready format.
其他 分类下的更多 MCP 服务器
ghidraMCP
LaurieWiredMCP Server for Ghidra
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
评论