Pontus Abrahamsson/resend-mcp
Built by Metorial, the integration platform for agentic AI.
Pontus Abrahamsson/resend-mcp
Server Summary
Send emails
A Model Context Protocol (MCP) server implementation for the Resend email service.
npm install
Create a .env
file in the root directory with your Resend API key:
RESEND_API_KEY=your_api_key_here
PORT=3000 # Optional, defaults to 3000
The server implementation is currently blocked by TypeScript type issues with the MCP SDK. The following issues need to be resolved:
Server
class from @modelcontextprotocol/sdk
is not properly exposing
its request handling methods in the TypeScript types.handleRequest
, handle
, receiveMessage
, receive
, processRequest
).bun run dev
bun run start
bun run build
The server exposes the following MCP function:
Sends an email using Resend.
Parameters:
from
(required): Sender email addressto
(required): Recipient email addresssubject
(required): Email subjecthtml
(optional): Email content in HTML formattext
(optional): Email content in plain text formatExample request:
{
"method": "send-email",
"params": {
"from": "[email protected]",
"to": "[email protected]",
"subject": "Hello from MCP",
"html": "HelloThis is a test email."
}
}
MIT