Apple Mail
Read, search, compose, and send emails via Apple Mail on macOS.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
apple-mcp-mailclaude mcp add apple-mail -e 'APPLE_MAIL_MCP_SAFETY_PROFILE=safe_manage' -e 'APPLE_MAIL_MCP_ALLOWED_ATTACHMENT_ROOT=<APPLE_MAIL_MCP_ALLOWED_ATTACHMENT_ROOT>' -e 'APPLE_MAIL_MCP_VISIBLE_DRAFTS=true' -- uvx apple-mcp-mail==1.1.4
{
"mcpServers": {
"apple-mail": {
"command": "uvx",
"args": [
"apple-mcp-mail==1.1.4"
],
"env": {
"APPLE_MAIL_MCP_SAFETY_PROFILE": "safe_manage",
"APPLE_MAIL_MCP_ALLOWED_ATTACHMENT_ROOT": "<APPLE_MAIL_MCP_ALLOWED_ATTACHMENT_ROOT>",
"APPLE_MAIL_MCP_VISIBLE_DRAFTS": "true"
}
}
}
}
Variables d'environnement
APPLE_MAIL_MCP_SAFETY_PROFILESafety mode for Mail operations: safe_readonly, safe_manage, or full_access.APPLE_MAIL_MCP_ALLOWED_ATTACHMENT_ROOTDirectory attachments may be saved to or attached from. Unset disables attachment file access.APPLE_MAIL_MCP_VISIBLE_DRAFTSWhether compose tools open visible draft windows in Mail.app.
https://github.com/JonathanRReed/Apple-MCPs/releases/download/v1.1.4/apple-mail-1.1.4.mcpbDocumentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
Apple-MCPs
MCP servers that let an AI client use Apple apps and macOS tools. Create reminders, send messages, check calendars, search mail, manage files, and get directions.
The servers run on your Mac. Your MCP client may send returned data to its model provider, and Apple apps may sync through iCloud or another account. Local execution does not mean the data stays local.
Requires Python 3.11+ and macOS. Uses MCP specification 2026-07-28 and Python SDK 2.x, with support for older client protocol revisions. MIT license.
Install
Install uv, then register the unified server with your client.
Claude Code:
claude mcp add --transport stdio --scope user apple-tools -- uvx apple-tools-mcp
--scope user makes the server available in every project. To share it with one repository through its .mcp.json instead, use --scope project.
Codex:
codex mcp add apple-tools -- uvx apple-tools-mcp
Other stdio clients:
{
"mcpServers": {
"apple-tools": {
"command": "uvx",
"args": ["apple-tools-mcp"]
}
}
}
Run uvx apple-tools-mcp to start the server directly. Standalone servers use the same approach, such as uvx apple-mcp-mail or uvx apple-calendar-mcp.
Restart your client after installing or upgrading. Call search_tools with calendar health to check discovery without reading app data.
For Claude Desktop, download a server's .mcpb bundle from Releases and double-click it. To change its safety modes or folders later, open Settings > Extensions, choose the extension, and click Configure.
For other clients, set app-specific safety modes and directories in the server's env settings, then restart the client. An explicitly invalid or blank safety setting selects safe_readonly; the domain's health tool reports this in safety_mode_warning, and blocked tools name the exact setting to change. Unset settings keep each domain's documented default. One default differs by install method: Mail is safe_manage for uvx and pip installs, but full_access in the Claude Desktop bundles, which have always shipped that way. Set APPLE_MAIL_MCP_SAFETY_PROFILE (or the bundle's "Mail safety mode" setting) to choose. The configuration guide lists defaults and options. Mail attachments are disabled until you set APPLE_MAIL_MCP_ALLOWED_ATTACHMENT_ROOT to a dedicated directory. Files tools only access APPLE_FILES_MCP_ALLOWED_ROOTS; macOS may impose further restrictions.
Choose a server
Start with Apple-Tools-MCP. It combines all ten apps and tools below, plus saved defaults, contact routing, Mail thread helpers, undo, briefings, and cross-app workflows.
Choose a standalone server to expose fewer apps to your client:
| Server | macOS access | Health tool | Permission help |
|---|---|---|---|
| Automation access to Mail | mail_health | mail_permission_guide, mail_recheck_permissions | |
| Calendar | Calendar access | calendar_health | calendar_permission_guide, calendar_recheck_permissions |
| Reminders | Reminders access | reminders_health | reminders_permission_guide, reminders_recheck_permissions |
| Messages | Automation; Full Disk Access for history | messages_health | messages_permission_guide, messages_recheck_permissions |
| Contacts | Contacts access | contacts_health | contacts_permission_guide, contacts_recheck_permissions |
| Notes | Automation access to Notes | notes_health | notes_permission_guide, notes_recheck_permissions |
| Shortcuts | Usually no separate prompt | shortcuts_health | shortcuts_permission_guide, shortcuts_refresh_state |
| Files | Allowed roots and protected-folder access | files_health | files_permission_guide |
| System | Some actions need System Events, Accessibility, or Automation | system_health | system_permission_guide |
| Maps | No privacy prompt; Swift helper needs Xcode command line tools | maps_health | maps_permission_guide |
The unified server uses apple_health, apple_permission_guide, and apple_recheck_permissions. You must approve permissions yourself in the macOS prompt or System Settings.
Find and use tools
MCP tools/list returns each tool's schemas and read or write annotations. Use search_tools to search names, descriptions, and aliases; use get_tool_info for one tool's schema and examples.
Resolve recipients through Contacts before sending, unless you have the exact address. For Mail conversations, use mail_get_thread, mail_reply_latest_in_thread, or mail_archive_thread. Pass an exact sender email in from_account when the sending identity matters.
Mail search requires a query: a sender, subject fragment, or *. Reminders due_date requires a timezone offset, such as yyyy-MM-ddTHH:mm:ss-08:00. Messages sends default to iMessage. Pass service_name (SMS or RCS) to send through the paired iPhone; replies in SMS/RCS threads follow the thread's service automatically.
The unified server also provides apple_generate_daily_briefing, apple_generate_weekly_briefing, and apple_triage_communications_task. Clients without prompt support can use apple_list_prompts, apple_get_prompt, and their per-server equivalents.
For calls from Python, use the metadata in generated/tool_catalogs/ and wrappers in generated/tool_wrappers/python/. See code-mode.md.
Transport and stored state
stdio is the default. To use Streamable HTTP, set APPLE_<DOMAIN>_MCP_TRANSPORT=streamable-http and the matching _HOST and _PORT variables.
HTTP must bind to 127.0.0.1, ::1, or localhost. The servers have no remote authentication and reject network and wildcard binds. Do not expose them through a tunnel or public proxy.
Apple-Tools-MCP stores defaults in ~/.apple-tools-mcp/preferences.json, configurable through APPLE_AGENT_MCP_STATE_FILE. It stores recent actions in ~/.apple-tools-mcp/actions.json for audit and undo.
Develop
git clone https://github.com/JonathanRReed/Apple-MCPs.git
cd Apple-MCPs
uv sync --all-packages
The uv workspace installs every server into .venv/bin. Each server folder also has a start.sh for clients; it uses uv when available and otherwise creates a virtual environment. Root pyproject.toml defines workspace members, and uv.lock pins dependencies.
| Path | Contents |
|---|---|
Apple-Tools-MCP/ | Unified server; module apple_agent_mcp, environment prefix APPLE_AGENT_MCP_* |
Apple<Domain>-MCP/ | Standalone servers; Calendar uses Apple-Calendar-MCP |
AppleMCPCommon/ | Shared discovery and search, published as apple-mcp-common |
generated/ | Tool catalogs and Python wrappers |
scripts/ | Installation, checks, generation, and bundle builds |
docs/ | Project and launch documentation |
Run smoke checks:
bash scripts/inspector_smoke.sh
uv run python scripts/protocol_smoke.py
For the official conformance suite, start the server in a separate terminal:
APPLE_AGENT_MCP_TRANSPORT=streamable-http \
APPLE_AGENT_MCP_PORT=8765 \
APPLE_AGENT_MCP_CONFORMANCE_MODE=1 \
./Apple-Tools-MCP/start.sh
npx -y @modelcontextprotocol/conformance@0.2.0-alpha.11 server --url http://127.0.0.1:8765/mcp --requirements 2026-07-28
Conformance mode registers test fixtures. Use it only for protocol validation. CI runs lint, macOS and Linux tests, generated-file checks, Inspector smoke checks, and conformance tests.
Documentation
Contributing · Security · Troubleshooting · MCP compatibility · Publishing · Changelog · Trademark notice · Launch docs
Questions fréquentes
Qu'est-ce que Apple Mail ?
Read, search, compose, and send emails via Apple Mail on macOS.
Comment installer Apple Mail ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add apple-mail -e 'APPLE_MAIL_MCP_SAFETY_PROFILE=safe_manage' -e 'APPLE_MAIL_MCP_ALLOWED_ATTACHMENT_ROOT=<APPLE_MAIL_MCP_ALLOWED_ATTACHMENT_ROOT>' -e 'APPLE_MAIL_MCP_VISIBLE_DRAFTS=true' -- uvx apple-mcp-mail==1.1.4. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Apple Mail ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
Apple Mail est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient Apple Mail ?
Il est publié par JonathanRReed. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.