
Mac Mail MCP
io.github.wagamama由 GitHub 帳號 wagamama 發布v0.5.15更新於 Oct 24, 2026
Mac Mail MCP server with full-coverage FTS5 body search for local Apple Mail.
概覽
本機 MCP 伺服器,讓助理以磁碟優先方式存取 Mac 上的 Apple Mail,並透過本機 FTS5 索引對郵件內文做完整涵蓋搜尋。
- 可以做什麼
- 從磁碟讀取本機 Apple Mail 資料,並透過在本機建立的完整涵蓋 FTS5 索引搜尋郵件內文。建立與更新本機索引,包括在伺服器執行期間保持索引最新的監看模式。產生選用設定檔,並將索引範圍與工具預設範圍分開設定,使本機儲存的資料與工具預設範圍可以不同。在 Codex CLI 或 Claude Code 等 MCP 用戶端註冊此伺服器。
- 適用情境
- 當你想讓 Mac 上的助理搜尋與閱讀本機 Apple Mail 郵件封存時使用,特別適合需要快速全文內文搜尋的大型信箱,且你接受為本機郵件建立本機索引。
- 執行需求
- 僅限 macOS,以本機程序執行,從 PyPI 安裝(mac-mail-mcp,例如使用 pipx 或 uvx),並以 serve 指令啟動。需要先建立本機索引。未宣告驗證、環境變數或標頭。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mac Mail MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Apple App MCP
Workspace for MCP servers that expose local Apple app data to assistants.
Packages
Quick Start
Install the package you want:
Build local indexes for fast search:
Calendar authorization installs a small helper app with a stable macOS privacy
identity. Approve its Full Calendar Access prompt once so terminal, MCP, and
scheduled launchd rebuilds can use EventKit consistently. EventKit runs inside
that signed app identity; the Calendar MCP does not execute the helper's script
through an anonymous osascript process.
Generate optional config files:
Index scope is configured separately from tool defaults. Use [index]
settings such as Mail accounts or Calendar calendars to control what is
stored locally; use [defaults] settings to control what MCP tools use when
the caller omits a scope.
Codex CLI
Register one or both servers:
Confirm the registrations:
Claude Code
Create or edit .mcp.json in your project root:
Watch mode keeps the indexes current while the MCP servers are running. Mail uses file watching; Calendar performs a startup sync and then refreshes when Calendar's local SQLite database files change.
For global Claude Code configuration, put the same mcpServers object in
~/.claude/mcp.json.
Development
This repository is organized as a uv workspace. Each MCP server lives under
packages/ with its own package metadata, source, tests, and README.
Build distributions:
Documentation
- Shared agent instructions:
AGENTS.md - Mail domain notes:
MAIL.md - Calendar domain notes:
CALENDAR.md - MCP client setup guide:
docs/mcp-client-setup.md - Calendar implementation plan:
docs/superpowers/plans/2026-05-30-mac-calendar-mcp-implementation.md
Docs are deployed with GitHub Pages from .github/workflows/docs.yml. The
repository must have Pages configured once in Settings -> Pages -> Build and
deployment -> Source: GitHub Actions. The workflow deploys the built artifact;
it does not try to create or enable the Pages site because GitHub rejects that
operation from the default workflow token in some repositories.
Acknowledgements
This codebase is derived from
imdinu/apple-mail-mcp. Credit and
thanks go to the original authors and contributors for the Apple Mail MCP
foundation this repository builds on.
License
GPL-3.0-or-later
來源:README.md,提交 a82211a
工具
0版本歷史
1- v0.5.15最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分