Skip to main content
Glama

Email Sending MCP

by resend

电子邮件发送 MCP 💌

这是一个简单的 MCP 服务器,它使用 Resend 的 API 发送电子邮件。为什么?因为现在您可以让 Cursor 或 Claude Desktop 为您撰写电子邮件并立即发送,而无需复制和粘贴电子邮件内容。

例如,您可以使用它来运行本地脚本、与 Claude 聊天或处理数据并将结果发送给您自己或您的团队。

内置:

特征

  • 发送纯文本和 HTML 电子邮件
  • 安排将来发送的电子邮件
  • 添加抄送和密送收件人
  • 配置回复地址
  • 可定制的发件人电子邮件(需要验证)

演示

https://github.com/user-attachments/assets/8c05cbf0-1664-4b3b-afb1-663b46af3464

设置

目前,您必须在本地构建项目才能使用此 MCP 服务器。然后在CursorClaude Desktop中添加该服务器,即可在任何 Cursor 或 Claude Desktop 聊天中使用它。

  1. 在本地克隆此项目。
git clone https://github.com/resend/mcp-send-email.git
  1. 构建项目
npm install npm run build
  1. 设置重新发送

创建一个免费的 Resend 帐户并创建一个 API 密钥。要发送到其他地址,您还需要验证自己的域名

[!NOTE] 有关如何使用“重新发送”发送电子邮件的更多信息,请参阅文档

光标

  1. 打开光标设置。

打开命令面板(macOS 上为cmd + shift + p或 Windows 上为ctrl + shift + p )并选择“光标设置”。

  1. 添加 MCP 服务器

从左侧边栏中选择“MCP”,然后点击“添加新的全局 MCP 服务器”。

添加以下配置:

{ "mcpServers": { "resend": { "type": "command", "command": "node ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT/build/index.js --key=YOUR_RESEND_API_KEY" } } }

您可以通过右键单击 Cursor 中的/build/index.js文件并选择Copy Path来获取构建脚本的绝对路径。

可能的论点

  • --key :您的重新发送 API 密钥(必需)
  • --sender :来自已验证域的发件人电子邮件地址(可选)
  • --reply-to :您的回复电子邮件地址(可选)

[!NOTE] 如果您不提供发件人电子邮件地址,MCP 服务器将在您每次调用该工具时要求您提供一个。

  1. 测试发送

现在您可以通过访问email.md来测试发送电子邮件。

  • 将收件人:电子邮件地址替换为您自己的
  • 选择email.md中的所有文本,然后按cmd+l
  • 在聊天中告诉光标“以电子邮件形式发送”(通过在左下方下拉菜单中选择“代理”确保光标处于代理模式)。

克劳德桌面

  1. 打开 Claude 的开发者配置文件

打开 Claude Desktop 设置并导航到“开发者”选项卡。单击Edit Config

  1. 添加 MCP 服务器

添加以下配置:

{ "mcpServers": { "resend": { "command": "node", "args": [ "ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT/build/index.js" ], "env": { "RESEND_API_KEY": "YOUR_RESEND_API_KEY", } } } }

您可以通过右键单击 IDE 中的/build/index.js文件并选择Copy Path来获取构建脚本的绝对路径。

可能的环境变量

  • RESEND_API_KEY :您的重新发送 API 密钥(必需)
  • SENDER_EMAIL_ADDRESS :来自已验证域的发件人电子邮件地址(可选)
  • REPLY_TO_EMAIL_ADDRESS :您的回复电子邮件地址(可选)

[!NOTE] 如果您不提供发件人电子邮件地址,MCP 服务器将在您每次调用该工具时要求您提供一个。

  1. 测试发送

关闭并重新打开 Claude Desktop。验证 Claude 开发者设置中是否提供了resend工具。

Claude Desktop 开发人员设置,显示“重新发送 MCP 服务器”

与 Claude 聊天并告诉它使用resend工具向您发送电子邮件。

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

一个简单的 MCP 服务器,使用户能够使用 Resend 的 API 发送电子邮件,并与 Cursor 和 Claude Desktop 等工具集成,实现无缝的电子邮件撰写和传递。

  1. 特征
    1. 演示
      1. 设置
        1. 光标
          1. 克劳德桌面

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              Integrates with Gmail to enable sending, reading, drafting, and managing emails via the Model Context Protocol (MCP), allowing users to interact with email tasks through automated client prompts.
              Last updated -
              Python
              GPL 3.0
            • -
              security
              A
              license
              -
              quality
              MCP server that integrates with Gmail to enable sending, reading, and managing emails through tools like send-email, trash-email, get-unread-emails, and read-email.
              Last updated -
              17
              Python
              GPL 3.0
              • Apple
            • -
              security
              F
              license
              -
              quality
              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.
              Last updated -
              6
              TypeScript
            • -
              security
              A
              license
              -
              quality
              An MCP server that enables sending emails directly through AWS SES without copy-pasting, supporting plain text and HTML emails with features like CC, BCC, and reply-to functionality.
              Last updated -
              TypeScript
              MIT License
              • Linux
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/resend/mcp-send-email'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server