Resend MCP Server
by pontusab
Resend MCP Server
A Model Context Protocol (MCP) server implementation for the Resend email service.
Features
- Send emails using Resend through a standardized MCP interface
- TypeScript support
Prerequisites
- A Resend API key (get one at resend.com)
- Node.js 18 or later
Installation
- Clone the repository
- Install dependencies:
Copy
Configuration
Create a .env
file in the root directory with your Resend API key:
Copy
Development Status
The server implementation is currently blocked by TypeScript type issues with the MCP SDK. The following issues need to be resolved:
- The
Server
class from@modelcontextprotocol/sdk
is not properly exposing its request handling methods in the TypeScript types. - The exact method name for handling requests needs to be determined (tried:
handleRequest
,handle
,receiveMessage
,receive
,processRequest
).
Next Steps
- Check the MCP SDK documentation or source code for the correct method name
- Update the TypeScript types in the SDK if they are incorrect
- Consider using JavaScript temporarily until the types are fixed
Usage
Development
Copy
Production
Copy
Build
Copy
API
The server exposes the following MCP function:
send-email
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 format
Example request:
Copy
License
MIT
This server cannot be installed
Allows sending emails through the Resend service using a standardized Model Context Protocol (MCP) interface, with TypeScript support.