Mailtrap MCP Server for CursorGive Cursor instant access to 12 tools to Clear Sandbox Inbox, Delete Sandbox Message, Get Domain Status, and more
Cursor is an AI-first code editor built on VS Code that integrates LLM-powered coding assistance directly into the development workflow. Its Agent mode enables autonomous multi-step coding tasks, and MCP support lets agents access external data sources and APIs during code generation.
Ask AI about this App Connector for Cursor
The Mailtrap app connector for Cursor is a standout in the Developer Tools category — giving your AI agent 12 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
Vinkius Desktop App
The modern way to manage MCP Servers — no config files, no terminal commands. Install Mailtrap and 3,400+ MCP Servers from a single visual interface.




{
"mcpServers": {
"mailtrap": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
}
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Mailtrap MCP Server
Connect your Mailtrap account to any AI agent and manage email testing and delivery through natural conversation.
Cursor's Agent mode turns Mailtrap into an in-editor superpower. Ask Cursor to generate code using live data from Mailtrap and it fetches, processes, and writes. all in a single agentic loop. 12 tools appear alongside file editing and terminal access, creating a unified development environment grounded in real-time information.
What you can do
- Email Sending — Send transactional emails via the Mailtrap API
- Inbox Testing — Browse testing inboxes and inspect captured emails
- Message Analysis — Analyze email HTML, spam scores, and headers
- Delivery Analytics — Track opens, clicks, bounces, and delivery rates
- Project Management — Manage testing projects and inboxes
- Account Management — Switch between connected accounts and domains
The Mailtrap MCP Server exposes 12 tools through the Vinkius. Connect it to Cursor in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 12 Mailtrap tools available for Cursor
When Cursor connects to Mailtrap through Vinkius, your AI agent gets direct access to every tool listed below — spanning email-sandbox, smtp-testing, email-debugging, and more. Every call is secured with network, filesystem, subprocess, and code evaluation entitlements inside a sandboxed runtime. Beyond a simple connection, you get a full AI Gateway with real-time visibility into agent activity, enterprise governance, and optimized token usage.
Delete all emails in inbox
Delete captured email
Get domain details
Get message metadata
Get email HTML body
Get user accounts
List account projects
List messages in inbox
List virtual inboxes
List sending domains
Send email in production
Send test email to sandbox
Connect Mailtrap to Cursor via MCP
Follow these steps to wire Mailtrap into Cursor. The entire setup takes under two minutes — your credentials stay safe behind the Vinkius.
Open MCP Settings
Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"Add the server config
mcp.json file that opensSave the file
Start using Mailtrap
Why Use Cursor with the Mailtrap MCP Server
Cursor AI Code Editor provides unique advantages when paired with Mailtrap through the Model Context Protocol.
Agent mode turns Cursor into an autonomous coding assistant that can read files, run commands, and call MCP tools without switching context
Cursor's Composer feature can generate entire files using real-time data fetched through MCP. no copy-pasting from external dashboards
MCP tools appear alongside built-in tools like file reading and terminal access, creating a unified agentic environment
VS Code extension compatibility means your existing workflow, keybindings, and extensions all work alongside MCP tools
Mailtrap + Cursor Use Cases
Practical scenarios where Cursor combined with the Mailtrap MCP Server delivers measurable value.
Code generation with live data: ask Cursor to generate a security report module using live DNS and subdomain data fetched through MCP
Automated documentation: have Cursor query your API's tool schemas and generate TypeScript interfaces or OpenAPI specs automatically
Infrastructure-as-code: Cursor can fetch domain configurations and generate corresponding Terraform or CloudFormation templates
Test scaffolding: ask Cursor to pull real API responses via MCP and generate unit test fixtures from actual data
Example Prompts for Mailtrap in Cursor
Ready-to-use prompts you can give your Cursor agent to start working with Mailtrap immediately.
"Show testing inboxes and recent captured emails."
"Show transactional sending analytics for this week."
"Analyze the spam score for the last captured email."
Troubleshooting Mailtrap MCP Server with Cursor
Common issues when connecting Mailtrap to Cursor through the Vinkius, and how to resolve them.
Tools not appearing in Cursor
Server shows as disconnected
Mailtrap + Cursor FAQ
Common questions about integrating Mailtrap MCP Server with Cursor.
What is Agent mode and why does it matter for MCP?
Where does Cursor store MCP configuration?
mcp.json file. You can configure servers at the project level (.cursor/mcp.json in your project root) or globally (~/.cursor/mcp.json). Project-level configs take precedence.