
Connect Mailtrap to ChatGPT, Claude and Gemini
Set it up once and it works in ChatGPT, Claude, Cursor, and any other client you love. It all runs safely in the background, so you can relax and focus on what really matters. Debug email rendering and delivery directly from your AI client.
Developed, maintained, and hosted by Vinkius.
MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED
Waiting for input…
Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.
Your AI does the work. We keep it safe and sound.
No other AI tool gives you this. Your workflow runs in the client you already love, your account stays protected, and you decide what the agent can and cannot do. It is the whole reason to make the switch.
Each Connector lives inside our infrastructure, the same place where your workflow runs. The three things below are already part of it, working quietly in the background so you never have to think about them. Nothing to add, nothing to set up, nothing to worry about.

Each Connector runs inside its own sealed environment.
Each Connector runs inside its own sealed V8 runtime — no access to your files, your system, or other servers. A Connector never sees past its own request.
One switch stops every agent. Instantly.
One action deactivates every Connector, revokes every token, and ends every session at once. AI Governance keeps the record.
Spending limits that pause instead of surprise.
Every user keeps their own connections and credentials, isolated from everyone else. Anything that would cross your spending limit is held for your approval, not billed.
Three controls, built into the layer your AI connects through.
Curated set · 12 capabilities
We ship only the actions that matter.
01-04
4 capabilities in this set.
Part of 12 available through Mailtrap.
- 01
Delete sandbox message
This capability removes a specific captured email from your sandbox.
- 02
Get domain status
Use this to pull specific details about your sending domains.
- 03
List accessible accounts
This capability retrieves a list of all user accounts you can access.
- 04
List verified domains
Get a list of all your verified sending domains.
05-08
4 capabilities in this set.
Part of 12 available through Mailtrap.
- 05
List mailtrap projects
This capability lists all the Mailtrap projects associated with your account.
- 06
Send production email
Use this to send an email through your production Mailtrap environment.
- 07
Clear sandbox inbox
This capability wipes all messages currently sitting in a sandbox inbox.
- 08
Get message details
Get the metadata for a specific captured message.
09-12
4 capabilities in this set.
Part of 12 available through Mailtrap.
- 09
Get message HTML
This capability retrieves the raw HTML body of an email message.
- 10
List sandboxes
Use this to see all your available virtual testing inboxes.
- 11
List sandbox messages
This capability pulls a list of messages found in a specific inbox.
- 12
Send test email
Send a test email directly to one of your sandboxes.
Real work
What teams actually run
Staging Flow Validation
Trigger a test email to a sandbox and have your agent check if the HTML looks correct.
Spam Prevention
Ask your agent to analyze the spam score of a new template before you deploy it.
Delivery Auditing
Check your weekly bounce and open rates to ensure production emails are reaching users.
Inbox Cleanup
Use a single command to wipe all messages from a testing inbox after a test run.
Automate a task
Put Mailtrap to work on one thing.
Step-by-step automations your AI runs through this Connector: the workflow, the prompts to start with, and the exact capabilities behind each move.
One connector, every AI
Mailtrap works with the most popular AI clients.
These are the most popular clients, each with a step-by-step guide: one link, set up once, with governance and visibility built in. And because everything runs on the MCP standard, the same connection also works in any other compatible client — nothing to rebuild.
Claude
ChatGPT
Gemini
Perplexity
Grok
Microsoft Copilot
Cursor
VS Code
Windsurf
JetBrains
Cline
LangChain
Vercel AI SDK
Lovable
Z.ai
Raycast
Qwen Code
Kimi Code
Le ChatBuilding your own app? The connector is yours to use.
You don't need a client to put Mailtrap to work: the same hosted connection plugs into your own applications and agent code, with the same governance on every request. Build with it, chat with it — one connection for both.
Observed, not estimated
907ms average. Fast in production.
Mailtrap is checked daily against the live service.
- Fastest day
- 832ms
- Slowest day
- 1361ms
- 14-day trend
- Improving-16%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 12 capabilities arrive ready to run.
Preview access · not provider authentication
The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of Mailtrap, so you can see the experience inside your AI.
It does not authenticate your account with Mailtrap. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.
Mailtrap Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_Ad5Juop0aQx2ay54WiDoJvVK7YtPyDjMRVyTPy0Y/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Mailtrap capabilities are ready to use.
{
"mcpServers": {
"mailtrap-mcp": {
"url": "https://edge.vinkius.com/vk_preview_Ad5Juop0aQx2ay54WiDoJvVK7YtPyDjMRVyTPy0Y/mcp"
}
}
}
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Step-by-step instructions for each client are in the guide. How to connect
Guided setup for Claude? Set up Mailtrap in Claude and other AIs
Who it's for
Built for the work Mailtrap owners hand off.
This MCP is built for technical teams managing email-heavy applications.
- 01
Developers
They use the agent to test email flows in staging environments.
- 02
QA Engineers
They hand off tasks to the agent to verify email rendering and spam scores.
- 03
Operations
They use the agent to monitor production transactional delivery rates.
FAQ
Questions Mailtrap owners ask.
- 01
How do I connect my Mailtrap account?
You subscribe to the MCP on Vinkius and enter your Mailtrap API Key and Account ID. Once connected, it is ready to use in your AI client.
- 02
Can I send real emails through this MCP?
Yes, the MCP includes a capability to send production emails, as well as capabilities to send test emails to your sandboxes.
- 03
Which AI clients can I use with this?
You can use this MCP with any compatible client, including Claude, Cursor, and Windsurf.
- 04
Can the AI check if my emails will go to spam?
Yes, you can ask your agent to analyze the spam score and check specific SpamAssassin results for captured messages.
- 05
Is my data secure?
Vinkius hosts the MCP and manages your credentials securely, so you don't have to manage local environment variables for the connection.
- 06
Can I both test and send emails with Mailtrap?
Yes. Mailtrap supports both Email Testing (capturing emails in staging) and Email Sending (transactional delivery in production).
- 07
Does Mailtrap require an Account ID?
Yes. You need both an API Key and Account ID to authenticate via Bearer token against mailtrap.io/api.
- 08
Can I analyze spam scores and HTML rendering?
Yes. Mailtrap analyzes captured emails for spam score (SpamAssassin), blacklists, HTML errors, and client support.
Explore
More in Developer Tools
Mailgun (Transactional Email & Domains) AI Connector
Manage email infrastructure via Mailgun — send transactional emails, monitor domain health, and audit delivery
ViewKatalon TestOps (AI Test Management) AI Connector
Manage test orchestration via Katalon TestOps — rerun test runs, monitor execution results, and audit software
ViewTestRail AI Connector
Browse TestRail suites, parse manual test specs, and monitor active runs seamlessly native within your convers
ViewTestLink AI Connector
Navigate your self-hosted TestLink instance to inspect test plans, suites, cases, and builds natively via your
View
Suggestions
SendGrid Email Sender AI Connector
This MCP does exactly one thing: it sends transactional emails using Twilio SendGrid. That's its only function
ViewPostmark AI Connector
Equip your AI to send emails, monitor delivery stats, track bounces, and manage Postmark templates directly fr
ViewSparkPost AI Connector
Bring your SparkPost email delivery platform into your AI. Manage templates, send campaigns, and audit deliver
ViewMJML (Email Markup) AI Connector
Transpile MJML markup into responsive, high-quality HTML emails directly from your AI agent.
View
Connect Mailtrap to Claude, Cursor, ChatGPT & more
