Resend MCP Server

by pontusab

Integrations

  • Allows sending emails through the Resend email service using a standardized MCP interface

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

  1. Clone the repository
  2. 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:

  1. The Server class from @modelcontextprotocol/sdk is not properly exposing its request handling methods in the TypeScript types.
  2. The exact method name for handling requests needs to be determined (tried: handleRequest, handle, receiveMessage, receive, processRequest).

Next Steps

  1. Check the MCP SDK documentation or source code for the correct method name
  2. Update the TypeScript types in the SDK if they are incorrect
  3. 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 address
  • to (required): Recipient email address
  • subject (required): Email subject
  • html (optional): Email content in HTML format
  • text (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

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Allows sending emails through the Resend service using a standardized Model Context Protocol (MCP) interface, with TypeScript support.

  1. Features
    1. Prerequisites
      1. Installation
        1. Configuration
          1. Development Status
            1. Next Steps
          2. Usage
            1. Development
            2. Production
            3. Build
          3. API
            1. send-email
          4. License

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              Integrates with Gmail to enable sending, reading, drafting, and managing emails via the Model Context Protocol (MCP), allowing users to interact with email tasks through automated client prompts.
              Last updated -
              Python
              GPL 3.0
            • A
              security
              F
              license
              A
              quality
              A 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 -
              1
              28
              321
              TypeScript
              • Apple
            • A
              security
              A
              license
              A
              quality
              A TypeScript-based MCP server that implements an email sending system, allowing Claude to send emails via the blastengine service.
              Last updated -
              1
              JavaScript
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              An MCP server that allows Claude Desktop or Cursor to send emails directly using Resend's API, eliminating the need to copy-paste email content.
              Last updated -
              28
              TypeScript

            View all related MCP servers

            ID: 2t6tnwcxa1