Mailtrap
Integrates with Mailtrap Email API.
Ads
Overview
An MCP server that provides tools for sending and testing in sandbox via Mailtrap. Before using this MCP server, you need to: 1. Create a Mailtrap account 2. Verify your domain 3. Get your API token from Mailtrap API settings 4. Get your Account ID from Mailtrap account management - MAILTRAP_API_TOKEN - Required for all functionality - MAILTRAP_ACCOUNT_ID - Required for templates, stats, email logs, sandbox list/show, and sending domains. Optional only for the send tools (send-email, send-sandbox-email, and the batch-send-\ tools) and the email campaign tools.
Installation
npx -y mcp-mailtrap
Configuration
{
"mcpServers": {
"mailtrap": {
"command": "npx",
"args": [
"-y",
"mcp-mailtrap"
],
"env": {
"MAILTRAP_API_TOKEN": "your_mailtrap_api_token",
"DEFAULT_FROM_EMAIL": "your_sender@example.com",
"MAILTRAP_ACCOUNT_ID": "your_account_id",
"MAILTRAP_TEST_INBOX_ID": "your_test_inbox_id"
}
}
}
}Capabilities
- Send transactional emails
Ask to send an email via `send-email` with inline content or a `template_uuid`, including CC/BCC recipients.
- Manage email templates
Use `create-template`, `list-templates`, `update-template`, or `delete-template` to maintain reusable email designs.
- Inspect sandbox messages
Retrieve messages with `get-sandbox-messages` and view full details, spam scores, or HTML analysis via `show-sandbox-email-message`.
- Debug delivery with email logs
Filter sent emails using `list-email-logs` and check individual delivery status with `get-email-log-message`.
- Review sending statistics
Get delivery, bounce, and open rates for a date range via `get-sending-stats`, optionally broken down by domain or category.
- Manage sending domains
List, create, or delete domains with `list-sending-domains` and `create-sending-domain`, and email DNS setup instructions.
Tags
- email-automation
- communication
- api
Related MCP servers
ElevenLabs
OfficialThe official ElevenLabs MCP server
Resend Email
OfficialSend emails directly from your editor using the Resend API.
AgentRPC
OfficialConnect to any function, any language, across network boundaries using AgentRPC.
Twilio
OfficialInteract with Twilio APIs to send messages, manage phone numbers, configure your account, and more.