Installation¶
With pipx (Recommended)¶
A persistent install is recommended because the FTS5 search index (~/.apple-mail-mcp/index.db) is built once and reused across sessions. Ephemeral runners like pipx run or uvx work but won't benefit from the cached index.
With uv¶
With pip¶
From Source¶
For development or to run the latest unreleased version:
Run with:
Prerelease Versions¶
To install a prerelease (e.g., v0.2.0a1):
pipx install apple-mail-mcp --pip-args='--pre'
# or
uv tool install apple-mail-mcp --prerelease=allow
Verify Installation¶
This prints the index status. If you see output (even "no index found"), the installation is working.
Requirements¶
| Requirement | Version |
|---|---|
| macOS | Ventura or later |
| Python | 3.11+ |
| Apple Mail | Configured with ≥1 account |
Note
Apple Mail MCP is macOS-only. It requires Apple Mail and the osascript runtime for JXA execution.