Apple Mail MCP
Apple Mail MCP is an MCP server that gives AI assistants full access to Apple Mail -- read, search, compose, organize, and analyze emails via natural language. Built with FastMCP. It has 237 GitHub stars, is released under the MIT license and runs locally with uvx mcp-apple-mail.
github.com/patrickfreyer/apple-mail-mcp (opens in a new tab)
Data as of from the GitHub API; description from the project's repository. Report an error
Install Apple Mail MCP
Generated from the server's published package. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"apple-mail-mcp": {
"command": "uvx",
"args": [
"mcp-apple-mail"
],
"env": {
"USER_EMAIL_PREFERENCES": "your-value",
"APPLE_MAIL_MCP_WRITE_DIRS": "your-value",
"APPLE_MAIL_MCP_ATTACH_DIRS": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env USER_EMAIL_PREFERENCES=your-value --env APPLE_MAIL_MCP_WRITE_DIRS=your-value --env APPLE_MAIL_MCP_ATTACH_DIRS=your-value --transport stdio apple-mail-mcp -- uvx mcp-apple-mailCursor
{
"mcpServers": {
"apple-mail-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-apple-mail"
],
"env": {
"USER_EMAIL_PREFERENCES": "your-value",
"APPLE_MAIL_MCP_WRITE_DIRS": "your-value",
"APPLE_MAIL_MCP_ATTACH_DIRS": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"apple-mail-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-apple-mail"
],
"env": {
"USER_EMAIL_PREFERENCES": "your-value",
"APPLE_MAIL_MCP_WRITE_DIRS": "your-value",
"APPLE_MAIL_MCP_ATTACH_DIRS": "your-value"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
USER_EMAIL_PREFERENCES | No | Shown in the README's example configuration. |
APPLE_MAIL_MCP_WRITE_DIRS | No | Shown in the README's example configuration. |
APPLE_MAIL_MCP_ATTACH_DIRS | No | Shown in the README's example configuration. |
About Apple Mail MCP
An MCP server that gives AI assistants full access to Apple Mail -- read, search, compose, organize, and analyze emails via natural language. Built with FastMCP.
- ai
- apple-mail
- applescript
- automation
- claude
- fastmcp
- macos
- mcp
- mcp-server
Similar MCP servers
More communication MCP servers
Agenticmail MCP Server
agenticmail/agenticmail
Real email and SMS for AI agents — send mail, receive verification codes, drive a real inbox.
Active · last commit Sep 13, 2026
CommunicationTypeScriptParse-DMARC MCP Server
dmarcguardhq/parse-dmarc
Lightweight DMARC parser: auto-fetch email reports, visualize compliance in a single all-in-one app.
Active · last commit Oct 25, 2026
OfficialCommunicationGothree.ws Notifications
nirholas/three.ws
Read the inbox, mark items read, manage delivery preferences, and register Web Push devices.
Active · last commit Oct 25, 2026
CommunicationJavaScriptAutopilot Jobhunt
tarunlnmiit/autopilot-jobhunt
Agentic job hunt: scan careers pages, score against your resume, draft applications.
Active · last commit Sep 15, 2026
CommunicationPythonAtomic Mail
Atomic-Mail/atomic-mail-agentic
Programmable email inbox for AI agents — JMAP, PoW auth, stdio MCP server.
Active · last commit Oct 22, 2026
CommunicationTypeScripte2a — email for AI agents
tokencanopy/e2a
Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.
Active · last commit Oct 22, 2026
CommunicationGo
How do I install the Apple Mail MCP MCP server?
Add the command uvx mcp-apple-mail to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Apple Mail MCP free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is Apple Mail MCP actively maintained?
The most recent commit was on Oct 21, 2026. The latest release is v3.2.1, published Oct 15, 2026. appsgit only lists MCP servers with a commit in the last six months.