Official MCP Server for Mailtrap
Connect Runs on your machine
claude mcp add mcp -e MAILTRAP_API_TOKEN=<MAILTRAP_API_TOKEN> -e MAILTRAP_ACCOUNT_ID=<MAILTRAP_ACCOUNT_ID> -- npx -y [email protected]
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MAILTRAP_API_TOKEN": "<MAILTRAP_API_TOKEN>",
"MAILTRAP_ACCOUNT_ID": "<MAILTRAP_ACCOUNT_ID>"
}
}
}
}
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MAILTRAP_API_TOKEN": "<MAILTRAP_API_TOKEN>",
"MAILTRAP_ACCOUNT_ID": "<MAILTRAP_ACCOUNT_ID>"
}
}
}
}
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MAILTRAP_API_TOKEN": "<MAILTRAP_API_TOKEN>",
"MAILTRAP_ACCOUNT_ID": "<MAILTRAP_ACCOUNT_ID>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
MAILTRAP_API_TOKENRequired, secret | Mailtrap API token from https://mailtrap.io/api-tokens |
MAILTRAP_ACCOUNT_IDOptional | Mailtrap account ID from https://mailtrap.io/account-management |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 27 Oct 2026 |
| Last updated | 27 Oct 2026 |
| Registry name | io.mailtrap/mcp |
More other servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
