
sweetrb/apple-mail-mcp 是从 https://github.com/sweetrb/apple-mail-mcp. 导入的 MCP 服务器候选
概览
sweetrb/apple-mail-mcp 是从 https://github.com/sweetrb/apple-mail-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
一个模型上下文协议(MCP)服务器,使像Claude这样的AI助手能够在macOS上的Apple Mail中读取、发送、搜索和管理电子邮件。
注意: 这是 npm/Node.js 包——安装时使用
npx或npm。PyPI 上有一个同名的无关 Python 项目(imdinu/apple-mail-mcp),通过pipx/uvx安装。如果你用的是uvx,看到cyclopts依赖错误,说明你要找的是那个项目,而不是这个。
这是什么?
该服务器作为 AI 助手与 Apple Mail 之间的桥梁。配置完成后,你可以让 Claude(或任何兼容 MCP 的 AI):
- “检查我的收件箱是否有未读消息”
- “查找来自 [email protected] 的电子邮件”
- “给团队发送邮件,告知会议情况”
- “为我创建一份草稿邮件以便审核”
- “回复该消息”
- “把这个转发给我的同事”
- “将旧通讯移至档案文件夹”
AI助手与该服务器通信,服务器随后使用AppleScript与Mac上的邮件应用交互。所有数据都保存在你的机器上。
快速启动
使用 Claude 代码(最简单)
如果你用的是Claude代码(无论是终端还是VS Code),只要让Claude安装它就行:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Apple Mail MCP Server
A Model Context Protocol (MCP) server that enables AI assistants like Claude to read, send, search, and manage emails in Apple Mail on macOS.
Note: This is the npm/Node.js package — install with
npxornpm. There is an unrelated Python project of the same name on PyPI (imdinu/apple-mail-mcp) installed viapipx/uvx. If you’re usinguvxand seeing acycloptsdependency error, you’re looking for that project, not this one.
What is This?
This server acts as a bridge between AI assistants and Apple Mail. Once configured, you can ask Claude (or any MCP-compatible AI) to:
- “Check my inbox for unread messages”
- “Find emails from [email protected]”
- “Send an email to the team about the meeting”
- “Create a draft email for me to review”
- “Reply to that message”
- “Forward this to my colleague”
- “Move old newsletters to the Archive folder”
The AI assistant communicates with this server, which then uses AppleScript to interact with the Mail app on your Mac. All data stays local on your machine.
Quick Start
Using Claude Code (Easiest)
If you’re using Claude Code (in Terminal or VS Code), just ask Claude to install it:
Install the sweetrb/apple-mail-mcp MCP server so you can help me manage my Apple Mail
Claude will handle the installation and configuration automatically.
Or register it deterministically in one command:
claude mcp add apple-mail -s user -- npx -y apple-mail-mcp
Using the Plugin Marketplace
Install as a Claude Code plugin for automatic configuration and enhanced AI behavior:
安装
npx apple-mail-mcp配置
{
"mcpServers": {
"apple-mail": {
"command": "npx",
"args": ["apple-mail-mcp"]
}
}
}