Resend MCP
Resend MCP Server is an MCP server that sends plain text and HTML emails directly from Cursor, supporting scheduling, CC, BCC, and customizable sender options for seamless email delivery.
How to Install and Use Resend MCP
Resend MCP is a tool that lets you send emails easily using the Resend API. You can use it with apps like Cursor or Claude Desktop to send emails directly without copying and pasting. Here’s a simple guide to get you started.
Clone the Project
First, you need to get the Resend MCP code on your computer. This is done by cloning the project from GitHub.
To do this, open your terminal or command prompt and type:
git clone https://github.com/resend/mcp-send-email.git
This command downloads the Resend MCP code to your local machine.
Build the Project
Once you have the code, you have to build it. Building means preparing everything needed to run the tool.
Navigate to the folder where you cloned the project. Then, run these commands:
npm install
npm run build
The first command installs all the required packages, and the second command builds the project.
Set Up Resend API Key
Next, you need to prepare your Resend account to allow sending emails.
- Create a free account at Resend.
- Generate your API key by going to the API Keys page.
- If you want to send emails from your own domain, verify your domain at Resend Domains.
You will use the API key in the next steps to connect Resend MCP with your account.
Add Resend MCP Server in Cursor
To use Resend MCP in Cursor, first open Cursor Settings.
Open the command palette by pressing:
cmd + shift + pon macOSctrl + shift + pon Windows
Then select Cursor Settings from the menu.
From the left sidebar, pick MCP and click on Add new global MCP server. Enter this configuration:
{
"mcpServers": {
"resend": {
"type": "command",
"command": "node ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT/build/index.js --key=YOUR_RESEND_API_KEY"
}
}
}
Replace ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT with the full path to the folder where you built the project. You can get this by right-clicking the build/index.js file and selecting Copy Path. Also, replace YOUR_RESEND_API_KEY with the API key you created earlier.
Test Sending an Email in Cursor
Now you can try sending emails with Resend MCP.
- Open the file named
email.md. - Change the
to:email address to your own email. - Select all the text in
email.mdand presscmd + l(or the equivalent on Windows). - Tell Cursor to send this as an email in the chat. Make sure Cursor is in Agent mode, shown on the lower left side.
This will send an email directly using Resend MCP.
Add Resend MCP Server in Claude Desktop
Using Resend MCP in Claude Desktop is also simple.
Open Claude Desktop settings and go to the Developer tab. Click Edit Config.
Add 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"
}
}
}
}
Replace ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT with the full project path and YOUR_RESEND_API_KEY with your key.
Test Sending Email in Claude Desktop
Close and reopen Claude Desktop. Check that the resend tool appears in the developer settings.
Then, chat with Claude and ask it to send you an email using the resend tool. This confirms everything is set up right.
Now you know how to install and use Resend MCP to send emails easily from Cursor and Claude Desktop. Just follow these steps, and you'll be sending emails in no time!