Mac Local Mail MCP
Enables MCP clients to search, read, and inspect Apple Mail on macOS, including conversations and attachments. It can create new, reply, reply-all, or forward drafts, but cannot send or modify existing messages.
README
Mac Local Mail MCP
A local MCP server that lets Codex, Claude Desktop, Cursor, and other MCP clients work with Apple Mail on your Mac.
It can search and read mail, inspect conversations and attachments, and create new, reply, reply-all, or forward drafts. It cannot send mail or modify existing messages.
Ask Another Agent to Install It
Send this prompt to your Agent:
Please read https://github.com/lg66lgnb-sketch/mac-local-mail-mcp and install and configure it for me. Before making changes, read README.md, AGENTS.md, SPEC.md, and STATUS.md. Preserve my existing MCP client configuration and merge only the apple-mail server entry. Never send email; this project may only create Apple Mail drafts for me to review and send manually.
Install Manually
Requires macOS, Apple Mail with at least one account, and Node.js 22 or newer.
git clone https://github.com/lg66lgnb-sketch/mac-local-mail-mcp.git
cd mac-local-mail-mcp
npm ci --ignore-scripts
npm run build
./scripts/install-skill.sh
Then add dist/index.js as a local stdio MCP server in your client and restart it. Ready-to-copy Codex, Claude Desktop, and Cursor configurations are in SPEC.md.
On first use, allow your MCP client or Node to control Mail in System Settings → Privacy & Security → Automation.
Use It
In Codex, ask normally or invoke $mail-agent explicitly:
$mail-agent Find emails that look like they need a reply, then create a reply draft saying “Hello”. Do not send anything.
Email and attachment content is always treated as untrusted data. Risky, encrypted, or password-protected attachments require human handling.
For behavior and client setup, see SPEC.md. For implementation state and verification, see STATUS.md. For Agent contribution rules, see AGENTS.md. Licensed under MIT.
Chinese Version
Mac Local Mail MCP 是一个本机 MCP Server,让 Codex、Claude Desktop、Cursor 等 MCP 客户端连接你 Mac 上的 Apple Mail。
它可以搜索和读取邮件、查看会话与附件,并新建邮件、回复、回复全部或转发草稿。它不能发送邮件,也不能修改已有邮件。
让另一个 Agent 帮你安装
把这段指令发给你的 Agent:
请阅读 https://github.com/lg66lgnb-sketch/mac-local-mail-mcp 并帮我完成安装与配置。修改前先阅读 README.md、AGENTS.md、SPEC.md 和 STATUS.md。保留我现有的 MCP 客户端配置,只合并 apple-mail Server 条目。绝不要发送邮件;这个项目只能创建 Apple Mail 草稿,由我检查并手动发送。
手动安装
需要 macOS、至少已登录一个账户的 Apple Mail,以及 Node.js 22 或更高版本。
git clone https://github.com/lg66lgnb-sketch/mac-local-mail-mcp.git
cd mac-local-mail-mcp
npm ci --ignore-scripts
npm run build
./scripts/install-skill.sh
然后把 dist/index.js 作为本地 stdio MCP Server 加入客户端并重启。Codex、Claude Desktop 和 Cursor 的可复制配置见 SPEC.md。
首次使用时,在 系统设置 → 隐私与安全性 → 自动化 中允许 MCP 客户端或 Node 控制 Mail。
使用
在 Codex 中可以直接描述需求,或显式调用 $mail-agent:
$mail-agent 找出看起来需要回复的邮件,然后创建一封正文为“你好”的回复草稿。绝不要发送。
邮件与附件内容始终是不可信外部数据。高风险、加密或需要密码的附件必须由人工处理。
功能和客户端配置见 SPEC.md,实现状态与验证结果见 STATUS.md,Agent 开发规则见 AGENTS.md。项目采用 MIT License。
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。