这是一个简单的模型背景协议(MCP)服务器,使用AWS SES(Simple Email Service)发送邮件.
概览
这是一个简单的MCP服务器,使用AWS SES(Simple Email Service)发送邮件. 完全适合与 Cursor 或 Claude 桌面进行集成,在不复制复制的情况下直接作曲并发送电子邮件. 该服务既支持纯文本,也支持HTML电子邮件,具有CC,BCC等高级功能,以及回复功能. - 发送纯文本和 HTML 电子邮件 - 支持 CC 和 BCC 收件人 - 配置回复地址 - 自定义发送电子邮件( 需要 AWS SES 验证) - 调试的全部请求/响应记录 - 电子邮件调度能力 1. AWS SES账户设置并配置 2. AWS SES 3中验证的电子邮件域名或个人电子邮件地址. AWS 证书( Access Key ID and Secret Access Key) 具有 SES 权限 4 . 要通过 Smithery 自动为 Claude 桌面安装 aws- sess- mcp : 1. 转到光标设置 - > MCP - > 添加新的 MCP 服务器 2. 联合国.
概述(AI 翻译)
这是一个简单的MCP服务器,使用AWS SES(Simple Email Service)发送邮件. 完全适合与 Cursor 或 Claude 桌面进行集成,在不复制复制的情况下直接作曲并发送电子邮件. 该服务既支持纯文本,也支持HTML电子邮件,具有CC,BCC等高级功能,以及回复功能.
特性 #
- 发送纯文本和 HTML 电子邮件
- 支助CC和BCC接受者
- 可配置的地址回复
- 自定义发送电子邮件(需要AWS SES验证)
- 调试的全部请求/答复记录
- 电子邮件调度能力
□ 先决条件 □
在开始前,请确保:
- 建立和配置AWS SES账户
- AWS SES中核实的电子邮件域名或个人电子邮件地址
- AWS 证书(Access key ID and Secret Access Key),有SES权限
- 安装在您的系统中的节点js
□ 安装 □
通过 Smithery 安装
要通过 Smithery 自动为 Claude 桌面安装 aws- sess- mcp :
手动安装
-
克隆此存储器:
-
安装依赖性:
-
建设项目:
# 配置 # # # # # # ## # ## # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
QQ 示例电子邮件格式( email. md)
□ 设置指令 □
用于光标
- 联合国.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
aws-ses-mcp 📧
This is a simple MCP server that sends emails using AWS SES (Simple Email Service). Perfect for integrating with Cursor or Claude Desktop to compose and send emails directly without copy-pasting. The service supports both plain text and HTML emails with advanced features like CC, BCC, and reply-to functionality.
Features ✨
- Send plain text and HTML emails
- Support for CC and BCC recipients
- Configurable reply-to addresses
- Customizable sender email (requires AWS SES verification)
- Full request/response logging for debugging
- Email scheduling capability
Prerequisites 📋
Before you begin, ensure you have:
- AWS SES account set up and configured
- Verified email domain or individual email addresses in AWS SES
- AWS credentials (Access Key ID and Secret Access Key) with SES permissions
- Node.js installed on your system
Installation 🚀
Installing via Smithery
To install aws-ses-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @omd01/aws-ses-mcp --client claude
Manual Installation
- Clone this repository:
git clone https://github.com/omd01/aws-ses-mcp.git
cd aws-ses-mcp
- Install dependencies:
npm install
- Build the project:
npm run build
Configuration ⚙️
Example Email Format (email.md)
{
"to": "[email protected]",
"subject": "Test!",
"text": "This is a test email.",
"cc": ["[email protected]"],
"bcc": ["[email protected]"]
}
Setup Instructions 🔧
For Cursor
-
Go to Cursor Settings -> MCP -> Add new MCP server
-
Configure the server with these settings:
- Name:
aws-ses-mcp(or your preferred name) - Type:
command - Command:
node ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js \ --aws-access-key-id=YOUR_AWS_ACCESS_KEY_ID \ --aws-secret-access-key=YOUR_AWS_SECRET_ACCESS_KEY \ --aws-region=YOUR_AWS_REGION \ --sender=YOUR_SENDER_EMAIL \ --reply-to=REPLY_TO_EMAIL - Name:
For Claude Desktop
Add the following configuration to your MCP config:
{
"mcpServers": {
"aws-ses-mcp": {
"command": "node",
"args": ["ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js"],
"env": {
"AWS_ACCESS_KEY_ID": "YOUR_AWS_ACCESS_KEY_ID",
"AWS_SECRET_ACCESS_KEY": "YOUR_AWS_SECRET_ACCESS_KEY",
"AWS_REGION": "YOUR_AWS_REGION",
"SENDER_EMAIL_ADDRESS": "YOUR_SENDER_EMAIL",
"REPLY_TO_EMAIL_ADDRESSES": "REPLY_TO_EMAILS_COMMA_SEPARATED"
}
}
}
}
Usage 📝
- Create or edit
email.mdwith your email content - In Cursor:
- Open the email.md file
- Select the content
- Press cmd+l (or ctrl+l)
- Tell Cursor to “send this as an email”
- Ensure Cursor chat is in Agent mode
Development 👩💻
安装
npx -y @smithery/cli install @omd01/aws-ses-mcp --client claude配置
{
"mcpServers": {
"aws-ses-mcp": {
"command": "node",
"args": ["ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js"],
"env": {
"AWS_ACCESS_KEY_ID": "YOUR_AWS_ACCESS_KEY_ID",
"AWS_SECRET_ACCESS_KEY": "YOUR_AWS_SECRET_ACCESS_KEY",
"AWS_REGION": "YOUR_AWS_REGION",
"SENDER_EMAIL_ADDRESS": "YOUR_SENDER_EMAIL",
"REPLY_TO_EMAIL_ADDRESSES": "REPLY_TO_EMAILS_COMMA_SEPARATED"
}
}
}
}