
Mailer MCP
A Model Context Protocol (MCP) server for sending emails. This server is designed to be completely SMTP provider agnostic, allowing you to use any SMTP relay service of your choice (Gmail, SendGrid, Mailgun, SMTP2Go, etc.) by simply configuring the appropriate environment variables. The server provides tools for sending emails through SMTP using environment variables for configuration.
Features
- Send emails to specified recipients
- Test email functionality
- Environment variable configuration
- Proper error handling and logging
- TypeScript implementation for type safety
Installation
- Clone the repository:
git clone https://github.com/yourusername/mailer-mcp.git
cd mailer-mcp
- Install dependencies:
npm install
- Build the project:
npm run build
Configuration
The server requires the following environment variables to be set in the MCP configuration:
Variable | Description | Example |
---|---|---|
SMTP_HOST |
SMTP server hostname | smtp.example.com |
SMTP_PORT |
SMTP server port | 587 |
SMTP_USER |
SMTP username | user@example.com |
SMTP_PASSWORD |
SMTP password | password123 |
EMAIL_FROM |
Sender email address | sender@example.com |
Optional environment variables:
Variable | Description | Default |
---|---|---|
SMTP_SECURE |
Use secure connection (TLS) | false |
SMTP_REJECT_UNAUTHORIZED |
Reject unauthorized TLS certificates | true |
SMTP_TIMEOUT |
Connection timeout in milliseconds | 10000 |
MCP Configuration
Add the following to your Cline MCP settings configuration file:
"email-server": {
"autoApprove": [],
"disabled": false,
"timeout": 60,
"command": "node",
"args": [
"path/to/mailer-mcp/dist/index.js"
],
"env": {
"SMTP_HOST": "smtp.example.com",
"SMTP_PORT": "587",
"SMTP_USER": "user@example.com",
"SMTP_PASSWORD": "password123",
"EMAIL_FROM": "sender@example.com"
},
"transportType": "stdio"
}
Available Tools
send_email
Sends an email to a specified recipient.
Parameters:
-
recipient
(string, required): Email address of the recipient -
body
(string, required): Email body content
Example:
{
"recipient": "recipient@example.com",
"body": "Hello, this is a test email from the MCP server."
}
test_email
Sends a test email to verify the configuration.
Parameters: None
Development
- Start the TypeScript compiler in watch mode:
npm run dev
-
Make your changes to the source files in the
src
directory. -
The TypeScript compiler will automatically recompile the files when changes are detected.
License
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)
MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.
Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle
La communauté du curseur et de la planche à voile, recherchez des règles et des MCP
Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.
Reviews

user_9N0T5kAk
Mailer-MCP is an exceptional tool for managing email campaigns efficiently. Created by yahyamohmuedpro99, this open-source project available on GitHub helps streamline the process with its intuitive design and robust features. Highly recommend it for anyone looking to enhance their email marketing efforts!