Cover image
Try Now
2025-03-22

这是一个简单的模型上下文协议(MCP)服务器,它使用AWS SES(简单的电子邮件服务)发送电子邮件。非常适合与光标或Claude Desktop集成,以直接撰写和发送电子邮件而无需复制。该服务支持具有CC,BCC和回复功能等高级功能的纯文本和HTML电子邮件。

3 years

Works with Finder

2

Github Watches

1

Github Forks

1

Github Stars

aws-ses-mcp 📧

smithery badge

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:

  1. AWS SES account set up and configured
  2. Verified email domain or individual email addresses in AWS SES
  3. AWS credentials (Access Key ID and Secret Access Key) with SES permissions
  4. 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

  1. Clone this repository:
git clone https://github.com/omd01/aws-ses-mcp.git
cd aws-ses-mcp
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Configuration ⚙️

Example Email Format (email.md)

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

Setup Instructions 🔧

For Cursor

  1. Go to Cursor Settings -> MCP -> Add new MCP server

  2. 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
    

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 📝

  1. Create or edit email.md with your email content
  2. 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 👩‍💻

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

Troubleshooting 🔍

  • Check the console logs for detailed request/response information
  • Verify your AWS credentials and permissions
  • Ensure your sender email is verified in AWS SES
  • Review the AWS SES console for any bounces or complaints

Contributing 🤝

Contributions are welcome! Please feel free to submit a Pull Request.

License 📄

This project is licensed under the MIT License - see the LICENSE file for details.

The MIT License is a permissive license that is short and to the point. It lets people do anything they want with your code as long as they provide attribution back to you and don't hold you liable.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

    Reviews

    3 (1)
    Avatar
    user_OTo4erBZ
    2025-04-15

    As a dedicated user of the Gmail Server for Model Context Protocol (MCP), I am thoroughly impressed with its seamless integration and performance. The server by MCP-Mirror offers robust capabilities and has significantly optimized my email management. I highly recommend it to anyone seeking an efficient and reliable MCP solution for Gmail. Check it out here: https://mcp.so/server/jasonsum_gmail-mcp-server/MCP-Mirror.