M

Mailtrap MCP

The Mailtrap MCP server is a tool for sending transactional emails via Mailtrap
2.5 points
33

What is MCP Mailtrap Server?

MCP Mailtrap Server is an integrated tool that allows users to send transactional emails via the Mailtrap service. It serves as a server implementation of the Model Context Protocol (MCP) and can be easily integrated into development environments such as Claude Desktop, Cursor, or VS Code.

How to use MCP Mailtrap Server?

You just need to configure the MCP server settings in the supported development tools, provide the Mailtrap API token and the default sender email, and then you can send emails via natural language instructions.

Use cases

It is suitable for scenarios where transactional emails need to be simulated or sent in development and testing environments, such as the development and testing of functions like user registration confirmation, password reset, and notification reminders.

Main features

Send emailsSend transactional emails via the Mailtrap API, supporting text and HTML format content
Multi - client supportSupports multiple development tools such as Claude Desktop, Cursor, and VS Code
Environment configurationFlexibly configure the API key and the default sender address via environment variables

Advantages and limitations

Advantages
Simplify the email sending process without writing complex code
Support integration with multiple development environments
Friendly for testing and will not send real emails
Provide detailed configuration instructions
Limitations
Only support the Mailtrap service and do not support other email service providers
Require a valid Mailtrap API token
Not suitable for use in production environments

How to use

Get the Mailtrap API token
Log in to your Mailtrap account and get the API token in the settings
Configure the development tool
According to the development tool you are using (Claude Desktop, Cursor, or VS Code), add the MCP server settings to the configuration file
Send an email
Send an email via natural language instructions, for example, 'Send an email to test@example.com with the subject of test'

Usage examples

Send a simple notificationSend a simple text notification email to a single recipient
Send an HTML - formatted emailSend a formatted HTML email to multiple recipients

Frequently Asked Questions

How to get the Mailtrap API token?
Why did my email sending fail?
Can it be used in a production environment?
How to view the sent emails?

Related resources

Mailtrap official website
The official website of the Mailtrap service
GitHub repository
Project source code and issue tracking
MCP protocol documentation
The official documentation of the Model Context Protocol
Installation
Copy the following command to your Client for configuration
{
  "mcpServers": {
    "mailtrap": {
      "command": "npx",
      "args": ["-y", "mcp-mailtrap"],
      "env": {
        "MAILTRAP_API_TOKEN": "your_mailtrap_api_token",
        "DEFAULT_FROM_EMAIL": "your_sender@example.com"
      }
    }
  }
}

{
  "mcpServers": {
    "mailtrap": {
      "command": "/Users/<username>/.asdf/shims/npx",
      "args": ["-y", "mcp-mailtrap"],
      "env": {
        "PATH": "/Users/<username>/.asdf/shims:/usr/bin:/bin",
        "ASDF_DIR": "/opt/homebrew/opt/asdf/libexec",
        "ASDF_DATA_DIR": "/Users/<username>/.asdf",
        "ASDF_NODEJS_VERSION": "20.6.1",
        "MAILTRAP_API_TOKEN": "your_mailtrap_api_token",
        "DEFAULT_FROM_EMAIL": "your_sender@example.com"
      }
    }
  }
}

{
  "mcpServers": {
    "mailtrap": {
      "command": "node",
      "args": ["/path/to/mailtrap-mcp/dist/index.js"],
      "env": {
        "MAILTRAP_API_TOKEN": "your_mailtrap_api_token",
        "DEFAULT_FROM_EMAIL": "your_sender@example.com"
      }
    }
  }
}

{
  "mcpServers": {
    "mailtrap": {
      "command": "/Users/<username>/.asdf/shims/node",
      "args": ["/path/to/mailtrap-mcp/dist/index.js"],
      "env": {
        "PATH": "/Users/<username>/.asdf/shims:/usr/bin:/bin",
        "ASDF_DIR": "/opt/homebrew/opt/asdf/libexec",
        "ASDF_DATA_DIR": "/Users/<username>/.asdf",
        "ASDF_NODEJS_VERSION": "20.6.1",
        "MAILTRAP_API_TOKEN": "your_mailtrap_api_token",
        "DEFAULT_FROM_EMAIL": "your_sender@example.com"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.
Featured MCP Services
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
827
4.3 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
85
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
139
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
562
5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
281
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
751
4.8 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase