This MCP server enables LLMs to compose and send emails on your behalf using the Resend API, offering a convenient way to automate email communication through AI assistance.
The easiest way to use the Resend MCP Server is through the Clinde desktop app:
Clinde handles all the installation and configuration automatically.
To integrate with Claude Desktop, add the following configuration to your claude_desktop_config.json
:
{
"mcpServers": {
"resend-mcp": {
"command": "npx",
"args": [
"-y",
"resend-mcp"
],
"env": {
"RESEND_API_KEY": "YOUR_RESEND_API_KEY_HERE",
"SENDER_EMAIL_ADDRESS": "YOUR_SENDER_EMAIL_ADDRESS_HERE",
"REPLY_TO_EMAIL_ADDRESSES": "YOUR_REPLY_TO_EMAIL_ADDRESSES_HERE"
}
}
}
}
Before using the MCP server, you'll need to set up these environment variables:
RESEND_API_KEY
(required): Your Resend API keySENDER_EMAIL_ADDRESS
(required): Default email address for sendingREPLY_TO_EMAIL_ADDRESSES
(optional): Comma-separated list of reply-to addressesNote: Resend offers a free tier with 3,000 emails per month.
The MCP server provides a send_email
tool with the following parameters:
to
: Recipient email addresssubject
: Email subject linecontent
: Plain text email contentfrom
: Custom sender email (defaults to SENDER_EMAIL_ADDRESS)replyTo
: Array of reply-to addresses (defaults to REPLY_TO_EMAIL_ADDRESSES)scheduledAt
: Schedule delivery for a future timeattachments
: Array of file attachmentsEach attachment requires:
filename
: Name of the attachment filelocalPath
(path to local file) or remoteUrl
(URL to remote file)When interacting with an LLM like Claude that supports MCP, you can instruct it to send emails for you. For example:
"Please send an email to [email protected] with the subject 'Meeting Reminder' and a brief message about tomorrow's team meeting."
The LLM will use the provided tool to compose and send the email through the Resend API.
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.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
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.
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 explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.