Email-MCP
# Email-MCP 服务
[](https://github.com/caijianying/email-mcp)
[](https://github.com/caijianying/email-mcp/blob/main/LICENSE)
[](https://caijianying.github.io)
[](https://github.com/caijianying/email-mcp)
这是一个基于 MCP 协议的邮件发送服务,它允许 AI 助手通过标准化接口自动发送电子邮件。
## 概述
虽然目前只测试了接入 Spring-AI 的 Java 服务,但本服务理论上适用于所有支持 MCP 协议的 AI 助手和客户端。
> 注意:目前仅支持本地运行环境
## 安装步骤
1. 克隆本仓库
```bash
git clone [仓库地址]
cd email-mcp
```
2. 安装依赖
```bash
npm install
```
3. 构建项目
```bash
npm run build
```
## 配置与运行
克隆仓库本地运行,请使用如下配置:
```json
{
"mcpServers": {
"email-mcp": {
"command": "node",
"args": [
"yourpath\\email-mcp\\build\\server.js",
"--verbose"
],
"env": {}
}
}
}
```
> 注意:请将 `yourpath` 替换为您实际的项目路径
## 使用指南
### 发送邮件
与 AI 助手交互时,只需提供以下必填参数即可发送邮件:
- SMTP服务器主机名(如:smtp.exmail.qq.com)
- 端口号(如:465)
- 发件邮箱(如:xxx@xx.com)
- 发件密码(如:*****)
- 收件人(如:xxx@qq.com)
- 邮件主题
- 邮件正文
示例:
```
SMTP服务器主机名是smtp.exmail.qq.com,端口是465,发件邮箱是xxx@xx.com,发件密码是*****,收件人是xxx@qq.com,正文是你好,好久不见,主题是测试
```
## 开发与贡献
有问题欢迎提 issue,大家共同进步!
## 许可证
本项目采用 Apache 许可证。详情请参阅 LICENSE 文件。
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool has a clear and distinct purpose of sending emails.
The naming is trivially consistent as there is only one tool. The tool name 'mcp_email_send' follows a clear pattern with a prefix, resource, and verb, though consistency cannot be assessed across multiple tools.
A single tool for an email server is too few for the apparent scope. Email management typically requires operations like reading, listing, deleting, or searching emails, making this set feel incomplete and thin.
The tool set is severely incomplete for an email domain. It only provides a send function, lacking essential operations such as receiving, reading, listing, or managing emails, which will cause significant agent failures in handling email-related tasks.