HamnaCh456/Resend_MCP_server
3.3
If you are the rightful owner of Resend_MCP_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Resend Email MCP Server is a minimalistic, zero-configuration server that enables LLMs to send emails via the Resend service.
Tools
1
Resources
0
Prompts
0
Resend Email MCP Server
A tiny, zero-config MCP (Model-Context-Protocol) server that lets LLMs send email through Resend.
Plug it into Claude Desktop, Cursor, or any other MCP client and start sending messages in seconds.
Demo
Deployed MCP Server Link
Quick start
-
Grab the code
git clone https://github.com/HamnaCh456/Resend_MCP_server.git cd resend-email-mcp
-
Install deps
pip install -r requirements.txt # or: uv pip install fastmcp resend python-dotenv httpx
-
Set your Resend API key
export RESEND_API=re_YOUR_RESEND_KE
-
Run the server
After configuring the settings.json(in case you are using Gemini CLI) file ,give command to LLM to send an email with other specifications.
āļø Environment variables
Variable | Default | Purpose |
---|---|---|
RESEND_API | ā | Required Resend API key |
PORT | 10000 | Port to bind when running in HTTP mode |
š§ Exposed tool
send_email
Send a single HTML email.
{
"subject": "Hello from MCP",
"to": "friend@example.com",
"from_email": "you@yourdomain.com",
"content": "<h1>Hi!</h1><p>Sent by an LLM š¤</p>"
}
Return value: "Email sent successfully"
or an error message.
š§Ŗ Example session in Claude Desktop
- Claude: āSend an email to alice@example.com with subject āMeeting notesā and the notes in the chat.ā
- You type:
@send_email
Claude fills the parameters and calls the tool. - Email is deliveredāno copy-paste needed.
Requirements
- Python 3.9+
fastmcp
,resend
,python-dotenv
,httpx
Install them quickly with:
pip install fastmcp resend python-dotenv httpx
Troubleshooting
Issue | Fix |
---|---|
āImport error: resendā | pip install resend |
ā401 Unauthorizedā | Check RESEND_API key and domain verification in Resend dashboard |
Port already in use | export PORT=10001 or any free port |
Happy emailing!