MailSlurp

MailSlurp MCP Connector for Claude

A+

Manage temporary inboxes and automate email testing via the MailSlurp REST API.

8 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your MailSlurp account to any AI agent to automate your email testing and asynchronous message management. This MCP server enables your agent to create virtual inboxes, send and receive emails, and handle complex automation scenarios using long-polling 'wait-for' methods directly from natural language interfaces.

What you can do

  • Virtual Inbox Management — Create random or custom email addresses and list all managed inboxes in your account
  • Email Automation — Long-poll for the latest incoming email or wait until a specific email count is reached for testing suites
  • Message Retrieval — List and inspect messages received by any virtual address, including full HTML and text bodies
  • Outbound Capability — Send emails directly from any of your MailSlurp addresses programmatically
  • Infrastructure Maintenance — Permanently delete individual messages or entire virtual inboxes via simple commands
  • Metadata Inspection — Retrieve detailed technical headers and attachment metadata for any received email

How it works

  1. Subscribe to this server
  2. Enter your MailSlurp API Key (x-api-key)
  3. Start managing your virtual email infrastructure from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • QA Engineers — Automate the verification of user registration flows and transactional alerts via natural language
  • Developers — Quickly inspect incoming test emails and manage temporary addresses directly from your IDE
  • Product Teams — Monitor and audit automated communication paths and email delivery results effortlessly
email-testingvirtual-inboxdisposable-emailautomated-testingemail-automationmessage-parsing

8 tools expose this connector's capabilities to your AI agent.

create_random_inbox

Create a new random email address

delete_specific_inbox

Delete an inbox and its emails

list_inbox_emails

List emails received by an inbox

get_email_details

Get complete content for a specific email

list_all_inboxes

List all MailSlurp inboxes

send_email_from_inbox

Requires recipient and content. Send an email using a MailSlurp address

wait_for_email_count

Wait until an inbox has a certain number of emails

wait_for_latest_email

Returns the latest one immediately if present. Long-poll for the next incoming email

See how to talk to your AI agent using MailSlurp.

Create a new random inbox in MailSlurp.

I've created a new inbox. The address is 'abc-123@mailslurp.com' and the ID is 'inbox-xyz'. You can now use it to receive emails.

Wait for the next email to arrive in inbox 'inbox-xyz'.

I'm monitoring the inbox. [Connection held] ... I've received an email from 'no-reply@service.com' with the subject 'Verify your account'. Would you like the text body?

Send an email to 'user@example.com' from inbox 'inbox-xyz'.

I've sent the email to user@example.com from your virtual inbox inbox-xyz. The message has been successfully delivered to the outbound queue.

Use the `list_all_inboxes` tool to see a comprehensive list of all your MailSlurp addresses along with their unique IDs.

Related Connectors