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
batch-send-bulk-email ~123

Send a batch of bulk emails (Mailtrap bulk-stream API) in one call. Shared fields go on `base`; per-recipient overrides go in `requests[]`. Each request must include at least one of `to`/`cc`/`bcc`.

NameTypeReqDescription
baseobject–Shared fields applied to every request in the batch. Each request can override individual fields.
requestsarrayyesPer-recipient messages. Each request must include at least one recipient via `to`, `cc`, or `bcc`; other fields override `base`.

No output schema declared.

No examples provided.

batch-send-sandbox-email ~160

Send a batch of emails in sandbox mode to a test inbox in one Mailtrap API call. Shared fields go on `base`; per-recipient overrides go in `requests[]`. Requires `sandbox_id` or the MAILTRAP_SANDBOX_ID env var.

NameTypeReqDescription
baseobject–Shared fields applied to every request in the batch. Each request can override individual fields.
requestsarrayyesPer-recipient messages. Each request must include at least one recipient via `to`, `cc`, or `bcc`; other fields override `base`.
sandbox_idnumber–Mailtrap sandbox (test inbox) ID. Optional if MAILTRAP_SANDBOX_ID env var is set. Use to target a specific sandbox.

No output schema declared.

No examples provided.

batch-send-transactional-email ~108

Send a batch of transactional emails in one Mailtrap API call. Shared fields go on `base`; per-recipient overrides go in `requests[]`. Each request must include `to`.

NameTypeReqDescription
baseobject–Shared fields applied to every request in the batch. Each request can override individual fields.
requestsarrayyesPer-recipient messages. Each request must include at least one recipient via `to`, `cc`, or `bcc`; other fields override `base`.

No output schema declared.

No examples provided.

bulk-update-permissions ~119

Bulk create, update, or destroy permissions for an account access. Existing (resource_type, resource_id) pairs are updated; new ones are created. Set `destroy: true` to remove.

NameTypeReqDescription
account_access_idnumberyesID of the account access whose permissions are being updated.
permissionsarrayyesPermission entries to create, update, or destroy. Combinations of `resource_type` + `resource_id` that already exist are updated; new combinations are created. Set `destroy: true` to remove an existi…

No output schema declared.

No examples provided.

cancel-email-campaign ~50

Cancel a `scheduled` email campaign, returning it to `draft`; only `scheduled` campaigns can be cancelled.

NameTypeReqDescription
email_campaign_idintegeryesUnique identifier of the email campaign to cancel.

No output schema declared.

No examples provided.

clean-sandbox-inbox ~44

Delete all messages from a sandbox inbox without deleting the inbox itself

NameTypeReqDescription
inbox_idnumberyesID of the sandbox inbox to clean (delete all messages from)

No output schema declared.

No examples provided.

create-api-token ~165

Create a new API token. The response includes the secret `token` value — this is the **only time** the full token is returned, so store it immediately.

NameTypeReqDescription
expires_atstring|null–Optional token expiration as an ISO 8601 date-time (e.g. 2027-06-01T00:00:00Z). Omit for the server default (1 year). Pass an explicit null for a token that never expires. Past values or values more…
namestringyesDisplay name for the API token.
resourcesarray–Optional list of resource permissions to attach to the token. Each entry pins the token to a specific resource at a given access level.

No output schema declared.

No examples provided.

create-company-info ~153

Set the company info of a sending domain, required for domain compliance verification.

NameTypeReqDescription
addressstringyesStreet address.
citystringyesCity.
countrystringyesCountry.
info_levelstring–Whether the sender is a business or an individual.
namestringyesCompany or individual name.
phonestring–Phone number.
privacy_policy_urlstring–URL of the privacy policy page.
sending_domain_idintegeryesSending domain ID
terms_of_service_urlstring–URL of the terms of service page.
website_urlstringyesCompany website URL.
zip_codestringyesZIP or postal code.

No output schema declared.

No examples provided.

create-contact ~129

Create a new contact. Requires `email`; optionally accepts custom `fields`, `list_ids` to subscribe to, and `unsubscribed` to start in unsubscribed status.

NameTypeReqDescription
emailstringyesEmail address of the contact.
fieldsobject–Custom field values keyed by the field's merge tag (e.g. `first_name`). Values may be string, number, or boolean.
list_idsarray–IDs of contact lists to add this contact to.
unsubscribedboolean–If true, the contact is created in `unsubscribed` status.

No output schema declared.

No examples provided.

create-contact-event ~101

Record a contact event (by `name` + arbitrary `params`) against a contact ID or email. Used to trigger automations.

NameTypeReqDescription
contact_identifierstringyesContact ID or email to attach the event to.
namestringyesEvent name. Used to match contact-list automations triggered by this event.
paramsobjectyesArbitrary key/value parameters for the event. Values may be string, number, boolean, or null.

No output schema declared.

No examples provided.

create-contact-export ~60

Export contacts matching a set of AND-combined filters. Returns an export job; poll status with `get-contact-export` to retrieve the download URL.

NameTypeReqDescription
filtersarrayyesFilters that select which contacts to include in the export. AND-combined.

No output schema declared.

No examples provided.

create-contact-field ~88

Create a new contact field definition. `merge_tag` must be unique and is used in template variables.

NameTypeReqDescription
data_typestringyesData type stored in this field.
merge_tagstringyesMerge tag used in template variables (e.g. `first_name`). Must be unique.
namestringyesDisplay name of the field (e.g. "First Name").

No output schema declared.

No examples provided.

create-contact-import ~65

Bulk import contacts. Returns an import job record; poll status via `get-contact-import`.

NameTypeReqDescription
contactsarrayyesContacts to import. Each entry needs at least an `email`; optionally include custom `fields`, `list_ids_included`, and `list_ids_excluded`.

No output schema declared.

No examples provided.

create-contact-list ~28

Create a new contact list.

NameTypeReqDescription
namestringyesName for the new contact list.

No output schema declared.

No examples provided.

create-email-campaign ~267

Create a new email campaign in the `draft` state; requires `name`, `domain_id`, `from_local_part`, and a `template_attributes.subject`.

NameTypeReqDescription
contact_list_idsarray–IDs of contact lists to send to. Treated as the full set of included lists. Combine with `contact_segment_ids` to target both.
contact_segment_idsarray–IDs of contact segments to send to. Treated as the full set of included segments.
delivery_modestring–How the campaign is delivered. `rapid` sends as fast as possible; `gradual` throttles sending to `delivery_options.emails_per_hour`.
delivery_optionsobject–Delivery throttling options. Applies when `delivery_mode` is `gradual`.
domain_idintegeryesID of the verified sending domain used for the campaign, as returned by the Sending Domains endpoints.
from_display_namestring–Display name shown in the From header.
from_local_partstringyesLocal part (before the @) of the From address.
namestringyesCampaign name.
reply_toobject–Reply-To address parts.
template_attributesobjectyesInline email template — the campaign's subject and design.

No output schema declared.

No examples provided.

create-inbound-folder ~26

Create a new inbound folder.

NameTypeReqDescription
namestringyesThe folder name.

No output schema declared.

No examples provided.

create-inbound-inbox ~106

Create a new inbound inbox in a folder. Omit `domain_id` for a Mailtrap-hosted inbox; pass it for a custom-domain (catch-all) inbox.

NameTypeReqDescription
domain_idnumber–Optional. Attach the inbox to a custom sending domain (catch-all inbox). Omit for a standard Mailtrap-hosted inbox.
folder_idnumberyesThe inbound folder ID to create the inbox in.
namestringyesThe inbox name.

No output schema declared.

No examples provided.

create-sandbox-inbox ~57

Create a new sandbox test inbox within a project. Returns SMTP credentials for the new inbox.

NameTypeReqDescription
namestringyesName of the inbox
project_idnumberyesID of the project to create the inbox in

No output schema declared.

No examples provided.

create-sandbox-project ~37

Create a new sandbox project to group test inboxes

NameTypeReqDescription
namestringyesName of the project (2–100 characters)

No output schema declared.

No examples provided.

create-sending-domain ~32

Create a new sending domain

NameTypeReqDescription
domain_namestringyesDomain name (e.g. example.com)

No output schema declared.

No examples provided.

create-sub-account ~48

Create a new sub-account under the organization. Requires `MAILTRAP_ORGANIZATION_ID` and sub-account management permissions.

NameTypeReqDescription
namestringyesDisplay name for the new sub-account.

No output schema declared.

No examples provided.

create-suppression ~101

Add an email address to the account's suppression list, so Mailtrap stops delivering to it.

NameTypeReqDescription
domain_idintegeryesID of the sending domain the suppression applies to, as returned by the Sending Domains tools.
emailstringyesEmail address to suppress.
sending_streamstringyesSending stream to suppress the address for.
typestring–Reason recorded for the suppression. Defaults to `manual import` when omitted.

No output schema declared.

No examples provided.

create-template ~80

Create a new email template

NameTypeReqDescription
categorystring–Template category (optional, defaults to 'General')
htmlstring–HTML content of the template (optional)
namestringyesName of the template
subjectstringyesEmail subject line
textstring–Plain text version of the template (optional)

No output schema declared.

No examples provided.

create-tracking-opt-out ~69

Exclude an email address from open and click tracking for a sending domain.

NameTypeReqDescription
domain_idintegeryesID of the sending domain the opt-out applies to, as returned by the Sending Domains tools.
emailstringyesEmail address to opt out of open and click tracking.

No output schema declared.

No examples provided.

create-webhook ~309

Create a webhook. `webhook_type` may be `email_sending`, `audit_log`, or `inbound_receiving`; for `inbound_receiving`, `inbound_inbox_id` is optional (scopes the webhook to one inbox — omit to apply to all inboxes). The response includes a `signing_secret` for verifying webhook payload signatures — this secret is returned only on creation, so store it now.

NameTypeReqDescription
activeboolean–Whether the webhook is enabled. Defaults to true.
domain_idnumber–Sending domain ID to scope this webhook to. Applies only to `email_sending` webhooks.
event_typesarray–Events to subscribe to. Applies only to `email_sending` webhooks.
inbound_inbox_idnumber–ID of the inbound inbox the webhook is linked to. Applicable only for `inbound_receiving` webhooks; optional — omit to apply to all inboxes in the account.
payload_formatstring–Payload encoding. Defaults to `json`.
sending_streamstring–Sending stream this webhook subscribes to. Applies only to `email_sending` webhooks.
urlstringyesURL that Mailtrap will POST webhook events to.
webhook_typestringyesWebhook category. `email_sending` for delivery/open/click/etc events, `audit_log` for account audit events, `inbound_receiving` for inbound inbox events.

No output schema declared.

No examples provided.

delete-api-token ~41

Permanently delete an API token by ID. The token can no longer authenticate after deletion.

NameTypeReqDescription
api_token_idnumberyesID of the API token.

No output schema declared.

No examples provided.

delete-contact ~40

Permanently delete a contact by ID or email. Returns the deleted contact record when available.

NameTypeReqDescription
contact_identifierstringyesContact ID or email to delete.

No output schema declared.

No examples provided.

delete-contact-field ~34

Permanently delete a contact field definition by ID.

NameTypeReqDescription
field_idnumberyesID of the contact field to delete.

No output schema declared.

No examples provided.

delete-contact-list ~33

Permanently delete a contact list by ID.

NameTypeReqDescription
list_idnumberyesID of the contact list to delete.

No output schema declared.

No examples provided.

delete-email-campaign ~47

Delete an email campaign by ID; only a campaign in the `draft` state can be deleted.

NameTypeReqDescription
email_campaign_idintegeryesUnique identifier of the email campaign to delete.

No output schema declared.

No examples provided.

delete-inbound-folder ~36

Permanently delete an inbound folder along with all of its inboxes.

NameTypeReqDescription
folder_idnumberyesThe inbound folder ID.

No output schema declared.

No examples provided.

delete-inbound-inbox ~41

Permanently delete an inbound inbox.

NameTypeReqDescription
folder_idnumberyesThe inbound folder ID.
inbox_idnumberyesThe inbox ID.

No output schema declared.

No examples provided.

delete-inbound-message ~39

Permanently delete an inbound message.

NameTypeReqDescription
inbox_idnumberyesThe inbox ID.
message_idstringyesThe message ID.

No output schema declared.

No examples provided.

delete-inbound-thread ~39

Permanently delete an inbound thread.

NameTypeReqDescription
inbox_idnumberyesThe inbox ID.
thread_idstringyesThe thread ID.

No output schema declared.

No examples provided.

delete-sandbox-inbox ~35

Delete a sandbox inbox and all its messages

NameTypeReqDescription
inbox_idnumberyesID of the sandbox inbox to delete

No output schema declared.

No examples provided.

delete-sandbox-message ~54

Delete a single 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.

delete-sandbox-project ~34

Delete a sandbox project and all its inboxes

NameTypeReqDescription
project_idnumberyesID of the project to delete

No output schema declared.

No examples provided.

delete-sending-domain ~29

Delete a sending domain

NameTypeReqDescription
sending_domain_idnumberyesSending domain ID to delete

No output schema declared.

No examples provided.

delete-suppression ~44

Delete a suppression by ID. Mailtrap will resume delivery to this email unless it gets suppressed again.

NameTypeReqDescription
suppression_idstringyesID of the suppression to delete

No output schema declared.

No examples provided.

delete-template ~28

Delete an existing email template

NameTypeReqDescription
template_idnumberyesID of the template to delete

No output schema declared.

No examples provided.

delete-tracking-opt-out ~50

Remove an email address from the tracking opt-out list, so open and click tracking applies to it again.

NameTypeReqDescription
tracking_opt_out_idstringyesID of the tracking opt-out to delete

No output schema declared.

No examples provided.

delete-webhook ~37

Permanently delete a webhook by ID. Returns the deleted webhook record.

NameTypeReqDescription
webhook_idnumberyesID of the webhook to delete

No output schema declared.

No examples provided.

enable-sandbox-email-address ~36

Enable the receive-by-email address for a sandbox

NameTypeReqDescription
sandbox_idnumberyesID of the sandbox to act on

No output schema declared.

No examples provided.

forward-inbound-message ~226

Forward an inbound message to new recipients (at least one `to` is required). 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 forward.
reply_toobject–Reply-To address.
textstring–Plain-text body.
toarrayyesRecipients. Defaults to the original sender for reply/reply_all when omitted; required for forward.

No output schema declared.

No examples provided.

forward-sandbox-message ~80

Forward a sandbox message to an email address (counts against your monthly forwarding quota)

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

No output schema declared.

No examples provided.

get-api-token ~52

Get an API token by ID. The secret token value is NOT returned here — only the metadata (name, last 4 digits, resources).

NameTypeReqDescription
api_token_idnumberyesID of the API token.

No output schema declared.

No examples provided.

get-billing-usage ~32

Get the current billing cycle usage for the account (sending and testing plans, limits, and current counts).

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get-company-info ~36

Get the company info of a sending domain, used for domain compliance verification.

NameTypeReqDescription
sending_domain_idintegeryesSending domain ID

No output schema declared.

No examples provided.

get-contact ~45

Get a contact by ID or email address. Returns the full contact record including list memberships, status, and custom fields.

NameTypeReqDescription
contact_identifierstringyesContact ID or email address.

No output schema declared.

No examples provided.

get-contact-export ~52

Get the status of a contact export job. Once `status` is `finished`, the `url` field holds the download link.

NameTypeReqDescription
export_idnumberyesID of the contact export job to fetch.

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.