Banner
Resend logoResend

This is a simple MCP server that sends emails using Resend's API.

Updated 6 days ago
Official
Go to documentation
npx @mintlify/mcp add resend --client claude

Cursor

  1. First, you need to authorize Resend to send emails from your domain or email. Follow the steps here to set that up and get a Resend API key.
  2. Clone this project locally. Edit index.ts and replace me@yoko.dev to your own email to send emails from
  3. Run npm install, npm run build under the project dir. You should now see a /build/index.js generated - this is the MCP server script!

Then go to Cursor Settings -> MCP -> Add new MCP server

  • Name = [choose your own name]
  • Type = command
  • Command: node ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js --key=YOUR_RESEND_API_KEY --sender=OPTIONAL_SENDER_EMAIL_ADDRESS --reply-to=OPTIONAL_REPLY_TO_EMAIL_ADDRESS_ONE --reply-to=OPTIONAL_REPLY_TO_EMAIL_ADDRESS_TWO

You can get Resend API key here: https://resend.com/

Now you can test out sending emails by going to email.md, replace the to: email address, select all in email md, and hit cmd+l. You can now tell cursor to "send this as an email" in the chat. Make sure Cursor chat is in Agent mode by selecting "Agent" on lower left side dropdown

<img width="441" alt="Screenshot 2025-02-25 at 9 13 05 AM" src="https://github.com/user-attachments/assets/b07e9cbf-42d8-4910-8e90-3761d8d3bc06" />

Claude desktop

Same set up as above, and then add the MCP config

Develop

npm install npm run build

Available tools

emails_post

Send an email

emails_batch_post

Send up to 100 emails simultaneously

emails_email_id_get

Retrieve email details

emails_email_id_patch

Update email properties

emails_email_id_cancel_post

Cancel scheduled email