4,500+ servers built on MCP Fusion
Vinkius
Mailtrap logo
Vinkius
Cursor logo

How to Use the Mailtrap MCP in Cursor

Inject live email testing data into your code using the Mailtrap MCP Server in Cursor.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Mailtrap MCP on Cursor AI Code Editor MCP Client Mailtrap MCP on Claude Desktop App MCP Integration Mailtrap MCP on OpenAI Agents SDK MCP Compatible Mailtrap MCP on Visual Studio Code MCP Extension Client Mailtrap MCP on GitHub Copilot AI Agent MCP Integration Mailtrap MCP on Google Gemini AI MCP Integration Mailtrap MCP on Lovable AI Development MCP Client Mailtrap MCP on Mistral AI Agents MCP Compatible Mailtrap MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Cursor

Connect Mailtrap MCP to Cursor

Create your Vinkius account to connect Mailtrap to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Debug email logic inside Cursor

Stop jumping between your editor and the inbox. Use `list_sandbox_messages` to pull the latest captures straight into your chat context so you can fix bugs in real-time. Your agent parses the JSON response to identify issues. You get precise feedback on exactly where your email generation logic went sideways.

Automate test flows with Cursor

Control your email pipeline using `send_test_email` within your agent sessions. It allows you to fire off samples while you write your test suites, ensuring your hooks work as expected. This keeps your focus on the code. You build, test, and refine without ever leaving your workspace.

Review message details in Cursor

Examine headers and metadata using `get_message_details` to catch configuration errors. It provides the low-level visibility you need to ensure your SMTP settings match your expectations. When you see a discrepancy, you can fix it immediately. Your agent handles the API calls so you can stay in your flow.

Setup guide

Set up Mailtrap MCP in Cursor

Prerequisites

  • Cursor installed (macOS, Windows, or Linux)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Open MCP Settings

    Go to Cursor Settings → MCP or open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and search for "MCP: Add Server".

  2. 2

    Add the Mailtrap MCP

    Cursor will create or open .cursor/mcp.json in your project root. Paste the JSON snippet on the right. Replace [YOUR_TOKEN_HERE] with your endpoint token from cloud.vinkius.com.

  3. 3

    Enable Agent mode

    Open Composer (Cmd+I / Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode.

  4. 4

    Verify the connection

    Ask Cursor something like "List my recent Mailtrap transactions." If the MCP tools are loaded correctly, Cursor will call the Mailtrap tools automatically. You can also check Settings → MCP for a green status indicator.

.cursor/mcp.json
{
  "mcpServers": {
    "mailtrap-mcp": {
      "url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    }
  }
}

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Mailtrap. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about Mailtrap MCP in Cursor

Create an `mcp.json` file in your project root. Define the server path under mcpServers, then enable Agent mode in your chat to start calling your tools.
It is essential for verifying outgoing mail triggers. By using the tools directly in the agent, you can confirm that your code generates the expected output before you commit.
Yes, use `list_mailtrap_projects` to see what you have configured. It helps you keep your environment variables synced with the right project ID in your code.
All interactions pass through the secure Mailtrap API. Your email content is never saved to your local disk, keeping your test environment clean and your data strictly within the sandbox.
Your API tokens stay in your config file or environment variables. The server uses them to authenticate requests, and the agent never exposes them in your chat history.

Start using the Mailtrap MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 12 tools

We've already built the connector for Mailtrap. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 12 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.