SM

shuakami/mcp-mail

Developer tools
48 stars 0 forks Quality 65 Trend 65

这是一个基于 MCP (Model Context Protocol) 的邮件工具,它能让 AI 模型通过标准化接口访问电子邮件服务。

Overview

这是一个基于 MCP (Model Context Protocol) 的邮件工具,它能让 AI 模型通过标准化接口访问电子邮件服务。

README

Mail MCP 工具

English Version (README-EN.md)

这是什么

这是一个基于 MCP (Model Context Protocol) 的邮件工具,它能让 AI 模型通过标准化接口访问电子邮件服务。

简单来说,它让 AI 助手能够执行各种邮件操作,如发送邮件、阅读收件箱、处理附件等,无需用户手动输入复杂的API调用或切换到邮件客户端。

快速上手

0. 环境准备

Installing via Smithery

To install Mail MCP Tool for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @shuakami/mcp-mail --client claude

1. 克隆并安装

git clone https://github.com/shuakami/mcp-mail.git
cd mcp-mail
npm install
npm run build

2. 构建项目

npm run build

3. 添加到 Cursor MCP 配置

根据你的操作系统,按照以下步骤配置 MCP:

4. 启动服务

配置好之后,重启 Cursor 编辑器,它会自动启动 MCP 服务。然后你就可以开始使用了。

工作原理

许可证

ISC


如果这个项目对你有帮助,欢迎给个 Star ⭐️ (。♥‿♥。)

View this README on GitHub

Install

npx -y @smithery/cli install @shuakami/mcp-mail --client claude

Configuration

{ "mcpServers": { "mail-mcp": { "command": "pythonw", "args": [ "C:/Users/你的用户名/mcp-mail/bridging_mail_mcp.py" ], "env": { "SMTP_HOST": "smtp.qq.com", "SMTP_PORT": "465", "SMTP_SECURE": "true", "SMTP_USER": "[email protected]", "SMTP_PASS": "your-app-specific-password", "IMAP_HOST": "imap.qq.com", "IMAP_PORT": "993", "IMAP_SECURE": "true", "IMAP_USER": "[email protected]", "IMAP_PASS": "your-app-specific-password", "DEFAULT_FROM_NAME": "Your Name", "DEFAULT_FROM_EMAIL": "[email protected]" } } } }