Apple Mail MCP
MCP server for Apple Mail on macOS.
Provides access to mailboxes, message search, reading, and composition. Keep Mail as the system of record while enabling agents to search, read, draft, and send email.
When to use
- Mail-only workflows
- Tighter permissions than the all-in-one server
- Draft and send workflows through the native Mail app
What It Does
- List mailboxes
- Search and read messages
- Create drafts and send messages
- Reply, forward, mark read/unread, move, and delete
- Tool discovery helpers
search_toolsandget_tool_infofor context-constrained clients - Thread helpers:
mail_get_thread,mail_reply_latest_in_thread,mail_archive_thread - Mailbox resources and reply-oriented prompts
- Health and permission checks:
mail_health,mail_permission_guide,mail_recheck_permissions
Tools
mail_health, mail_permission_guide, mail_recheck_permissions, mail_list_mailboxes, mail_search_messages, mail_get_message, mail_get_thread, mail_compose_draft, mail_send_message, mail_reply_message, mail_forward_message, mail_mark_message, mail_move_message, mail_delete_message, mail_reply_latest_in_thread, mail_archive_thread, mail_list_prompts, mail_get_prompt, plus the discovery helpers search_tools and get_tool_info.
Install On This Mac
From a clone
git clone https://github.com/JonathanRReed/Apple-MCPs.git
cd Apple-MCPs
uv sync --all-packages
This builds one workspace environment with every server's entry point in .venv/bin (for example .venv/bin/apple-mail-mcp). You can also point an MCP client at AppleMail-MCP/start.sh, which prefers uv run and falls back to a plain venv bootstrap (Python 3.11+ required).
Install In AI Agents
Generic MCP client config
{
"mcpServers": {
"apple-mail": {
"command": "uvx",
"args": ["apple-mcp-mail"],
"env": {
"APPLE_MAIL_MCP_SAFETY_PROFILE": "safe_manage",
"APPLE_MAIL_MCP_VISIBLE_DRAFTS": "true"
}
}
}
}
Running from a clone instead? Use /path/to/Apple-MCPs/AppleMail-MCP/start.sh as the command with empty args.
Claude Code example
claude mcp add --transport stdio --scope project apple-mail -- uvx apple-mcp-mail
Safety Modes
safe_readonly, read and search onlysafe_manage, read plus draft creationfull_access, full Mail tool surface in this repo
Transport
stdio is the default and recommended transport. Set APPLE_MAIL_MCP_TRANSPORT=streamable-http (with optional APPLE_MAIL_MCP_HOST and APPLE_MAIL_MCP_PORT) to serve Streamable HTTP instead.
macOS Permissions
- Automation access to Mail is required
Launch Checklist
- Add
uvx apple-mcp-mail(or a clone'sAppleMail-MCP/start.sh) to your MCP client - Reload or reconnect the client so the Mail tool surface is loaded into context
- Call
mail_healthfirst to confirm the server is reachable - If Mail automation is blocked, call
mail_permission_guide - After changing macOS permissions, call
mail_recheck_permissions
Prompting Notes
- Run Contacts before any send or reply when the user identifies a person rather than an email address.
tools/listreturns the full Mail tool surface. Context-constrained clients can callsearch_toolsfirst, thenget_tool_infofor the exact Mail tool they plan to call.mail_search_messagesrequires a query string. Use a sender, a subject fragment, or*as a wildcard.- There is no list-all recent-mail endpoint.
- Use
mail_get_threadwhen the user means a conversation, not a single message. - Use
mail_reply_latest_in_threadwhen the agent should reply to the newest message in the conversation. - Use
mail_archive_threadwhen the user wants thread-level cleanup and Archive is the intended mailbox. - If the user could mean text or email, ask once before choosing Messages or Mail.
- When Mail must send from a specific identity, pass the exact sender email in
from_account.
Related
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apple_mcp_mail-1.0.2.tar.gz.
File metadata
- Download URL: apple_mcp_mail-1.0.2.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
570b3e96cd7c732417b154c1a1712ec80b9e5390023792de34a330c06e7e10a5
|
|
| MD5 |
0b9cb450f4c0d69272b7f905a93006ad
|
|
| BLAKE2b-256 |
72d06472fedde548642d5fb74af30745360dc50e3e4ab47966b50ddbdcf3099c
|
Provenance
The following attestation bundles were made for apple_mcp_mail-1.0.2.tar.gz:
Publisher:
release.yml on JonathanRReed/Apple-MCPs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apple_mcp_mail-1.0.2.tar.gz -
Subject digest:
570b3e96cd7c732417b154c1a1712ec80b9e5390023792de34a330c06e7e10a5 - Sigstore transparency entry: 2348226895
- Sigstore integration time:
-
Permalink:
JonathanRReed/Apple-MCPs@60c2d5aafb6fa38f1b2e992a03bcf0f9f31b020a -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/JonathanRReed
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@60c2d5aafb6fa38f1b2e992a03bcf0f9f31b020a -
Trigger Event:
push
-
Statement type:
File details
Details for the file apple_mcp_mail-1.0.2-py3-none-any.whl.
File metadata
- Download URL: apple_mcp_mail-1.0.2-py3-none-any.whl
- Upload date:
- Size: 30.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b724811d39b56d6f00cdf8cf1846624cae3b138881d504aa1c672fce2cc4dbd8
|
|
| MD5 |
cb4e2402ded9964defb56248a16c99da
|
|
| BLAKE2b-256 |
a02745fb6110bd042caae2727567fcb019d17afc6a4c99684e70395a1ded40b2
|
Provenance
The following attestation bundles were made for apple_mcp_mail-1.0.2-py3-none-any.whl:
Publisher:
release.yml on JonathanRReed/Apple-MCPs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apple_mcp_mail-1.0.2-py3-none-any.whl -
Subject digest:
b724811d39b56d6f00cdf8cf1846624cae3b138881d504aa1c672fce2cc4dbd8 - Sigstore transparency entry: 2348227842
- Sigstore integration time:
-
Permalink:
JonathanRReed/Apple-MCPs@60c2d5aafb6fa38f1b2e992a03bcf0f9f31b020a -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/JonathanRReed
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@60c2d5aafb6fa38f1b2e992a03bcf0f9f31b020a -
Trigger Event:
push
-
Statement type: