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

How to Use the MailSlurp MCP in Cursor

Write integration tests in Cursor using real email addresses and live inbox data pulled straight into your code via this MCP Server.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

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

Connect MailSlurp MCP to Cursor

Create your Vinkius account to connect MailSlurp 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

Provision test addresses via the MCP Server

The `create_random_inbox` tool gives your agent a working email address while you write end-to-end tests. Cursor can drop this generated address directly into your Playwright or Cypress scripts. Once the test block is written, the AI calls `delete_specific_inbox` to clean up the backend. Managing state during test development gets messy quickly. Your AI client runs `list_all_inboxes` to see what addresses are currently active. This prevents your test suite from generating hundreds of orphaned inboxes while you debug a flaky spec.

Read and extract verification codes

The `get_email_details` tool pulls the raw HTML and text content from a specific message. When you ask Cursor to write a regex for a password reset token, it tests that pattern against the actual email payload. You know the extraction logic works before you even run the test. You also need to verify the volume of messages sent. The `list_inbox_emails` tool retrieves the history for a specific inbox. This lets your agent confirm that a bulk notification script actually sent five separate messages instead of bunching them into one.

Handle async delivery in your editor

The `wait_for_latest_email` tool solves network latency by long-polling the MailSlurp API. Cursor waits for the actual message to arrive instead of generating a mock response that hides underlying delivery issues. Testing email flows becomes much less frustrating. Complex workflows might generate multiple notifications. By calling `wait_for_email_count`, the agent pauses execution until the exact number of expected emails drop. If you need to test bounce handling, `send_email_from_inbox` lets you fire messages back into your application's ingestion pipeline.

Setup guide

Set up MailSlurp 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 MailSlurp 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 MailSlurp transactions." If the MCP tools are loaded correctly, Cursor will call the MailSlurp tools automatically. You can also check Settings → MCP for a green status indicator.

.cursor/mcp.json
{
  "mcpServers": {
    "mailslurp-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 MailSlurp. 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 MailSlurp MCP in Cursor

Create an `mcp.json` file in your project root. Define the MCP Server under the mcpServers key, then turn on Agent mode in the chat panel.
Yes. The agent triggers `delete_specific_inbox` after finishing a task. You can also instruct it to clean up all temporary addresses when you close the testing session.
Mocking hides real-world delivery failures. Using this MCP Server lets you test actual SMTP routing and spam filter triggers while you write the application code.
The agent calls `get_email_details` to fetch the complete content. It then parses the HTML or plain text right in the chat window to help you write extraction logic.
This integration reads raw email content and inbox metadata. Vinkius runs the connection through an ephemeral, zero-trust sandbox. The credentials and payloads exist only for the duration of the request before being purged entirely.

Start using the MailSlurp MCP today

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

Built & Managed by Vinkius 30s setup 8 tools

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

No hosting. No infrastructure. No complex setup.
All 8 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.