Apple Mail MCP
@imdinu
关于 Apple Mail MCP
Apple Mail MCP server with full-coverage FTS5 body search. Reliable on large mailboxes where AppleScript-based servers timeout.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"apple-mail-mcp": {
"command": "apple-mail-mcp"
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Apple Mail MCP?
Apple Mail MCP is a Model Context Protocol server that provides full-coverage body search for Apple Mail on macOS. It uses an FTS5 index to reliably search large mailboxes where AppleScript-based servers timeout. It offers 8 tools for reading, searching, and extracting email content, and is designed for users who need fast, reliable access to their Apple Mail data through MCP-compatible clients.
How to use Apple Mail MCP?
Install with pipx install apple-mail-mcp, then add the server to your MCP client configuration with the command apple-mail-mcp. Optionally build the search index with apple-mail-mcp index --verbose (requires Full Disk Access for Terminal). Customize defaults by running apple-mail-mcp init to generate a config file, or use APPLE_MAIL_* environment variables. All tools are also available as standalone CLI commands (e.g., apple-mail-mcp search "query").
Key features of Apple Mail MCP
- Full-coverage body search via FTS5 index
- 8 tools: list accounts, mailboxes, get emails, search, extract links and attachments
- ~3ms single email fetch via disk-first .emlx reading
- ~1ms list accounts and ~5ms 50-email listing via direct SQLite reads
- Reliable on large mailboxes (tested on ~73K messages)
- CLI commands for all tools (JSON output)
Use cases of Apple Mail MCP
- Search entire mailbox body content for keywords or phrases
- Extract email attachments programmatically
- List accounts and mailboxes for navigation
- Retrieve email links for further processing
- Integrate Apple Mail data into AI workflows via MCP clients
FAQ from Apple Mail MCP
What makes Apple Mail MCP different from other Apple Mail MCP servers?
It is the only server with full-coverage body search. Most competitors do not support body search at all; the one that does (BastianZim) only scans the 5000 most recent messages. Apple Mail MCP’s FTS5 index covers the entire mailbox.
What are the runtime requirements?
Python 3.11+, macOS, and Full Disk Access for Terminal when building the search index. No other external dependencies.
How does Apple Mail MCP handle large mailboxes?
It uses a disk-first .emlx reading strategy and direct SQLite reads from the Envelope-Index, avoiding AppleScript/JXA timeouts. Tested reliably on a ~73K message mailbox.
What transports and authentication does it use?
It uses the standard MCP stdio transport. No authentication is required; it reads the local Apple Mail database.
Where does the email data live?
Data is read directly from the local Apple Mail database and .emlx files. The FTS5 search index is built locally and stored on disk.
其他 分类下的更多 MCP 服务器
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.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
评论