概览
What is email-mcp?
A lightweight MCP (Model Context Protocol) server for sending emails via SMTP, enabling AI to automatically send emails for you.
How to use email-mcp?
Download the pre-compiled executable and configure it as an MCP server. Set the required environment variables (SMTPPASSWORD, SMTPADDRESS, SENDEREMAIL) in your MCP client configuration, or pass them as command-line arguments. For remote deployment, specify --mode sse or --mode streamable and the listening address.
Key features of email-mcp
- Supports three startup modes: stdio, sse, and streamable
- Email sending supports plain text and HTML formats
- Supports CC and BCC for email sending
Use cases of email-mcp
- AI assistants automatically sending emails on behalf of users
- Remote email sending from a server via SMTP
FAQ from email-mcp
What modes are available for starting email-mcp?
The server supports three modes: stdio, sse, and streamable (default is stdio).
What environment variables are required?
You must set SMTPPASSWORD, SMTPADDRESS (e.g., smtp.example.com:465), and SENDEREMAIL.
Can email-mcp be deployed on a remote server?
Yes, by using --mode sse or --mode streamable and optionally setting the --address (default 127.0.0.1:8080).
What email formats are supported?
The server supports sending emails in plain text and HTML formats.
How do I configure the MCP client for a remote email-mcp server?
Use the mcp-remote client with a URL (e.g., https://your.example.com/sse).