Resend Email MCP server

Integrates with the Resend API to enable sending plain text emails with scheduling options and configurable reply-to addresses through command-line or environment variable configuration.
Back to servers
Setup instructions
Provider
Resend
Release date
Mar 07, 2025
Language
TypeScript
Stats
387 stars

This MCP server enables you to send emails directly through Resend's API from Cursor or Claude Desktop. This integration allows AI assistants to compose and send emails without requiring you to copy and paste content, streamlining your workflow for communications, local script outputs, or sharing processed data.

Features

  • Send plain text and HTML emails
  • Schedule emails for future delivery
  • Add CC and BCC recipients
  • Configure reply-to addresses
  • Customizable sender email (requires verification)
  • List Resend audiences

Installation

Prerequisites

  1. Create a free Resend account and create an API Key
  2. To send to other addresses, verify your domain with Resend

Setup Steps

  1. Clone the project repository:
git clone https://github.com/resend/mcp-send-email.git
  1. Build the project:
npm install
npm run build

Configuration

Cursor Configuration

  1. Open Cursor Settings:

    • Open the command palette (cmd+shift+p on macOS or ctrl+shift+p on Windows)
    • Choose "Cursor Settings"
  2. Add the MCP server:

    • Select "MCP" from the left sidebar
    • Click "Add new global MCP server"
    • Add the following configuration:
{
  "mcpServers": {
    "resend": {
      "type": "command",
      "command": "node ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT/build/index.js --key=YOUR_RESEND_API_KEY"
    }
  }
}

Configuration Options

You can customize the server with these arguments:

  • --key: Your Resend API key (required)
  • --sender: Your sender email address from a verified domain (optional)
  • --reply-to: Your reply-to email address (optional)

Claude Desktop Configuration

  1. Open Claude's Developer config file:

    • Open Claude Desktop settings
    • Navigate to the "Developer" tab
    • Click "Edit Config"
  2. Add the MCP server with this configuration:

{
  "mcpServers": {
    "resend": {
      "command": "node",
      "args": [
        "ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT/build/index.js"
      ],
      "env": {
        "RESEND_API_KEY": "YOUR_RESEND_API_KEY"
      }
    }
  }
}

Configuration Options

You can customize the server with these environment variables:

  • RESEND_API_KEY: Your Resend API key (required)
  • SENDER_EMAIL_ADDRESS: Your sender email address from a verified domain (optional)
  • REPLY_TO_EMAIL_ADDRESS: Your reply-to email address (optional)

Usage

Using with Cursor

  1. Create an email file (e.g., email.md) with your email content
  2. Replace the recipient address with your own email
  3. Select all text in the file and press cmd+l
  4. Tell Cursor to "send this as an email" in the chat
    • Ensure Cursor is in Agent mode (select "Agent" in the lower left dropdown)

Using with Claude Desktop

  1. Close and reopen Claude Desktop after adding the configuration
  2. Verify the resend tool is available in Claude developer settings
  3. Chat with Claude and instruct it to send an email using the resend tool

If you don't provide a sender email address in the configuration, the MCP server will prompt you to provide one each time you use the tool.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "resend" '{"type":"command","command":"node ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT/build/index.js --key=YOUR_RESEND_API_KEY"}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "resend": {
            "type": "command",
            "command": "node ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT/build/index.js --key=YOUR_RESEND_API_KEY"
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "resend": {
            "type": "command",
            "command": "node ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT/build/index.js --key=YOUR_RESEND_API_KEY"
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later