Resend MCP Server
重新发送 MCP 服务器
用于重新发送电子邮件服务的模型上下文协议 (MCP) 服务器实现。
特征
通过标准化 MCP 界面使用 Resend 发送电子邮件
TypeScript 支持
Related MCP server: Email sending MCP
先决条件
重新发送 API 密钥(在resend.com获取)
Node.js 18 或更高版本
安装
克隆存储库
安装依赖项:
npm install配置
使用您的 Resend API 密钥在根目录中创建一个.env文件:
RESEND_API_KEY=your_api_key_here
PORT=3000 # Optional, defaults to 3000开发现状
目前,服务器实现因 MCP SDK 的 TypeScript 类型问题而受阻。以下问题需要解决:
@modelcontextprotocol/sdk中的Server类没有在 TypeScript 类型中正确公开其请求处理方法。需要确定处理请求的确切方法名称(尝试过:
handleRequest、handle、receiveMessage、receive、processRequest)。
后续步骤
检查 MCP SDK 文档或源代码以获取正确的方法名称
如果 SDK 中的 TypeScript 类型不正确,请更新它们
考虑暂时使用 JavaScript,直到类型修复
用法
发展
bun run dev生产
bun run start建造
bun run buildAPI
服务器公开以下 MCP 功能:
发送电子邮件
使用“重新发送”发送电子邮件。
参数:
from(必填):发件人电子邮件地址to(必填):收件人电子邮件地址subject(必填):电子邮件主题html(可选):HTML 格式的电子邮件内容text(可选):纯文本格式的电子邮件内容
示例请求:
{
"method": "send-email",
"params": {
"from": "you@example.com",
"to": "recipient@example.com",
"subject": "Hello from MCP",
"html": "<h1>Hello</h1><p>This is a test email.</p>"
}
}执照
麻省理工学院
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/pontusab/resend-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server