Skip to content

Send emails directly from Cursor with this email sending MCP server

Notifications You must be signed in to change notification settings

gching/mcp-send-email

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email sending MCP 💌

smithery badge

This is a simple MCP server that sends emails using Resend's API. Why? Now you can let Cursor or Claude Desktop compose emails for you and send it right away without having to copy and paste the email content.

Built with:

DEMO

Cursor+Resend.demo.mp4

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 [email protected] 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

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

Screenshot 2025-02-25 at 9 13 05 AM

Claude desktop

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

{
  "mcpServers": {
    "resend": {
      "command": "node",
      "args": ["ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js"],
      "env": {
        "RESEND_API_TOKEN": [YOUR_API_TOKEN]
      }
    }
  }
}

Develop

npm install npm run build

About

Send emails directly from Cursor with this email sending MCP server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%