Email MCP Server
Send emails via SMTP. Requires SMTP server credentials to be configured through environment variables.
Email MCP Server
This project provides a Model Context Protocol (MCP) server for sending emails via a single tool, send_email.
Features
- Exposes a single MCP tool:
send_email(send an email via SMTP) - Uses
nodemailerfor SMTP email delivery
Environment Variables
Set the following environment variables before running the server:
SMTP_HOST(required): SMTP server hostnameSMTP_PORT(optional, default: 587): SMTP server portSMTP_SECURE(optional, default: false): Set totruefor port 465, otherwisefalseSMTP_USER(required): SMTP usernameSMTP_PASS(required): SMTP passwordSMTP_FROM(optional): Sender email address (defaults toSMTP_USER)
Installation
npm install
Running the Server
npm start
The server will start and listen for MCP requests on stdio.
Integration with Claude Desktop
To integrate this server with Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"email-mcp": {
"command": "node",
"args": [
"D:\\projects\\Bitsol Projects\\email-mcp\\dist\\src\\index.js"
],
"env": {
"SMTP_HOST": "smtp.gmail.com",
"SMTP_PORT": "587",
"SMTP_SECURE": "false",
"SMTP_USER": "<your_email>",
"SMTP_PASS": "<your_app_password>"
}
}
}
}
Replace <your_email> and <your_app_password> with your actual SMTP credentials.
Tool: send_email
Arguments
to(string, required): Recipient email addresssubject(string, required): Subject of the emailtext(string, required): Plain text body of the emailhtml(string, optional): HTML body of the email
Example Call
{
"name": "send_email",
"arguments": {
"to": "recipient@example.com",
"subject": "Hello",
"text": "This is a test email."
}
}
Related Servers
Slack MCP Server
A Slack integration server that allows natural language interaction with the Slack API within the Cursor IDE.
Gmail MCP Server
An MCP server that enables AI models to interact directly with the Gmail API to manage emails.
MCP IDE Bridge
An open-source messaging server for client-to-client communication using MCP HTTP Streamable messaging.
Gmail
An MCP server for Gmail, allowing AI assistants to manage emails through natural language.
RSS MCP Server by CData
A read-only MCP server for querying live RSS data using the CData JDBC Driver for RSS.
WeCom Bot
Sends various types of messages to a WeCom (WeChat Work) group robot.
Reddit MCP Server
A server for fetching and creating content on Reddit using its API.
Wassenger
Wassenger MCP server to chat, send messages and automate WhatsApp from any AI model client (free trial available).
Gmail MCP
An MCP server for interacting with your Gmail account using AI assistants.
X (Twitter)
Create and publish posts and threads on X (Twitter) directly from your chat using LLMs.