mailtrap-mcp
Verified Safeby mailtrap
Overview
This MCP server integrates with Mailtrap.io to provide tools for sending transactional emails, managing email templates (create, list, update, delete), and testing emails in a sandbox environment.
Installation
npx -y mcp-mailtrapEnvironment Variables
- MAILTRAP_API_TOKEN
- DEFAULT_FROM_EMAIL
- MAILTRAP_ACCOUNT_ID
- MAILTRAP_TEST_INBOX_ID
Security Notes
The server follows good security practices: sensitive credentials (Mailtrap API token) are expected from environment variables and marked as 'sensitive' in the manifest. Input validation is performed using JSON schemas (though Zod is used internally for schema definition). No direct 'eval' or obvious malicious patterns were found. Network communication is handled by `axios` to the Mailtrap API, and the MCP server uses standard I/O, minimizing direct network exposure from the server itself. The code includes error handling for missing environment variables. The sandbox client explicitly checks for the `MAILTRAP_TEST_INBOX_ID` environment variable.
Similar Servers
mcp-email-server
Provides IMAP and SMTP functionality as an MCP server, allowing clients to list, retrieve, send, delete, and download attachments from email accounts.
postmark-mcp
Provides a Model Context Protocol (MCP) server to enable AI assistants to send emails and manage templates via Postmark.
instantly-mcp
Manages Instantly.ai email campaigns, leads, accounts, and email operations with analytics, serving as a Model Context Protocol (MCP) server for AI assistants.
vonage-mcp-server-api-bindings
This MCP server enables interaction with various Vonage API functionalities, including account management, number management, and communication services like SMS, WhatsApp, RCS, and outbound voice messages.