mcp-mail
by shuakami·★ 48·综合分 42
基于 MCP 的智能邮件管理工具,可让 AI 处理邮件的发送、接收和组织等操作。
概述
MCP 邮件工具是一个基于模型上下文协议(MCP)构建的综合邮件管理解决方案,使 AI 模型能够通过标准化 API 与邮件服务交互。它提供多种功能,包括邮件发送(文本、HTML、带附件)、收件箱管理、高级搜索功能、附件处理和联系人管理。该工具充当 AI 系统和邮件服务器之间的桥梁,使用 nodemailer 处理 SMTP 操作,使用 node-imap 处理 IMAP 操作,确保敏感邮件数据的安全本地处理。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要 AI 驱动的邮件管理功能,包括阅读和撰写邮件时,特别是当您已经在使用支持 MCP 协议的 AI 助手时,选择此服务器。
什么时候不要选它
如果您需要超越邮件的日历集成或任务管理功能,或者使用的是不支持添加自定义服务器的非 MCP 兼容 AI 助手,请不要选择此工具。
此 server 暴露的工具
从 README 抽取出 12 个工具send_emailSend an email with support for text, HTML, and attachments
list_foldersGet a list of email folders in the mailbox
list_emailsList emails in a specific folder with filtering options
get_email_detailsGet detailed information about a specific email
search_emailsAdvanced search for emails using multiple criteria
mark_email_readMark an email as read
delete_emailDelete a specific email
move_emailMove an email to a different folder
list_attachmentsList attachments in a specific email
download_attachmentDownload an attachment from a specific email
list_contactsGet a list of contacts extracted from emails
search_contactsSearch for contacts by name or email
可对比工具
安装
安装
通过 Smithery 安装
npx -y @smithery/cli install @shuakami/mcp-mail --client claude手动安装
- 克隆并安装:
git clone https://github.com/shuakami/mcp-mail.git
cd mcp-mail
npm install
npm run build- 添加到 Claude MCP 配置文件 (
~/.cursor/mcp.json):
{
"mcpServers": {
"mail-mcp": {
"command": "pythonw",
"args": [
"/Users/你的用户名/mcp-mail/bridging_mail_mcp.py"
],
"env": {
"SMTP_HOST": "smtp.qq.com",
"SMTP_PORT": "465",
"SMTP_SECURE": "true",
"SMTP_USER": "your.email@qq.com",
"SMTP_PASS": "your-app-specific-password",
"IMAP_HOST": "imap.qq.com",
"IMAP_PORT": "993",
"IMAP_SECURE": "true",
"IMAP_USER": "your.email@qq.com",
"IMAP_PASS": "your-app-specific-password",
"DEFAULT_FROM_NAME": "Your Name",
"DEFAULT_FROM_EMAIL": "your.email@qq.com"
}
}
}
}FAQ
- 支持哪些邮件服务?
- 该工具支持所有使用标准 SMTP 和 IMAP 协议的邮件服务,包括 QQ 邮箱、Gmail、Outlook 等。
- 我的邮件数据安全吗?
- 是的,所有邮件操作都在本地处理,不会通过第三方服务器转发敏感信息。
mcp-mail 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。