Email sending MCP
Sends emails using the Resend API. Requires a Resend API key.
Email sending MCP 💌
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
https://github.com/user-attachments/assets/8c05cbf0-1664-4b3b-afb1-663b46af3464
Cursor
- 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.
- Clone this project locally. Edit index.ts and replace [email protected] to your own email to send emails from
- Run
npm install,npm run buildunder 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
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_KEY": [YOUR_API_KEY],
"SENDER_EMAIL_ADDRESS": [OPTIONAL_SENDER_EMAIL_ADDRESS],
"REPLY_TO_EMAIL_ADDRESSES": [OPTIONAL_REPLY_TO_EMAIL_ADDRESSES_COMMA_DELIMITED]
}
}
}
}
Installing via Smithery
To install mcp-send-email for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @ykhli/mcp-send-email --client claude
Develop
npm install
npm run build
Related Servers
Notifications
Send native macOS notifications with full Notification Center integration and interactive features.
MCP Mail
Perform actions with your GMail account using the GMail API.
A2A MCP Server
A bridge server connecting Model Context Protocol (MCP) with Agent-to-Agent (A2A) protocol.
Say MCP Server
A server for voice notifications using VoiceBox, with a fallback to the Mac 'say' command.
MCP Server SSH Client
A local MCP server that securely connects to remote servers over SSH, acting as a proxy for MCP commands.
MCP Headless Gmail Server
A headless server to get and send emails via the Gmail API, requiring Google API credentials at runtime.
Unichat
A unified interface for various chat AI models including OpenAI, MistralAI, Anthropic, and Google AI, requiring vendor API keys.
mcp-server-unipile
95-tool MCP server for the Unipile unified API — messaging (LinkedIn, WhatsApp, Instagram, Telegram), email (Gmail, Outlook), calendar, LinkedIn search (people, companies, posts, jobs), profile management, connections, InMail, and webhooks.
x402mail
Send and receive emails via Python SDK or MCP. No API keys, no accounts - your wallet is your identity. Pay per call with USDC on Base via the x402 protocol. $0.005 per email.
Sequenzy MCP
Email Marketing Tool for SaaS