Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

Mailtrap

NPM · MCP-MAILTRAP · SCANNED SEP 29

Official MCP Server for Mailtrap

Available components

0 this week 85 Trust /100
Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security98
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • No install/post-install scripts declared.Pass
  • 36 of 114 dependencies flagged as unhealthy (1 deprecated). View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability82
  • AI-judged instruction clarity (excellent).Pass
  • Tool/resource definitions use about 10495 tokens (~83/item across 125 items; 125 tools + 0 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management97
  • Stability observed for 29 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • All 25 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.Pass
  • An AI judge read all 125 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

How do I install the Mailtrap MCP server?

Mailtrap runs locally as an npm package, launched with npx -y mcp-mailtrap. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

npm · mcp-mailtrap

# add to Claude Code
claude mcp add io-mailtrap-mcp -- npx -y mcp-mailtrap
// .cursor/mcp.json
{
  "mcpServers": {
    "io-mailtrap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mailtrap"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "io-mailtrap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mailtrap"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add io-mailtrap-mcp -- npx -y mcp-mailtrap
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "io-mailtrap-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "mcp-mailtrap"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add io-mailtrap-mcp --command npx --arg -y --arg mcp-mailtrap
# ~/.hermes/config.yaml
mcp_servers:
  io-mailtrap-mcp:
    command: "npx"
    args: ["-y", "mcp-mailtrap"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "io-mailtrap-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "mcp-mailtrap"
      ]
    }
  }
}
# add to Vellum
assistant mcp add io-mailtrap-mcp -t stdio -c npx -a -y mcp-mailtrap
// mcp.json
{
  "mcpServers": {
    "io-mailtrap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mailtrap"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 29 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

  • 28 Sept 26 0
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 27 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.

  • 25 Sept 26 +1
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 24 Sept 26 −3
    • Security disclosure: unverified → fail ▼ functional
    • Stability: pass → 0.80 functional
  • 23 Sept 26 0
    • Stability: 0.97 → pass security
    • Security disclosure: fail → unverified ▼ functional
  • 22 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

  • 20 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 29 Sept 2026 · Analysed npm/mcp-mailtrap@0.9.0

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem npm

Background: How many MCP packages publish verified provenance →

Dependencies 114 packages
Packages resolved 114
Deprecated 1
Stale 35
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 125 exposed · ~10,495 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
get-contact-field ~32

Get a contact field definition by ID.

NameTypeReqDescription
field_idnumberyesID of the contact field to fetch.

No output schema declared.

No examples provided.

get-contact-import ~43

Get the status of a contact import job, including created/updated/over-limit counts.

NameTypeReqDescription
import_idnumberyesID of the contact import job to fetch.

No output schema declared.

No examples provided.

get-contact-list ~31

Get a contact list by ID.

NameTypeReqDescription
list_idnumberyesID of the contact list to fetch.

No output schema declared.

No examples provided.

get-email-campaign ~34

Get an email campaign by ID.

NameTypeReqDescription
email_campaign_idintegeryesUnique identifier of the email campaign to fetch.

No output schema declared.

No examples provided.

get-email-campaign-stats ~118

Get aggregated performance statistics for an email campaign; optionally narrow the window with `start_date`/`end_date` (`YYYY-MM-DD`).

NameTypeReqDescription
email_campaign_idintegeryesUnique identifier of the email campaign.
end_datestring–End of the aggregation window (inclusive), in `YYYY-MM-DD` format. Defaults to the current date.
start_datestring–Start of the aggregation window (inclusive), in `YYYY-MM-DD` format. Defaults to the day the campaign was last started.

No output schema declared.

No examples provided.

get-email-log-message ~89

Get a single email log message by ID (UUID) to inspect delivery status and event history.

NameTypeReqDescription
include_contentboolean–When true, download the raw EML message (if available) and include parsed HTML and text body content, similar to show-sandbox-email-message.
message_idstringyesUUID of the email log message (from send response or list-email-logs)

No output schema declared.

No examples provided.

get-inbound-folder ~30

Get a single inbound folder by ID.

NameTypeReqDescription
folder_idnumberyesThe inbound folder ID.

No output schema declared.

No examples provided.

get-inbound-inbox ~42

Get a single inbound inbox by ID.

NameTypeReqDescription
folder_idnumberyesThe inbound folder ID.
inbox_idnumberyesThe inbox ID.

No output schema declared.

No examples provided.

get-inbound-message ~46

Get a single inbound message with its full body and attachment download URLs.

NameTypeReqDescription
inbox_idnumberyesThe inbox ID.
message_idstringyesThe message ID.

No output schema declared.

No examples provided.

get-inbound-thread ~46

Get a single inbound thread with its messages embedded (oldest first).

NameTypeReqDescription
inbox_idnumberyesThe inbox ID.
thread_idstringyesThe thread ID.

No output schema declared.

No examples provided.

get-permission-resources ~39

Get all resources (inboxes, projects, domains, billing, account) to which the API token has admin access, nested by hierarchy.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get-sandbox-attachment ~79

Get the metadata and download URL for a single sandbox attachment.

NameTypeReqDescription
attachment_idnumberyesID of the attachment to fetch
message_idnumberyesID of the sandbox message that contains the attachment
sandbox_idnumber–Sandbox ID. Falls back to MAILTRAP_SANDBOX_ID env var if omitted.

No output schema declared.

No examples provided.

get-sandbox-inbox ~52

Get sandbox inbox details including SMTP credentials, email counts, and status

NameTypeReqDescription
inbox_idnumber–ID of the sandbox inbox. Optional if MAILTRAP_TEST_INBOX_ID env var is set.

No output schema declared.

No examples provided.

get-sandbox-message-eml ~61

Get a sandbox message as an EML file payload.

NameTypeReqDescription
message_idnumberyesID of the sandbox message
sandbox_idnumber–Sandbox ID. Falls back to MAILTRAP_SANDBOX_ID env var if omitted.

No output schema declared.

No examples provided.

get-sandbox-message-headers ~60

Get the parsed mail headers for a sandbox message.

NameTypeReqDescription
message_idnumberyesID of the sandbox message
sandbox_idnumber–Sandbox ID. Falls back to MAILTRAP_SANDBOX_ID env var if omitted.

No output schema declared.

No examples provided.

get-sandbox-message-html ~59

Get the rendered HTML body of a sandbox message.

NameTypeReqDescription
message_idnumberyesID of the sandbox message
sandbox_idnumber–Sandbox ID. Falls back to MAILTRAP_SANDBOX_ID env var if omitted.

No output schema declared.

No examples provided.

get-sandbox-message-html-analysis ~64

Get HTML analysis for a sandbox message (client compatibility, problematic elements).

NameTypeReqDescription
message_idnumberyesID of the sandbox message
sandbox_idnumber–Sandbox ID. Falls back to MAILTRAP_SANDBOX_ID env var if omitted.

No output schema declared.

No examples provided.

get-sandbox-message-html-source ~62

Get the unrendered HTML source of a sandbox message.

NameTypeReqDescription
message_idnumberyesID of the sandbox message
sandbox_idnumber–Sandbox ID. Falls back to MAILTRAP_SANDBOX_ID env var if omitted.

No output schema declared.

No examples provided.

get-sandbox-message-raw ~65

Get the raw message (MIME-formatted) for a sandbox message.

NameTypeReqDescription
message_idnumberyesID of the sandbox message
sandbox_idnumber–Sandbox ID. Falls back to MAILTRAP_SANDBOX_ID env var if omitted.

No output schema declared.

No examples provided.

get-sandbox-message-spam-score ~69

Get the SpamAssassin spam report for a sandbox message (score, rules, report).

NameTypeReqDescription
message_idnumberyesID of the sandbox message
sandbox_idnumber–Sandbox ID. Falls back to MAILTRAP_SANDBOX_ID env var if omitted.

No output schema declared.

No examples provided.

get-sandbox-message-text ~59

Get the plain-text body of a sandbox message.

NameTypeReqDescription
message_idnumberyesID of the sandbox message
sandbox_idnumber–Sandbox ID. Falls back to MAILTRAP_SANDBOX_ID env var if omitted.

No output schema declared.

No examples provided.

get-sandbox-messages ~101

Get list of messages from the sandbox test inbox

NameTypeReqDescription
last_idnumber–Pagination using last message ID. Returns messages after the specified message ID.
pagenumber–Page number for pagination
searchstring–Search query to filter messages
test_inbox_idnumber–Mailtrap test inbox ID. Optional if MAILTRAP_TEST_INBOX_ID env var is set. Use to target a specific inbox.

No output schema declared.

No examples provided.

get-sandbox-project ~39

Get a sandbox project by ID, including its inboxes and email counts

NameTypeReqDescription
project_idnumberyesID of the project to fetch

No output schema declared.

No examples provided.

get-sending-domain ~65

Get a sending domain by ID and its verification status. Optionally include DNS setup instructions via include_setup_instructions.

NameTypeReqDescription
include_setup_instructionsboolean–If true, append DNS setup instructions to the response.
sending_domain_idnumberyesSending domain ID

No output schema declared.

No examples provided.

get-sending-stats ~196

Get email sending statistics (delivery, bounce, open, click, spam rates) for a date range. Optionally break down by domain, category, email service provider, or date.

NameTypeReqDescription
breakdownstring–How to break down the stats: aggregated (default), by_domain, by_category, by_email_service_provider, or by_date
categoriesarray–Optional filter: limit to these email categories
email_service_providersarray–Optional filter: limit to these email service providers (e.g. Google, Yahoo, Outlook)
end_datestringyesEnd date for the stats range (YYYY-MM-DD)
sending_domain_idsarray–Optional filter: limit to these sending domain IDs
sending_streamsarray–Optional filter: limit to transactional and/or bulk stream
start_datestringyesStart date for the stats range (YYYY-MM-DD)

No output schema declared.

No examples provided.

get-template ~40

Get a single email template by ID, including subject, category, and HTML/text body.

NameTypeReqDescription
template_idnumberyesID of the template to fetch

No output schema declared.

No examples provided.

get-webhook ~30

Get a single webhook by ID.

NameTypeReqDescription
webhook_idnumberyesID of the webhook to fetch

No output schema declared.

No examples provided.

list-account-accesses ~95

List account accesses (users, invites, API tokens) for the account. Optionally scope by domain UUIDs, inbox IDs, or project IDs. Requires account admin/owner permissions.

NameTypeReqDescription
domain_uuidsarray–Optional: filter by sending domain UUIDs.
inbox_idsarray–Optional: filter by sandbox inbox IDs.
project_idsarray–Optional: filter by sandbox project IDs.

No output schema declared.

No examples provided.

list-accounts ~26

List Mailtrap accounts accessible to the API token, with each account's access levels.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

list-api-tokens ~18

List all API tokens for the account.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

list-contact-fields ~18

List all contact field definitions for the account.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

list-contact-lists ~56

List all contact lists for the account. Optionally filter by name with `search` (case-insensitive match).

NameTypeReqDescription
searchstring–Filter contact lists by name (case-insensitive match), e.g. "news".

No output schema declared.

No examples provided.

list-email-campaigns ~106

List the account's email campaigns, newest first, with page-token pagination (`token`, `per_page`). Optionally filter by name with `search`.

NameTypeReqDescription
per_pageinteger–Number of campaigns per page. Defaults to 50, maximum 100.
searchstring–Filter campaigns by name (case-insensitive partial match), e.g. "spring".
tokeninteger–Page number to retrieve (page-token pagination). Defaults to `1`.

No output schema declared.

No examples provided.

list-email-logs ~749

List sent email logs (delivery history) with optional pagination and filters; use to debug delivery issues.

NameTypeReqDescription
category––Filter by email category. Use with category_operator. Single value, array (e.g. ["Newsletter", "Alert"]), or comma-separated string (e.g. "Newsletter,Alert") for multiple (OR).
category_operatorstring–Operator for category. Default: equal.
clicks_countnumber–Filter by number of link clicks. Use with clicks_count_operator.
clicks_count_operatorstring–Operator for clicks_count. Default: equal.
client_ipstring–Filter by client IP. Use with client_ip_operator.
client_ip_operatorstring–Operator for client_ip. Default: equal.
email_service_provider––Filter by email service provider (exact). Single value or array. Use with *_operator.
email_service_provider_operatorstring–Operator for email_service_provider. Default: equal.
email_service_provider_response––Filter by provider response text. Single value or array. Use with *_operator.
email_service_provider_response_operatorstring–Operator for email_service_provider_response. Default: ci_contain.
events––Filter by event type(s). Use with events_operator: include_event or not_include_event.
events_operatorstring–Operator for events filter. Default: include_event.
from_email––Filter by sender email (use with from_operator). Single value or array.
from_operatorstring–Operator for from_email filter. Default: ci_equal. ci_contain/ci_not_contain match substring; ci_equal/ci_not_equal match exactly (case-insensitive).
opens_countnumber–Filter by number of opens. Use with opens_count_operator.
opens_count_operatorstring–Operator for opens_count. Default: equal.
recipient_mx––Filter by recipient MX. Single value or array. Use with recipient_mx_operator.
recipient_mx_operatorstring–Operator for recipient_mx. Default: ci_contain.
search_afterstring–Pagination cursor from the previous response's next_page_cursor to fetch the next page
sending_domain_id––Filter by sending domain ID. Single value or array. Find IDs in Mailtrap Sending Domains.
sending_domain_id_operatorstring–Operator for sending_domain_id filter. Default: equal.
sending_ipstring–Filter by sending IP. Use with sending_ip_operator.
sending_ip_operatorstring–Operator for sending_ip. Default: equal.
sending_stream––Filter by sending stream: transactional or bulk. Single value or array.
sending_stream_operatorstring–Operator for sending_stream filter. Default: equal.
sent_afterstring–ISO 8601 date/time; only return logs for emails sent after this time
sent_beforestring–ISO 8601 date/time; only return logs for emails sent before this time
status––Filter by delivery status (use with status_operator). Single value or array.
status_operatorstring–Operator for status filter. Default: equal.
subject––Filter by email subject (use with subject_operator). Single value or array. Omit for empty/not_empty.
subject_operatorstring–Operator for subject filter. Default: ci_contain. Use empty/not_empty to filter by presence of subject.
to_email––Filter by recipient email (use with to_operator). Single value or array.
to_operatorstring–Operator for to_email filter. Default: ci_equal.

No output schema declared.

No examples provided.

list-inbound-folders ~19

List all inbound folders in the account.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

list-inbound-inboxes ~37

List all inboxes in an inbound folder.

NameTypeReqDescription
folder_idnumberyesThe inbound folder ID to list inboxes for.

No output schema declared.

No examples provided.

list-inbound-messages ~70

List received messages in an inbound inbox (paginated). Pass `last_id` from a previous response to fetch the next page.

NameTypeReqDescription
inbox_idnumberyesThe inbox ID to list messages for.
last_idstring–Pagination cursor from a previous response's `last_id`.

No output schema declared.

No examples provided.

list-inbound-threads ~70

List conversation threads in an inbound inbox (paginated). Pass `last_id` from a previous response to fetch the next page.

NameTypeReqDescription
inbox_idnumberyesThe inbox ID to list threads for.
last_idstring–Pagination cursor from a previous response's `last_id`.

No output schema declared.

No examples provided.

list-sandbox-attachments ~57

List all attachments on a sandbox message.

NameTypeReqDescription
message_idnumberyesID of the sandbox message
sandbox_idnumber–Sandbox ID. Falls back to MAILTRAP_SANDBOX_ID env var if omitted.

No output schema declared.

No examples provided.

list-sandbox-projects ~25

List all sandbox projects and their inboxes in your Mailtrap account

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

list-sandboxes ~22

List all sandboxes accessible to the API token across projects

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

list-sending-domains ~20

List sending domains and their DNS verification status

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

list-sub-accounts ~36

List sub-accounts in the organization. Requires `MAILTRAP_ORGANIZATION_ID` env var and sub-account management permissions.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

list-suppressions ~50

List or search suppressions. Optionally filter by email. Returns up to 1000 suppressions per call.

NameTypeReqDescription
emailstring–Optional email filter. Returns suppressions matching this address.

No output schema declared.

No examples provided.

list-templates ~14

List all email templates

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

list-tracking-opt-outs ~155

List email addresses excluded from open and click tracking. Returns up to 1000 records per call.

NameTypeReqDescription
emailstring–Optional email filter. Returns tracking opt-outs matching this address.
end_timestring–Only opt-outs created at or before this time (ISO 8601, e.g. 2026-08-31T23:59:59Z).
last_idstring–Pagination cursor — the `last_id` from the previous response, to fetch the next page.
start_timestring–Only opt-outs created at or after this time (ISO 8601, e.g. 2026-08-01T00:00:00Z).

No output schema declared.

No examples provided.

list-webhooks ~17

List all webhooks for the account.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

mark-sandbox-as-read ~35

Mark all messages in a sandbox as read

NameTypeReqDescription
sandbox_idnumberyesID of the sandbox to act on

No output schema declared.

No examples provided.

remove-account-access ~60

Remove an account access by ID. For User specifiers this revokes permissions; for Invite or ApiToken specifiers it removes the specifier itself. Requires admin/owner.

NameTypeReqDescription
account_access_idnumberyesID of the account access to remove.

No output schema declared.

No examples provided.

reply-all-to-inbound-message ~225

Reply to an inbound message and copy the original's other recipients. Sends a real email.

NameTypeReqDescription
attachmentsarray–File attachments.
bccarray–Optional BCC recipients as `{ email, name? }` objects (bare email strings also accepted)
categorystring–Message category.
ccarray–Optional CC recipients as `{ email, name? }` objects (bare email strings also accepted)
custom_variablesobject–Custom variables.
fromobject–Sender. Rejected for Mailtrap-hosted inboxes; required for custom-domain inboxes.
headersobject–Custom headers.
htmlstring–HTML body.
inbox_idnumberyesThe inbox ID.
message_idstringyesThe message ID to reply to.
reply_toobject–Reply-To address.
textstring–Plain-text body.
toarray–Recipients. Defaults to the original sender for reply/reply_all when omitted; required for forward.

No output schema declared.

No examples provided.

Common questions

What is the Mailtrap MCP server?

Mailtrap is an MCP server listed in the public MCP registry as io.mailtrap/mcp. Official MCP Server for Mailtrap. This page covers its npm package (mcp-mailtrap).

Is the Mailtrap MCP server safe to use?

Mailtrap scores 85 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 29 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the Mailtrap MCP server expose?

Mailtrap exposes 125 tools: send-email, batch-send-transactional-email, batch-send-bulk-email, create-template, list-templates, and 120 more. Their descriptions and schemas cost roughly 10,495 tokens of context every time the server is loaded.

Is the Mailtrap MCP server still maintained?

Mailtrap is still listed as active in the MCP registry. We last reached this channel on 29 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the Mailtrap MCP server under?

Mailtrap declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.