MCP Mailtrap Server
@railsware
About MCP Mailtrap Server
Official mailtrap.io MCP server
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mailtrap": {
"command": "npx",
"args": [
"-y",
"mcp-mailtrap"
],
"env": {
"MAILTRAP_API_TOKEN": "your_mailtrap_api_token",
"DEFAULT_FROM_EMAIL": "[email protected]"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Mailtrap Server?
MCP Mailtrap Server is an MCP server that provides tools for sending transactional and bulk emails, managing templates, viewing email logs, and testing in sandbox via Mailtrap. It is designed for developers integrating Mailtrap’s email sending and testing capabilities into AI-powered workflows.
How to use MCP Mailtrap Server?
Install via npx (npx -y mcp-mailtrap) or Smithery CLI, then configure environment variables including MAILTRAP_API_TOKEN (required) and optionally MAILTRAP_ACCOUNT_ID, DEFAULT_FROM_EMAIL, and others. Set up your MCP client (Claude Desktop, Cursor, or VS Code) with the corresponding configuration JSON.
Key features of MCP Mailtrap Server
- Send transactional and bulk emails via Mailtrap
- Manage email templates (list, create, update, delete)
- View email logs for delivery debugging
- Test emails in sandbox inboxes
- List and manage sending domains
Use cases of MCP Mailtrap Server
- Send personalized transactional emails using templates and variables
- Debug email delivery by viewing sent email logs and statistics
- Test email content in sandbox before sending to real recipients
- Manage email templates and sending domains programmatically
- Batch send transactional or bulk emails with per‑recipient overrides
FAQ from MCP Mailtrap Server
What prerequisites are needed?
You need a Mailtrap account with a verified domain, a Mailtrap API token, and your Account ID. Optionally, a test inbox ID and organization credentials are required for certain tools.
What environment variables are required?
MAILTRAP_API_TOKEN is required for all functionality. MAILTRAP_ACCOUNT_ID is required for templates, stats, logs, sandbox operations, and sending domains. MAILTRAP_ORGANIZATION_API_TOKEN and MAILTRAP_ORGANIZATION_ID are needed for organization tools.
Can I send emails without specifying a sender each time?
Yes. Set DEFAULT_FROM_EMAIL to a default sender. You can override it per call using the from parameter.
How do I install MCP Mailtrap Server?
Run npx -y mcp-mailtrap in your terminal, or use the Smithery CLI (npx @smithery/cli install mailtrap). You can also use an MCP bundle (.mcpb) or paste the configuration JSON into your client.
What tools does MCP Mailtrap Server provide?
It provides send-email, batch-send-transactional-email, batch-send-bulk-email, list-email-logs, plus tools for sandbox operations (list/show messages), template operations (list/create/update/delete), and sending domain management (list/get/create/delete).
More Other MCP servers
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Awesome Mlops
visengerA curated list of references for MLOps
Nginx UI
0xJackyYet another WebUI for Nginx

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Comments