mailer-mcp
Mailer MCP is an SMTP-agnostic MCP server that facilitates sending emails through various SMTP services via configurable environment variables. It is implemented in TypeScript and provides tools for email dispatch and configuration verification.
Mailer MCP
A Model Context Protocol (MCP) server for sending emails. This server operates independently of SMTP providers, allowing you to configure various SMTP services through environment variables. Key features include sending emails, testing functionality, environment variable configuration, error handling, logging, and a TypeScript implementation.
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.
- Install dependencies using npm.
- Build the project.
Configuration
Set required SMTP-related environment variables in the MCP configuration for operation. Optional settings include secure connections and TLS certificate handling.
Available Tools
- send_email: Sends an email to a specified recipient.
- test_email: Sends a test email to verify configuration.
Development
- Start the TypeScript compiler in watch mode.
- Make changes to source files in
src
. - The compiler will recompile files automatically on changes.