Mailtrap MCP server

Send email, test in Sandbox, manage templates and domains, and check delivery logs in Mailtrap by asking.

Tools
23 (11 read, 12 write)
Transport
Local (npx)
Sign-in
See setup
Made by
Mailtrap.io
RevampKey connects Mailtrap in one click and adds its 5 skills. No config file. Free for Mac, Windows and Linux. Already installed? Open Mailtrap in RevampKey

Get RevampKey to connect Mailtrap

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Mailtrap is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials email-delivery-check sandbox-testing-setup sending-domain-health template-audit-and-cleanup; do
  curl -fsSL --create-dirs -o .claude/skills/mailtrap-$s/SKILL.md https://revampkey.com/marketplace/mailtrap/skills/$s/SKILL.md
done

What the Mailtrap MCP server does

Mailtrap is an email delivery platform from Mailtrap.io. Developers and product teams use it to send transactional and promotional emails through its Email API or SMTP. Its Email Sandbox lets developers and QA testers test staging emails safely. The company says more than 150,000 people use it every month.

Connect Mailtrap from the Connectors tab in RevampKey. Then the agent can work in your Mailtrap account through 23 tools. It can send email, and create, list, update or delete templates. It can manage sandbox projects and sandbox inboxes, read sandbox messages, and manage sending domains. Every change waits for your approval.

Questions about past mail are simpler. The agent can search your email logs, open a single log message, and pull your sending stats. These tools only read, so nothing in your account changes. Ask for a summary and it will tell you what it found in plain terms.

What you can do with Mailtrap and an AI agent

Check a staging email before release

Your team is testing a password reset email on staging. Ask the agent to list the messages in your staging sandbox inbox and open the reset email. It shows you the message so you can check the wording and links. If you want a fresh inbox for the next round, it asks before it creates one.

Update a welcome email template

Marketing wants the welcome email reworded. Ask the agent to list your Mailtrap templates and find the welcome one. It shows you the current version. Tell it the new subject or text, and it asks you to confirm before it updates the template. Old templates can be deleted the same way.

Find out why a customer got no email

A customer says an email never arrived. Ask the agent to find the email logs for that address and open the matching message. It reports what the log shows for that message. Then ask for sending stats to see whether the problem affects more than one customer.

How to set up the Mailtrap MCP server

Pick your app. RevampKey needs no config file; the others need one command or a config line.

About 1 minute · See setup

  1. Install RevampKey for Mac, Windows or Linux and sign in.

  2. Open Connectors, search for Mailtrap and click Connect. RevampKey installs and runs the server for you, with nothing to set up in a terminal.

  3. Ask in plain language. The 5 Mailtrap skills come with the connector. The agent asks before it changes anything.

  4. Download RevampKeyConnect Mailtrap · 1 click

    Get RevampKey to connect Mailtrap

    RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Mailtrap is one click away with its skills already attached.

    Download RevampKey

    Not now? Use the skills in your current tool

    for s in essentials email-delivery-check sandbox-testing-setup sending-domain-health template-audit-and-cleanup; do
      curl -fsSL --create-dirs -o .claude/skills/mailtrap-$s/SKILL.md https://revampkey.com/marketplace/mailtrap/skills/$s/SKILL.md
    done

Using a different MCP client?

Add a local (stdio) MCP server in its settings that runs this command.

Runs locallynpx -y mcp-mailtrap@0.10.0

Skip the config file

In RevampKey, Mailtrap is one click: sign-in and the server and the 5 skills are set up for you.

Download RevampKey

Mailtrap agent skills

Playbooks that teach the agent how to do real Mailtrap work, step by step. RevampKey adds them when you connect; any Agent Skills tool can use them.

See all 5 skills in detail →

What to ask once Mailtrap is connected

Plain words work. Copy one to try it.

  • “List my Mailtrap sending domains and open the details for mail.example.com.”
  • “List my Mailtrap templates and update the welcome template's subject to 'Welcome to Acme'.”
  • “Open the last message in my staging sandbox inbox and tell me if the reset link looks right.”
  • “Create a sandbox inbox named QA checkout in my staging sandbox project.”
  • “Find the email logs for jane@example.com and summarize what happened to each message.”
  • “Did the password reset email go to maria.lopez@example.com this morning? She says it never arrived.”Check whether a specific email was delivered
  • “Set up a sandbox inbox for our staging build and send a password reset test to it.”Set up and reset a Mailtrap sandbox inbox with AI
  • “Check whether my Mailtrap sending domains are healthy and tell me which one needs attention first.”Check Mailtrap sending domain health
  • “Audit my Mailtrap templates and tell me which ones I can safely delete.”Audit and clean up Mailtrap email templates

What the agent can do in Mailtrap

23 tools in 5 groups. Reading needs no approval; RevampKey asks before every change.

Email sending and templates
Send an email to an address you name. Create, list, update and delete templates. The agent asks before it sends, creates, changes or deletes anything.send-emailcreate-templatelist-templatesupdate-templatedelete-template
Sandbox testing
Send test emails into a sandbox, list the messages in a sandbox inbox, and open one message to read it. A sandbox test email asks for your approval first.send-sandbox-emailget-sandbox-messagesshow-sandbox-email-message
Sandbox projects and inboxes
List your sandbox projects. Create or delete a project. Get, update, delete or clean out a sandbox inbox. The agent asks before any create, change or delete.list-sandbox-projectscreate-sandbox-projectdelete-sandbox-projectcreate-sandbox-inboxget-sandbox-inboxupdate-sandbox-inboxdelete-sandbox-inboxclean-sandbox-inbox
Delivery logs and stats
Search your email logs, open one log message, and pull sending stats. These tools only read, so the agent can report what happened without changing anything.get-sending-statslist-email-logsget-email-log-message
Sending domains
List your sending domains and open one to see its details. Add a new sending domain or remove one. The agent asks before it adds or removes a domain.list-sending-domainsget-sending-domaincreate-sending-domaindelete-sending-domain

All 23 Mailtrap MCP tools

Show all 23 tools11 read, 12 create and change

Read (11) Run without asking

  • clean-sandbox-inbox
  • get-email-log-message
  • get-sandbox-inbox
  • get-sandbox-messages
  • get-sending-domain
  • get-sending-stats
  • list-email-logs
  • list-sandbox-projects
  • list-sending-domains
  • list-templates
  • show-sandbox-email-message

Create and change (12) RevampKey asks before each one

  • create-sandbox-inbox
  • create-sandbox-project
  • create-sending-domain
  • create-template
  • delete-sandbox-inbox
  • delete-sandbox-project
  • delete-sending-domain
  • delete-template
  • send-email
  • send-sandbox-email
  • update-sandbox-inbox
  • update-template

Mailtrap MCP in RevampKey vs other tools

RevampKeyClaude CodeCursorVS Code
SetupOne clickOne terminal commandEdit mcp.jsonEdit mcp.json
Sign-inIn the app/mcp → AuthenticateBrowser promptBrowser prompt
Mailtrap skillsAdded on connectCopy into .claude/skillsCopy into the projectCopy into the project
Needs a terminalNoYesNoNo

Mailtrap MCP server FAQ

What do I need to connect Mailtrap to RevampKey?

Open the Connectors tab in RevampKey and add Mailtrap. The Mailtrap server docs list what it needs: a Mailtrap account, a verified sending domain, an API token from Mailtrap API settings, and your Account ID.

What can the agent do in Mailtrap, and what can it not do?

It can send email, manage templates, sandbox projects and inboxes, and sending domains. It can also read sandbox messages, email logs and sending stats. It cannot use any tool outside the 23 listed for this connector, so it has no contact, webhook or billing tools here.

Does the agent change anything without asking first?

No. Twelve tools create, change or delete things, including sending email, editing templates, and removing sandbox inboxes or sending domains. The agent asks you before each of them. The other eleven tools only read. Check the agent's answers before you rely on them.

Can I use RevampKey to test Mailtrap sandbox emails?

Yes. Ask the agent to send a test email into a sandbox, list the messages in a sandbox inbox, or open one message to read it. Sending a sandbox test email asks for your approval first. Email Sandbox is the Mailtrap feature built for developers and QA testers who test staging emails.

Is the Mailtrap MCP server local or remote?

It runs on your own computer with npx (package mcp-mailtrap@0.10.0). Your client starts it as a local process; nothing is hosted.

What can an AI agent do with the Mailtrap MCP server?

It exposes 23 tools: 11 that read and 12 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

Are there agent skills for Mailtrap?

Yes. 5 SKILL.md playbooks teach an agent how to do real Mailtrap work step by step. RevampKey installs them when you connect Mailtrap; for Claude Code, Cursor or Codex you can copy them into your project.

Connect Mailtrap in under a minute

Download RevampKey for Mac, Windows or Linux, sign in, and Mailtrap is one click away, with its skills already attached, along with every other connector in the marketplace.

Download RevampKeyConnect Mailtrap · 1 click

Get RevampKey to connect Mailtrap

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Mailtrap is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials email-delivery-check sandbox-testing-setup sending-domain-health template-audit-and-cleanup; do
  curl -fsSL --create-dirs -o .claude/skills/mailtrap-$s/SKILL.md https://revampkey.com/marketplace/mailtrap/skills/$s/SKILL.md
done