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:
npm install
Configuration
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
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
bun run dev
Production
bun run start
Build
bun run build
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:
{
"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>"
}
}
License
MIT
Resend MCP Server
Project Details
- pontusab/resend-mcp
- resend-mcp
- Last Updated: 3/14/2025
Categories
Recomended MCP Servers
Smart-Thinking Un serveur MCP (Model Context Protocol) qui fournit un cadre de raisonnement multi-dimensionnel, adaptatif et collaboratif pour...
A Whistle proxy management tool based on Model Context Protocol that allows AI assistants to directly control local...
Command line interface for MCP clients with secure execution and customizable security policies
Implementation of Model Context Protocol server for Mailgun APIs
MCP server that creates its own tools as needed
Model Context Protocol (MCP) server for the Webflow Data API.
A open-source library enabling AI models to control hardware devices via serial communication using the MCP protocol. Initial...
A MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like...
Model Context Protocol Minecraft Server
PDF to Markdown conversion tool
An experimental MCP server Rest Client intended to be a replacement of tools postman & insomnia