A powerful MCP server for sending emails via 126.com SMTP service. Perfect for AI assistants and automation workflows!
Mailtrap is installed from its publisher's own source and answers where it runs, so this marketplace is not in the path of a single call. There is no address here to send one to, and a panel that pretended otherwise would be showing you an answer we made up. Install it and call it from your own client — the Installation tab has the entry for each one.
Open InstallationWhat it does
Official MCP Server for Mailtrap
Quickstart
# 1 — run it from where its publisher ships it
npx -y mcp-mailtrap
# 2 — ask your agent something
> Official MCP Server for Mailtrap
Mailtrap is free: there is no plan to choose, no cap to set and nothing that can bill you.
Collected from a public index. Nobody has claimed this account, so nothing here was written by its author — claim it if it is yours.
Where are you running it?
Every route below installs the same thing and ends at the same approval screen. This one runs on your machine: your client starts Mailtrap as a process under your own user, with your files and your network, so the tool surface below is what it can do to your computer rather than to a server somewhere else. It is scanned, signed and pinned to the version you choose — read the surface before you approve it.
This is a public server: you run it yourself and this marketplace is not in the path. Claude Code registers it in one command.
claude mcp add mailtrap-mcp -- npx -y mcp-mailtrapReconnect, or start a new session, and the tools appear in the model’s tool list.
It reaches a system of yours, so it needs your own credential rather than the publisher’s: MAILTRAP_API_TOKEN. You set it after installing; the value is sealed here and sent to the server on each call.
One config entry your client uses to start the process locally. A local server runs with your file system and your network, which is why it is priced without metering.
80 tools, with what each one reads, writes and reaches shown before you agree — the same list on every route above. Read the tool surface.
Tool surface
What the model actually sees. Descriptions are diffed on every release — see version history.
Send an email to your recipient email address using Mailtrap Email API. You can send emails to multiple recipients at once.
Takes no parameters.
Send a batch of transactional emails in one Mailtrap API call. Shared fields go on
Takes no parameters.
Send a batch of bulk emails (Mailtrap bulk-stream API) in one call. Shared fields go on
Takes no parameters.
Create a new email template
Takes no parameters.
List all email templates
Takes no parameters.
Get a single email template by ID, including subject, category, and HTML/text body.
Takes no parameters.
Update an existing email template
Takes no parameters.
Delete an existing email template
Takes no parameters.
Send an email in sandbox mode to a test inbox without delivering to your recipients
Takes no parameters.
Send a batch of emails in sandbox mode to a test inbox in one Mailtrap API call. Shared fields go on
Takes no parameters.
Get list of messages from the sandbox test inbox
Takes no parameters.
Show sandbox email message details and content from the sandbox test inbox. Optionally include spam report (SpamAssassin score) and HTML analysis (client compatibility) for email testing workflows.
Takes no parameters.
List all sandbox projects and their inboxes in your Mailtrap account
Takes no parameters.
Create a new sandbox project to group test inboxes
Takes no parameters.
Get a sandbox project by ID, including its inboxes and email counts
Takes no parameters.
Rename an existing sandbox project
Takes no parameters.
Delete a sandbox project and all its inboxes
Takes no parameters.
Create a new sandbox test inbox within a project. Returns SMTP credentials for the new inbox.
Takes no parameters.
Get sandbox inbox details including SMTP credentials, email counts, and status
Takes no parameters.
Update a sandbox inbox name or email username
Takes no parameters.
Delete a sandbox inbox and all its messages
Takes no parameters.
Delete all messages from a sandbox inbox without deleting the inbox itself
Takes no parameters.
List all sandboxes accessible to the API token across projects
Takes no parameters.
Mark all messages in a sandbox as read
Takes no parameters.
Reset the SMTP credentials for a sandbox
Takes no parameters.
Enable the receive-by-email address for a sandbox
Takes no parameters.
Generate a new receive-by-email address for a sandbox
Takes no parameters.
Forward a sandbox message to an email address (counts against your monthly forwarding quota)
Takes no parameters.
Mark a sandbox message as read or unread
Takes no parameters.
Delete a single sandbox message
Takes no parameters.
Get the SpamAssassin spam report for a sandbox message (score, rules, report).
Takes no parameters.
Get HTML analysis for a sandbox message (client compatibility, problematic elements).
Takes no parameters.
Get the parsed mail headers for a sandbox message.
Takes no parameters.
Get the rendered HTML body of a sandbox message.
Takes no parameters.
Get the plain-text body of a sandbox message.
Takes no parameters.
Get the raw message (MIME-formatted) for a sandbox message.
Takes no parameters.
Get a sandbox message as an EML file payload.
Takes no parameters.
Get the unrendered HTML source of a sandbox message.
Takes no parameters.
List all attachments on a sandbox message.
Takes no parameters.
Get the metadata and download URL for a single sandbox attachment.
Takes no parameters.
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.
Takes no parameters.
List sent email logs (delivery history) with optional pagination and filters; use to debug delivery issues.
Takes no parameters.
Get a single email log message by ID (UUID) to inspect delivery status and event history.
Takes no parameters.
List sending domains and their DNS verification status
Takes no parameters.
Get a sending domain by ID and its verification status. Optionally include DNS setup instructions via include_setup_instructions.
Takes no parameters.
Create a new sending domain
Takes no parameters.
Delete a sending domain
Takes no parameters.
Email DNS setup instructions for a sending domain to a given address.
Takes no parameters.
List or search suppressions. Optionally filter by email. Returns up to 1000 suppressions per call.
Takes no parameters.
Delete a suppression by ID. Mailtrap will resume delivery to this email unless it gets suppressed again.
Takes no parameters.
List all webhooks for the account.
Takes no parameters.
Get a single webhook by ID.
Takes no parameters.
Create a webhook.
Takes no parameters.
Update a webhook
Takes no parameters.
Permanently delete a webhook by ID. Returns the deleted webhook record.
Takes no parameters.
Get a contact by ID or email address. Returns the full contact record including list memberships, status, and custom fields.
Takes no parameters.
Create a new contact. Requires
Takes no parameters.
Update a contact (identified by ID or email).
Takes no parameters.
Permanently delete a contact by ID or email. Returns the deleted contact record when available.
Takes no parameters.
Record a contact event (by
Takes no parameters.
List all contact lists for the account. Optionally filter by name with
Takes no parameters.
Get a contact list by ID.
Takes no parameters.
Create a new contact list.
Takes no parameters.
Rename an existing contact list.
Takes no parameters.
Permanently delete a contact list by ID.
Takes no parameters.
List all contact field definitions for the account.
Takes no parameters.
Get a contact field definition by ID.
Takes no parameters.
Create a new contact field definition.
Takes no parameters.
Update a contact field definition. Any combination of
Takes no parameters.
Permanently delete a contact field definition by ID.
Takes no parameters.
Bulk import contacts. Returns an import job record; poll status via
Takes no parameters.
Get the status of a contact import job, including created/updated/over-limit counts.
Takes no parameters.
Export contacts matching a set of AND-combined filters. Returns an export job; poll status with
Takes no parameters.
Get the status of a contact export job. Once
Takes no parameters.
List the account
Takes no parameters.
Get an email campaign by ID.
Takes no parameters.
Create a new email campaign in the
Takes no parameters.
Update a
Takes no parameters.
Delete an email campaign by ID; only a campaign in the
Takes no parameters.
Start sending a
Takes no parameters.
- Every tool, no call limit
- No card, no account needed
- Source published under a licence you can read
- Runs on your machine — nothing of it reaches our gateway
- Nothing to cap, because nothing bills
What counts against your monthly calls
| Tool | Unit | Calls used | Out of the allowance |
|---|
Nothing here is billable. Mailtrap costs nothing to install and nothing to call, at any volume.
Two independent axes, because powerful and malicious are different questions. The grade is threat only. The capability level is blast radius, and it is never a penalty on the grade — it is priced as one subtract-only term in the score, where you can see it.
| Term | Level | What it prices | Points |
|---|---|---|---|
| capability-exposure | moderate | capability blast radius (moderate) — client exposure if the model is manipulated | −3 |
| verification-discount | repo | publisher verification (public source) — no provenance, but the source is public and inspectable | −1 |
| coverage-honesty | source | inspection depth (source) — how much of the target the scan could see | −0 |
What the scan could actually read
A grade is only as meaningful as its coverage, so the scanner publishes its own depth before it publishes its result.
Tools were statically extracted from the published source (117 recovered), not enumerated from a running server. Tool-poisoning, Unicode-smuggling, capability and toxic-flow analysis ran on this inferred surface, but a mis-parsed registration could be missed or mis-attributed, so tool-derived findings are capped below “confirmed”. To grade the real runtime surface, scan the running server: --command "npx -y <package>".
Capability — what it could do if the model were manipulated
Tags derived from each tool’s schema and the implementation, not from what the tool calls itself. moderate is the level these add up to.
| Tool | Capability tags | Why the tag was assigned |
|---|---|---|
| send-email | external-sink | |
| batch-send-transactional-email | no tags | |
| batch-send-bulk-email | no tags | |
| create-template | no tags | |
| list-templates | no tags | |
| get-template | no tags | |
| update-template | no tags | |
| delete-template | no tags | |
| send-sandbox-email | no tags | |
| batch-send-sandbox-email | no tags | |
| get-sandbox-messages | no tags | |
| show-sandbox-email-message | no tags | |
| list-sandbox-projects | no tags | |
| create-sandbox-project | no tags | |
| get-sandbox-project | no tags | |
| update-sandbox-project | no tags | |
| delete-sandbox-project | no tags | |
| create-sandbox-inbox | no tags | |
| get-sandbox-inbox | no tags | |
| update-sandbox-inbox | no tags | |
| delete-sandbox-inbox | no tags | |
| clean-sandbox-inbox | no tags | |
| list-sandboxes | no tags | |
| mark-sandbox-as-read | no tags | |
| reset-sandbox-credentials | no tags | |
| enable-sandbox-email-address | no tags | |
| reset-sandbox-email-address | no tags | |
| forward-sandbox-message | no tags | |
| update-sandbox-message | no tags | |
| delete-sandbox-message | no tags | |
| get-sandbox-message-spam-score | no tags | |
| get-sandbox-message-html-analysis | no tags | |
| get-sandbox-message-headers | no tags | |
| get-sandbox-message-html | no tags | |
| get-sandbox-message-text | no tags | |
| get-sandbox-message-raw | no tags | |
| get-sandbox-message-eml | no tags | |
| get-sandbox-message-html-source | no tags | |
| list-sandbox-attachments | no tags | |
| get-sandbox-attachment | untrusted-input | |
| get-sending-stats | no tags | |
| list-email-logs | no tags | |
| get-email-log-message | no tags | |
| list-sending-domains | no tags | |
| get-sending-domain | no tags | |
| create-sending-domain | no tags | |
| delete-sending-domain | no tags | |
| send-sending-domain-setup-instructions | no tags | |
| list-suppressions | no tags | |
| delete-suppression | no tags | |
| list-webhooks | no tags | |
| get-webhook | no tags | |
| create-webhook | external-sink | |
| update-webhook | external-sink | |
| delete-webhook | external-sink | |
| get-contact | no tags | |
| create-contact | no tags | |
| update-contact | no tags | |
| delete-contact | no tags | |
| create-contact-event | no tags | |
| list-contact-lists | no tags | |
| get-contact-list | no tags | |
| create-contact-list | no tags | |
| update-contact-list | no tags | |
| delete-contact-list | no tags | |
| list-contact-fields | no tags | |
| get-contact-field | no tags | |
| create-contact-field | no tags | |
| update-contact-field | no tags | |
| delete-contact-field | no tags | |
| create-contact-import | no tags | |
| get-contact-import | no tags | |
| create-contact-export | untrusted-input | |
| get-contact-export | untrusted-input | |
| list-email-campaigns | no tags | |
| get-email-campaign | no tags | |
| create-email-campaign | no tags | |
| update-email-campaign | no tags | |
| delete-email-campaign | no tags | |
| start-email-campaign | no tags | |
| schedule-email-campaign | no tags | |
| cancel-email-campaign | no tags | |
| terminate-email-campaign | no tags | |
| reset-email-campaign | no tags | |
| get-email-campaign-stats | no tags | |
| list-accounts | no tags | |
| get-billing-usage | no tags | |
| list-account-accesses | no tags | |
| remove-account-access | no tags | |
| get-permission-resources | no tags | |
| bulk-update-permissions | no tags | |
| list-api-tokens | no tags | |
| create-api-token | no tags | |
| get-api-token | no tags | |
| reset-api-token | no tags | |
| delete-api-token | no tags | |
| list-sub-accounts | no tags | |
| create-sub-account | no tags | |
| list-inbound-folders | no tags | |
| get-inbound-folder | no tags | |
| create-inbound-folder | no tags | |
| update-inbound-folder | no tags | |
| delete-inbound-folder | no tags | |
| list-inbound-inboxes | no tags | |
| get-inbound-inbox | no tags | |
| create-inbound-inbox | no tags | |
| update-inbound-inbox | no tags | |
| delete-inbound-inbox | no tags | |
| list-inbound-messages | untrusted-input | |
| get-inbound-message | untrusted-input | |
| delete-inbound-message | no tags | |
| reply-to-inbound-message | no tags | |
| reply-all-to-inbound-message | no tags | |
| forward-inbound-message | no tags | |
| list-inbound-threads | untrusted-input | |
| get-inbound-thread | no tags | |
| delete-inbound-thread | no tags |
Toxic-flow graph
The lethal trifecta, checked as a graph rather than as a checklist: untrusted input, a sensitive source and an external sink have to meet before there is a path worth worrying about.
Supply chain and provenance
This is the first scan of this surface here, so there is nothing yet to compare it against.
Every result on this tab comes from one deterministic pass over the published package — offline, rule by rule, and auditable line by line above. Same methodology version, same bytes, same score.
Release history
Pinned to 0.8.0 — the install command below asks for that release. A pin is part of an install, so it is kept for this visit and written down when you install.
No release note was published with this version.
Only accounts with at least 50 real tool calls against this server in the last 90 days can post. Ratings are weighted by how much the reviewer actually uses it, and publishers can reply once per review.
Writing one takes an account with at least 50 real tool calls against Mailtrap in the last 90 days. That is the whole gate — there is no other way to post, which is why the counts beside each review are worth reading.
Nobody has reviewed this listing. The rating on the card is the mean of the reviews written here and nothing else, so there is no rating until somebody writes the first — which takes an account with 50 real tool calls against it.