电子邮件发送 MCP 💌
这是一个简单的 MCP 服务器,它使用 Resend 的 API 发送电子邮件。为什么?因为现在您可以让 Cursor 或 Claude Desktop 为您撰写电子邮件并立即发送,而无需复制和粘贴电子邮件内容。
内置:
演示
https://github.com/user-attachments/assets/8c05cbf0-1664-4b3b-afb1-663b46af3464
光标
- 首先,您需要授权 Resend 从您的域名或邮箱发送电子邮件。请按照此处的步骤进行设置并获取 Resend API 密钥。
- 将此项目克隆到本地。编辑 index.ts 文件,将me@yoko.dev替换为你自己的邮箱,以便从以下邮箱发送电子邮件:
- 在项目目录下运行
npm install
和npm run build
。你会看到生成了 /build/index.js 文件 - 这就是 MCP 服务器脚本!
然后进入 Cursor Settings -> MCP -> Add new MCP server
- 姓名 = [选择您自己的姓名]
- 类型 = 命令
- 命令:
node ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js --key=YOUR_RESEND_API_KEY --sender=OPTIONAL_SENDER_EMAIL_ADDRESS --reply-to=OPTIONAL_REPLY_TO_EMAIL_ADDRESS_ONE --reply-to=OPTIONAL_REPLY_TO_EMAIL_ADDRESS_TWO
您可以在此处获取 Resend API 密钥: https://resend.com/
现在,您可以测试发送电子邮件,方法是:访问 email.md,替换收件人:电子邮件地址,在电子邮件 md 中选择全部,然后按 cmd+l。现在,您可以在聊天中告诉 Cursor“以电子邮件形式发送”。请确保 Cursor 聊天处于“代理”模式,方法是在左下角下拉菜单中选择“代理”。
克劳德桌面
与上述设置相同,然后添加以下 MCP 配置
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 mcp-send-email :
发展
npm install
npm run build
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
MCP 服务器允许 Claude Desktop 或 Cursor 使用 Resend 的 API 直接发送电子邮件,无需复制粘贴电子邮件内容。
Related MCP Servers
- AsecurityFlicenseAqualityA simple MCP server that enables users to send emails using Resend's API, integrating with tools like Cursor and Claude Desktop for seamless email composition and delivery.Last updated -16321TypeScript
- -securityAlicense-qualityMCP 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 -17PythonGPL 3.0
- AsecurityAlicenseAqualityA TypeScript-based MCP server that implements an email sending system, allowing Claude to send emails via the blastengine service.Last updated -1JavaScriptMIT License
- -securityAlicense-qualityThis MCP server provides email sending functionality using Protonmail's SMTP service. It allows both Claude Desktop and Cline VSCode extension to send emails on your behalf using your Protonmail credentials.Last updated -4JavaScriptMIT License