电子邮件发送 MCP 💌
这是一个简单的 MCP 服务器,它使用 Resend 的 API 发送电子邮件。为什么?因为现在您可以让 Cursor 或 Claude Desktop 为您撰写电子邮件并立即发送,而无需复制和粘贴电子邮件内容。
例如,您可以使用它来运行本地脚本、与 Claude 聊天或处理数据并将结果发送给您自己或您的团队。
内置:
特征
发送纯文本和 HTML 电子邮件
安排将来发送的电子邮件
添加抄送和密送收件人
配置回复地址
可定制的发件人电子邮件(需要验证)
演示
https://github.com/user-attachments/assets/8c05cbf0-1664-4b3b-afb1-663b46af3464
设置
目前,您必须在本地构建项目才能使用此 MCP 服务器。然后在Cursor或Claude Desktop中添加该服务器,即可在任何 Cursor 或 Claude Desktop 聊天中使用它。
在本地克隆此项目。
构建项目
设置重新发送
创建一个免费的 Resend 帐户并创建一个 API 密钥。要发送到其他地址,您还需要验证自己的域名。
有关如何使用“重新发送”发送电子邮件的更多信息,请参阅文档。
光标
打开光标设置。
打开命令面板(macOS 上为cmd + shift + p或 Windows 上为ctrl + shift + p )并选择“光标设置”。
添加 MCP 服务器
从左侧边栏中选择“MCP”,然后点击“添加新的全局 MCP 服务器”。
添加以下配置:
您可以通过右键单击 Cursor 中的/build/index.js文件并选择Copy Path来获取构建脚本的绝对路径。
可能的论点
--key:您的重新发送 API 密钥(必需)--sender:来自已验证域的发件人电子邮件地址(可选)--reply-to:您的回复电子邮件地址(可选)
如果您不提供发件人电子邮件地址,MCP 服务器将在您每次调用该工具时要求您提供一个。
测试发送
现在您可以通过访问email.md来测试发送电子邮件。
将收件人:电子邮件地址替换为您自己的
选择
email.md中的所有文本,然后按cmd+l在聊天中告诉光标“以电子邮件形式发送”(通过在左下方下拉菜单中选择“代理”确保光标处于代理模式)。
克劳德桌面
打开 Claude 的开发者配置文件
打开 Claude Desktop 设置并导航到“开发者”选项卡。单击Edit Config 。
添加 MCP 服务器
添加以下配置:
您可以通过右键单击 IDE 中的/build/index.js文件并选择Copy Path来获取构建脚本的绝对路径。
可能的环境变量
RESEND_API_KEY:您的重新发送 API 密钥(必需)SENDER_EMAIL_ADDRESS:来自已验证域的发件人电子邮件地址(可选)REPLY_TO_EMAIL_ADDRESS:您的回复电子邮件地址(可选)
如果您不提供发件人电子邮件地址,MCP 服务器将在您每次调用该工具时要求您提供一个。
测试发送
关闭并重新打开 Claude Desktop。验证 Claude 开发者设置中是否提供了resend工具。
与 Claude 聊天并告诉它使用resend工具向您发送电子邮件。
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 等工具集成,实现无缝的电子邮件撰写和传递。
Related Resources
Related MCP Servers
- -security-license-qualityAllows sending emails through the Resend service using a standardized Model Context Protocol (MCP) interface, with TypeScript support.Last updated -2215
- Asecurity-licenseAqualityA TypeScript-based MCP server that implements an email sending system, allowing Claude to send emails via the blastengine service.Last updated -1MIT License
- -security-license-qualityAn 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
- -security-license-qualityAn MCP server that enables Gmail integration, allowing users to manage emails (send, receive, read, trash, mark as read) directly through MCP clients like Claude Desktop.Last updated -MIT License