# Mailtrap MCP - Tools, Setup and Examples | FlyMy.AI

> Mailtrap MCP for Claude, Cursor and Codex. Developer workflows, with 49 actions. Your API key. See setup, examples and pricing.

Page: https://flymy.ai/mcp/mailtrap/

MCP / Developer tools

# Mailtrap MCP: developer workflows

Email Delivery Platform for testing and sending transactional emails. Connect it to Claude, Codex, Cursor or any MCP client through one FlyMy.AI MCP.

[Connect Mailtrap](https://flymy.ai/mcp/mailtrap/#connect) [What it can do](https://flymy.ai/mcp/mailtrap/#actions)

Your own API key, 49 actions, Developer tools

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Mailtrap MCP in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

```
Read https://flymy.ai/skill.md and https://flymy.ai/mcp/mailtrap.md. Help me connect Mailtrap MCP to this assistant. Then help me run this task: Use Mailtrap to clean inbox. Ask me for the required inputs first and show the result.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/mcp/mailtrap.md)

## What Mailtrap MCP can do

49 actions in the FlyMy.AI catalog, the most used first. Your agent finds them through search_tools and calls the one the task needs.

| Action | What it does |
|---|---|
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_CLEAN_INBOX) `MAILTRAP_CLEAN_INBOX` | Clean an inbox in Mailtrap by deleting all messages. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_CREATE_CONTACT) `MAILTRAP_CREATE_CONTACT` | Create a new contact in Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_CREATE_CONTACT_EVENT) `MAILTRAP_CREATE_CONTACT_EVENT` | Create a contact event in Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_CREATE_CONTACT_EXPORT) `MAILTRAP_CREATE_CONTACT_EXPORT` | Create a contact export job for a Mailtrap account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_CREATE_CONTACT_FIELD) `MAILTRAP_CREATE_CONTACT_FIELD` | Create a custom contact field in Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_CREATE_CONTACT_LIST) `MAILTRAP_CREATE_CONTACT_LIST` | Create a new contact list in Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_CREATE_EMAIL_TEMPLATE) `MAILTRAP_CREATE_EMAIL_TEMPLATE` | Create a new email template in Mailtrap account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_CREATE_SENDING_DOMAIN) `MAILTRAP_CREATE_SENDING_DOMAIN` | Create a new sending domain in Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_DELETE_CONTACT) `MAILTRAP_DELETE_CONTACT` | Delete a contact from a Mailtrap account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_DELETE_CONTACT_FIELD) `MAILTRAP_DELETE_CONTACT_FIELD` | Delete a contact field by its ID. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_DELETE_CONTACT_LIST) `MAILTRAP_DELETE_CONTACT_LIST` | Delete a contact list by its ID. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_DELETE_EMAIL_TEMPLATE) `MAILTRAP_DELETE_EMAIL_TEMPLATE` | Delete an email template from a Mailtrap account. |

**Show all 49 actions**

| Action | What it does |
|---|---|
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_DELETE_PROJECT) `MAILTRAP_DELETE_PROJECT` | Delete a project from Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_DELETE_SENDING_DOMAIN) `MAILTRAP_DELETE_SENDING_DOMAIN` | Delete a sending domain from a Mailtrap account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_BILLING_USAGE) `MAILTRAP_GET_BILLING_USAGE` | Retrieve current billing cycle usage for an account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_CONTACT) `MAILTRAP_GET_CONTACT` | Retrieve a contact by UUID or email address from Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_CONTACT_EXPORT) `MAILTRAP_GET_CONTACT_EXPORT` | Retrieve the status of a contact export. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_CONTACT_FIELD) `MAILTRAP_GET_CONTACT_FIELD` | Retrieve contact field details by field ID. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_CONTACT_IMPORT) `MAILTRAP_GET_CONTACT_IMPORT` | Retrieve the status of a contact import operation. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_CONTACT_LIST) `MAILTRAP_GET_CONTACT_LIST` | Retrieve a specific contact list by its ID. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_EMAIL_TEMPLATE) `MAILTRAP_GET_EMAIL_TEMPLATE` | Retrieve details of a specific email template by ID. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_INBOX) `MAILTRAP_GET_INBOX` | Retrieve inbox attributes from Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_MESSAGE_HTML) `MAILTRAP_GET_MESSAGE_HTML` | Retrieve the HTML body of a message from Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_PERMISSION_RESOURCES) `MAILTRAP_GET_PERMISSION_RESOURCES` | Retrieve all resources in account for permission management. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_PROJECT) `MAILTRAP_GET_PROJECT` | Retrieve project details from Mailtrap by project ID. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_SENDING_DOMAIN) `MAILTRAP_GET_SENDING_DOMAIN` | Retrieve sending domain details from Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_SENDING_STATS) `MAILTRAP_GET_SENDING_STATS` | Retrieve email sending statistics from Mailtrap for a specific account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_SENDING_STATS_BY_CATEGORIES) `MAILTRAP_GET_SENDING_STATS_BY_CATEGORIES` | Retrieve email sending statistics grouped by categories. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_SENDING_STATS_BY_DATE) `MAILTRAP_GET_SENDING_STATS_BY_DATE` | Retrieve email sending statistics aggregated by date. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_SENDING_STATS_BY_DOMAINS) `MAILTRAP_GET_SENDING_STATS_BY_DOMAINS` | Retrieve sending statistics grouped by domains for a Mailtrap account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_GET_SENDING_STATS_BY_ESP) `MAILTRAP_GET_SENDING_STATS_BY_ESP` | Retrieve email sending statistics grouped by email service providers (ESPs) for a specified date range. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_IMPORT_CONTACTS) `MAILTRAP_IMPORT_CONTACTS` | Import contacts in bulk to Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_LIST_ACCOUNTS) `MAILTRAP_LIST_ACCOUNTS` | List all Mailtrap accounts you have access to. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_LIST_CONTACT_FIELDS) `MAILTRAP_LIST_CONTACT_FIELDS` | Get all contact fields for a Mailtrap account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_LIST_CONTACT_LISTS) `MAILTRAP_LIST_CONTACT_LISTS` | Retrieve all contact lists for a Mailtrap account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_LIST_EMAIL_TEMPLATES) `MAILTRAP_LIST_EMAIL_TEMPLATES` | Retrieve all email templates for a Mailtrap account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_LIST_INBOXES) `MAILTRAP_LIST_INBOXES` | Get a list of inboxes for a Mailtrap account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_LIST_MESSAGES) `MAILTRAP_LIST_MESSAGES` | Get messages from a Mailtrap inbox. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_LIST_PROJECTS) `MAILTRAP_LIST_PROJECTS` | Get a list of projects for a Mailtrap account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_LIST_SENDING_DOMAINS) `MAILTRAP_LIST_SENDING_DOMAINS` | List all sending domains for a Mailtrap account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_LIST_SUPPRESSIONS) `MAILTRAP_LIST_SUPPRESSIONS` | List suppressed email addresses for a Mailtrap account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_MARK_INBOX_AS_READ) `MAILTRAP_MARK_INBOX_AS_READ` | Mark all messages in a Mailtrap inbox as read. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_RESET_INBOX_CREDENTIALS) `MAILTRAP_RESET_INBOX_CREDENTIALS` | Reset SMTP credentials for a Mailtrap inbox. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_UPDATE_CONTACT) `MAILTRAP_UPDATE_CONTACT` | Update an existing contact in Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_UPDATE_CONTACT_FIELD) `MAILTRAP_UPDATE_CONTACT_FIELD` | Update a contact field in Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_UPDATE_CONTACT_LIST) `MAILTRAP_UPDATE_CONTACT_LIST` | Update a contact list's name in Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_UPDATE_EMAIL_TEMPLATE) `MAILTRAP_UPDATE_EMAIL_TEMPLATE` | Update an existing email template in Mailtrap account. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_UPDATE_INBOX) `MAILTRAP_UPDATE_INBOX` | Update an inbox's settings in Mailtrap. |
| [#](https://flymy.ai/mcp/mailtrap/#method-MAILTRAP_UPDATE_PROJECT) `MAILTRAP_UPDATE_PROJECT` | Update a project's name in Mailtrap. |

## Ask your agent

Requests to paste as they are. Each one runs on the actions named under it.

**“Use Mailtrap to clean inbox. Ask me for the required inputs first and show the result.”** uses `MAILTRAP_CLEAN_INBOX`

**“Use Mailtrap to create contact. Ask me for the required inputs first and show the result.”** uses `MAILTRAP_CREATE_CONTACT`

**“Use Mailtrap to create contact event. Ask me for the required inputs first and show the result.”** uses `MAILTRAP_CREATE_CONTACT_EVENT`

## Connect Mailtrap in a minute

One MCP for every integration. Add it once, then every MCP in the catalog is a request away.

1. 01 ### Add FlyMy.AI Add the FlyMy.AI MCP to your assistant with one of the commands below and sign in. No key to copy.
2. 02 ### Add your Mailtrap credentials Paste them into the Mailtrap [connection settings](https://app.flymy.ai/mcp-configs#mailtrap) once; they stay with FlyMy.AI, never in a prompt or a chat.
  - **Bearer Token** - Token for bearer authentication [Open Mailtrap →](https://mailtrap.io/)
  - **API Token** - Sign in and copy your API Token directly from your dashboard under Settings > API Tokens (https://mailtrap.io/api-tokens) [Get API key →](https://mailtrap.io/api-tokens)
3. 03 ### Ask Paste a request from this page. Every run shows what it cost.

Claude Code

```
claude mcp add --transport http flymyai https://mcp-agents.flymy.ai/mcp
```

Then run /mcp in Claude Code and sign in.

Codex

```
codex mcp add flymy --url https://mcp-agents.flymy.ai/mcp
```

Then run codex mcp login flymy to sign in.

claude.ai and Claude Desktop

```
https://mcp-agents.flymy.ai/mcp
```

Settings, Connectors, Add custom connector: paste this URL.

## Pay per run

FlyMy.AI bills the run: the model and the tool's seconds. Calls go to your own Mailtrap account, under its plan and limits. No seats and no minimum.

[See usage pricing →](https://flymy.ai/pricing/)

## More Developer tools MCPs

Code, CI, hosting, monitoring and security.

### 1Password

Password manager and digital vault for secure credential storage and team collaboration

11 actions / your API key

Link: https://flymy.ai/mcp/1password/

### Ably

Ably is a real-time messaging platform helping developers build live features, including chat and data synchronization, with global scalability and robust...

11 actions / your API key

Link: https://flymy.ai/mcp/ably/

### Abstract

Abstract API provides a suite of APIs for developers to automate various tasks, including data validation, enrichment, and more

3 actions / your API key

Link: https://flymy.ai/mcp/abstract/

### AbuseIPDB

AbuseIPDB is a project dedicated to helping make the internet safer by providing a central repository for reporting and checking IP addresses associated...

6 actions / your API key

Link: https://flymy.ai/mcp/abuselpdb/

### Addressfinder

A reliably smart, reliably accurate data quality platform for address, email, and phone verification

17 actions / your API key

Link: https://flymy.ai/mcp/addressfinder/

### Addresszen

AddressZen provides address autocomplete and verification services, offering real-time address suggestions and validation to ensure accurate and deliverable...

2 actions / your API key

Link: https://flymy.ai/mcp/addresszen/

## Go to the source

[Mailtrap in the docs →](https://docs.flymy.ai/mcp/apps/mailtrap), [Mailtrap connection settings →](https://app.flymy.ai/mcp-configs#mailtrap), [Mailtrap website →](https://mailtrap.io/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog), [Usage pricing →](https://flymy.ai/pricing/)

From the FlyMy.AI platform catalog of 2026-11-03: name, description, actions and setup as the platform lists them. Examples are requests to paste, not recorded runs.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
