
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 分