apple-mail-readonly-mcp
Allows searching and reading downloaded Apple Mail messages, including metadata and bodies, without modifying mail state. Provides tools for listing accounts, mailboxes, searching messages, reading messages and threads, and listing attachment metadata.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@apple-mail-readonly-mcpsearch for emails from John about project updates"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Apple Mail Read-Only MCP
A local MCP server for searching and reading downloaded Apple Mail data without changing mail state. It can run with any compatible MCP client and includes optional Codex plugin packaging.
Features
List Apple Mail accounts and mailboxes
Search local metadata (subject, sender, date) without reading bodies
Read selected downloaded message bodies with strict size limits
Read bounded local threads/conversations
List attachment metadata only (no export)
Full Disk Access diagnostics
Related MCP server: local-apple-data
Requirements
macOS
Python 3.11+
Apple Mail configured locally
Full Disk Access may be required for the launcher process
Quick Start
# Run the MCP server
bash scripts/run_mcp.sh
# Run tests
python3 -m unittest discover -s tests -v
# Static security check
python3 scripts/doctor.py --static
# Live smoke test (opt-in)
APPLE_MAIL_READONLY_RUN_LIVE=1 python3 scripts/smoke_test.pyMCP Tools (v0.1)
Tool | Purpose |
| Verify server, platform, Mail store discovery |
| Diagnose Full Disk Access |
| List account coverage |
| List mailboxes/folders |
| Search local metadata (no body read) |
| Read a selected downloaded message |
| Read a bounded local thread |
| List attachment metadata |
Non-Goals
This server will never:
Send email
Create drafts
Reply/forward
Move, delete, archive, mark read/unread, flag
Export/open/download attachments
Run arbitrary scripts
Update itself
Installation
Run scripts/run_mcp.sh from any MCP client that supports stdio servers. See docs/codex-install.md for Codex plugin installation instructions.
Privacy and Security
Mail content stays on the local machine. The server opens the Apple Mail index in SQLite read-only mode, registers no write-capable tools, makes no mail-provider API calls, and never exports attachment contents. See docs/security-model.md for the complete guarantees and limitations.
License
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
- AlicenseAqualityBmaintenanceLocal MCP server for multi-account IMAP/SMTP email (iCloud + Gmail via app-specific passwords). Never marks mail read. Cross-folder search, idempotent sends, TLS verified.Last updated8MIT
- AlicenseAqualityCmaintenanceMCP server for privacy-gated local Apple data access including Mail, Messages, Notes, Calendar, Contacts, Photos, Reminders, Voice Memos, and iCloud Drive.Last updated301MIT
- Alicense-qualityDmaintenanceAn MCP server that gives AI assistants comprehensive access to Apple Mail accounts, enabling email discovery, reading, flag management, and server-side message retrieval.Last updatedMIT
- Alicense-qualityDmaintenanceA read-only MCP server for Apple Mail on macOS that enables searching and reading emails directly from the local SQLite database, with fast SQL-level filtering and pagination.Last updatedMIT
Related MCP Connectors
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Local-first RAG engine with MCP server for AI agent integration.
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/hzcsj/apple-mail-readonly-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server