Practical overview
When it fits
Use it when Apple Mail is configured on a Mac and an MCP-compatible assistant needs tools to find, review, organize or draft email. The Codex CLI registration flow is documented for clients that can launch the server through uvx.
Who it is for
- Mac users who manage email in Apple Mail and want to use an MCP-compatible assistant for email tasks.
- Developers configuring an MCP server for a client such as Claude Code, Codex or Claude Desktop.
Documented uses
- Search messages by subject, sender, body text, dates, attachments or flag status, including across accounts.
- Review inboxes, unread counts, account addresses, mailbox contents and conversation threads.
- Move messages, create mailboxes, update read or flag status, and manage trash.
- Compose, reply to or forward messages; create, review and send drafts.
- Generate mailbox statistics or create a rich HTML email draft.
Requirements & limits
The server requires macOS with Apple Mail configured, an MCP-compatible client, and Mail Automation and Mail Data Access permissions. The README specifies Python 3.10 or later and uv for its plugin and uvx installation paths. The repository displays an MIT license.
- The service operates through Apple Mail on macOS; it is not a webmail service.
- The primary setup requires a compatible MCP client and macOS Mail permissions.
- Read-only mode blocks send actions, but draft and open actions remain available.
- Batch-operation defaults are 10 messages for status updates, 5 for trash operations and 1 for moves; the README says these can be overridden through function parameters.
- Searches can be narrowed by setting
include_content: falseand reducingmax_resultsif they are slow.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Register the server with Codex
Add Apple Mail MCP Server to a Codex client using the documented uvx command.
Before you start
- macOS with Apple Mail configured
- Python 3.10 or later and uv, with uvx available on PATH
- A Codex CLI, desktop app or IDE extension and Mail Automation and Mail Data Access permissions
Steps
Run
codex mcp add apple-mail -- uvx mcp-apple-mail.Run
codex mcp listto review the registered MCP server.Restart the client or start a new CLI session; in the CLI, use
/mcpto check the connection and ask it to list Apple Mail accounts.
Expected outcome
The Apple Mail MCP server is registered in Codex, ready for the client to connect to the configured Mail accounts.
Guide limitations
- This registers the MCP server; the optional Email Management Expert skill requires a separate installation.
- If the desktop app cannot find uvx, the README instructs using the absolute path returned by
command -v uvxas the TOML command value. - Grant macOS Automation permission to control Mail when prompted; the documentation also lists Mail Data Access permission as a requirement.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 28 November 2026
- Original website title
- patrickfreyer/apple-mail-mcp · Official homepage title · retained in its source language

