Skip to main content
Glama
omd01

AWS SES MCP

by omd01

aws-ses-mcp 📧

铁匠徽章

这是一个简单的 MCP 服务器,使用 AWS SES(简单电子邮件服务)发送电子邮件。非常适合与 Cursor 或 Claude Desktop 集成,无需复制粘贴即可直接撰写和发送电子邮件。该服务支持纯文本和 HTML 邮件,并具有抄送、密送和回复等高级功能。

特色✨

  • 发送纯文本和 HTML 电子邮件

  • 支持抄送和密送收件人

  • 可配置的回复地址

  • 可定制的发件人电子邮件(需要 AWS SES 验证)

  • 用于调试的完整请求/响应日志记录

  • 电子邮件调度功能

Related MCP server: Postmark MCP Server

先决条件📋

在开始之前,请确保您已:

  1. AWS SES 帐户设置和配置

  2. 在 AWS SES 中验证电子邮件域或个人电子邮件地址

  3. 具有 SES 权限的 AWS 凭证(访问密钥 ID 和秘密访问密钥)

  4. 您的系统上安装了 Node.js

安装🚀

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 aws-ses-mcp:

npx -y @smithery/cli install @omd01/aws-ses-mcp --client claude

手动安装

  1. 克隆此存储库:

git clone https://github.com/omd01/aws-ses-mcp.git
cd aws-ses-mcp
  1. 安装依赖项:

npm install
  1. 构建项目:

npm run build

配置⚙️

电子邮件格式示例(email.md)

{
  "to": "example@gmail.com",
  "subject": "Test!",
  "text": "This is a test email.",
  "cc": ["cc-recipient@example.com"],
  "bcc": ["bcc-recipient@example.com"]
}

设置说明🔧

对于光标

  1. 前往“光标设置”->“MCP”->“添加新的 MCP 服务器”

  2. 使用以下设置配置服务器:

    • 名称: aws-ses-mcp (或您喜欢的名称)

    • 类型: command

    • 命令:GXP6

对于克劳德桌面

将以下配置添加到您的 MCP 配置中:

{
  "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"
      }
    }
  }
}

用法📝

  1. 使用您的电子邮件内容创建或编辑email.md

  2. 在光标中:

    • 打开 email.md 文件

    • 选择内容

    • 按 cmd+l(或 ctrl+l)

    • 告诉 Cursor“以电子邮件形式发送”

    • 确保 Cursor 聊天处于代理模式

开发👩‍💻

npm install    # Install dependencies
npm run build  # Build the project

故障排除🔍

  • 检查控制台日志以获取详细的请求/响应信息

  • 验证您的 AWS 凭证和权限

  • 确保您的发件人电子邮件已在 AWS SES 中验证

  • 检查 AWS SES 控制台是否有任何退回邮件或投诉

贡献🤝

欢迎贡献代码!欢迎提交 Pull 请求。

许可证📄

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

MIT 许可证是一种简明扼要的许可证。它允许任何人对您的代码进行任何操作,只要他们向您提供版权归属,并且不追究您的责任。

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that allows Claude Desktop or Cursor to send emails directly using Resend's API, eliminating the need to copy-paste email content.
    25 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server implementation that enables sending emails via Postmark email services with features for sending plain text/HTML emails, using templates, tracking delivery statistics, and listing available templates.
    2,226 npm
    57
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI applications to send text, HTML, and template-based emails using SendGrid. It supports file attachments, CC/BCC recipients, and easy deployment via Python or Docker.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides email sending capabilities via SMTP, featuring tools for sending standard and template-based emails. It utilizes the FastMCP Streamable HTTP transport for flexible client connectivity over HTTP without requiring stdio subprocesses.
    5
    MIT