MCP server · Org-owned · Audited from source
Mailtrap MCP server
by mailtrap/mailtrap-mcpMIT licenceAudited 7 Oct 2026 · source 1c8f04b4a999
Is it safe? Yes — SAFE, grade B (89/100). It exposes 125 tools: 58 read, 42 write and 25 destructive. The audit recorded 11 findings (0 critical, 0 high, 1 medium, 10 low). Maintainer's description: Official mailtrap.io MCP server
Cite
Cite this page
ModelsAtlas. “Mailtrap MCP server (mailtrap/mailtrap-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/mailtrap/mailtrap-1
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
11 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkDeclared2 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | PASS 7 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 2 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
mailtrapOrganizationAccount type recorded when we read the repository. - PackagePublished on npm
mcp-mailtrapat version 0.9.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last pushTodayActivity of the repository when we read it.
- Source commit read1c8f04b4a999The audit covers exactly this commit, read on 7 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory125 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (11)
Sorted by severity
MEDIUMFilesystem / pathmcp.destructive_tools
bulk-update-permissions, clean-sandbox-inbox, delete-api-token, delete-contact, delete-contact-field, delete-contact-list, delete-email-campaign, delete-inbound-folder, delete-inbound-inbox, delete-in
- Why
- 25 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / pathfs.traversal · src/tools/accountAccesses/__tests__/listAccountAccesses.test.ts:2
import { requireClient } from "../../../client";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/accountAccesses/__tests__/listAccountAccesses.test.ts:12
jest.mock("../../../client", () => ({- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/accountAccesses/__tests__/removeAccountAccess.test.ts:2
import { requireClient } from "../../../client";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/accountAccesses/__tests__/removeAccountAccess.test.ts:12
jest.mock("../../../client", () => ({- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/accountAccesses/listAccountAccesses.ts:1
import { requireClient } from "../../client";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.base64_blob · README.md:48
[](https://cursor.com/en-US/install-mcp?name=mailtrap&config=eyJlbnYiOnsiTUFJTFRSQVBfQVBJX1RPS0VOIjoieW91cl9tYWlsdHJhcF9hcGlfdG9rZ
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, dotenv, mailsplit, mailtrap, zod, @anthropic-ai/mcpb, @modelcontextprotocol/inspector, @types/jest
- Why
- 23 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · CLAUDE.md:105
- **mark-sandbox-as-read** / **reset-sandbox-credentials** / **enable-sandbox-email-address** / **reset-sandbox-email-address**: Single-action sandbox operations.
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.transfer_instruction · README.md:50
[](https://insiders.vscode.dev/redirect/mcp/install?name=mailtr
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Tools it exposes
125 declared in source · 25 destructive
25 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
bulk-update-permissions | destructive | Bulk create, update, or destroy permissions for an account access. Existing (resource_type, resource_id) pairs are updated; new ones are created. Set |
clean-sandbox-inbox | destructive | Delete all messages from a sandbox inbox without deleting the inbox itself |
delete-api-token | destructive | Permanently delete an API token by ID. The token can no longer authenticate after deletion. |
delete-contact | destructive | Permanently delete a contact by ID or email. Returns the deleted contact record when available. |
delete-contact-field | destructive | Permanently delete a contact field definition by ID. |
delete-contact-list | destructive | Permanently delete a contact list by ID. |
delete-email-campaign | destructive | Delete an email campaign by ID; only a campaign in the |
delete-inbound-folder | destructive | Permanently delete an inbound folder along with all of its inboxes. |
delete-inbound-inbox | destructive | Permanently delete an inbound inbox. |
delete-inbound-message | destructive | Permanently delete an inbound message. |
delete-inbound-thread | destructive | Permanently delete an inbound thread. |
delete-sandbox-inbox | destructive | Delete a sandbox inbox and all its messages |
delete-sandbox-message | destructive | Delete a single sandbox message |
delete-sandbox-project | destructive | Delete a sandbox project and all its inboxes |
delete-sending-domain | destructive | Delete a sending domain |
delete-suppression | destructive | Delete a suppression by ID. Mailtrap will resume delivery to this email unless it gets suppressed again. |
delete-template | destructive | Delete an existing email template |
delete-tracking-opt-out | destructive | Remove an email address from the tracking opt-out list, so open and click tracking applies to it again. |
delete-webhook | destructive | Permanently delete a webhook by ID. Returns the deleted webhook record. |
remove-account-access | destructive | 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. |
reset-api-token | destructive | Reset (rotate) an API token by ID. The response includes the **new** secret |
reset-email-campaign | destructive | Reset a |
reset-sandbox-credentials | destructive | Reset the SMTP credentials for a sandbox |
reset-sandbox-email-address | destructive | Generate a new receive-by-email address for a sandbox |
terminate-email-campaign | destructive | Terminate an email campaign that is currently sending ( |
batch-send-bulk-email | write | Send a batch of bulk emails (Mailtrap bulk-stream API) in one call. Shared fields go on |
batch-send-sandbox-email | write | Send a batch of emails in sandbox mode to a test inbox in one Mailtrap API call. Shared fields go on |
batch-send-transactional-email | write | Send a batch of transactional emails in one Mailtrap API call. Shared fields go on |
create-api-token | write | Create a new API token. The response includes the secret |
create-company-info | write | Set the company info of a sending domain, required for domain compliance verification. |
create-contact | write | Create a new contact. Requires |
create-contact-event | write | Record a contact event (by |
create-contact-export | write | Export contacts matching a set of AND-combined filters. Returns an export job; poll status with |
create-contact-field | write | Create a new contact field definition. |
create-contact-import | write | Bulk import contacts. Returns an import job record; poll status via |
create-contact-list | write | Create a new contact list. |
create-email-campaign | write | Create a new email campaign in the |
create-inbound-folder | write | Create a new inbound folder. |
create-inbound-inbox | write | Create a new inbound inbox in a folder. Omit |
create-sandbox-inbox | write | Create a new sandbox test inbox within a project. Returns SMTP credentials for the new inbox. |
create-sandbox-project | write | Create a new sandbox project to group test inboxes |
create-sending-domain | write | Create a new sending domain |
create-sub-account | write | Create a new sub-account under the organization. Requires |
create-suppression | write | Add an email address to the account |
create-template | write | Create a new email template |
create-tracking-opt-out | write | Exclude an email address from open and click tracking for a sending domain. |
create-webhook | write | Create a webhook. |
enable-sandbox-email-address | write | Enable the receive-by-email address for a sandbox |
get-contact-import | write | Get the status of a contact import job, including created/updated/over-limit counts. |
schedule-email-campaign | write | Schedule a |
send-email | write | Send an email to your recipient email address using Mailtrap Email API. You can send emails to multiple recipients at once. |
send-sandbox-email | write | Send an email in sandbox mode to a test inbox without delivering to your recipients |
send-sending-domain-setup-instructions | write | Email DNS setup instructions for a sending domain to a given address. |
start-email-campaign | write | Start sending a |
update-company-info | write | Update the company info of a sending domain. |
update-contact | write | Update a contact (identified by ID or email). |
update-contact-field | write | Update a contact field definition. Any combination of |
update-contact-list | write | Rename an existing contact list. |
update-email-campaign | write | Update a |
update-inbound-folder | write | Rename an inbound folder. |
update-inbound-inbox | write | Rename an inbound inbox. |
update-sandbox-inbox | write | Update a sandbox inbox name or email username |
update-sandbox-message | write | Mark a sandbox message as read or unread |
update-sandbox-project | write | Rename an existing sandbox project |
update-sending-domain | write | Update a sending domain |
update-template | write | Update an existing email template |
update-webhook | write | Update a webhook |
cancel-email-campaign | read | Cancel a |
forward-inbound-message | read | Forward an inbound message to new recipients (at least one |
forward-sandbox-message | read | Forward a sandbox message to an email address (counts against your monthly forwarding quota) |
get-api-token | read | Get an API token by ID. The secret token value is NOT returned here — only the metadata (name, last 4 digits, resources). |
get-billing-usage | read | Get the current billing cycle usage for the account (sending and testing plans, limits, and current counts). |
get-company-info | read | Get the company info of a sending domain, used for domain compliance verification. |
get-contact | read | Get a contact by ID or email address. Returns the full contact record including list memberships, status, and custom fields. |
get-contact-export | read | Get the status of a contact export job. Once |
get-contact-field | read | Get a contact field definition by ID. |
get-contact-list | read | Get a contact list by ID. |
get-email-campaign | read | Get an email campaign by ID. |
get-email-campaign-stats | read | Get aggregated performance statistics for an email campaign; optionally narrow the window with |
get-email-log-message | read | Get a single email log message by ID (UUID) to inspect delivery status and event history. |
get-inbound-folder | read | Get a single inbound folder by ID. |
get-inbound-inbox | read | Get a single inbound inbox by ID. |
get-inbound-message | read | Get a single inbound message with its full body and attachment download URLs. |
get-inbound-thread | read | Get a single inbound thread with its messages embedded (oldest first). |
get-permission-resources | read | Get all resources (inboxes, projects, domains, billing, account) to which the API token has admin access, nested by hierarchy. |
get-sandbox-attachment | read | Get the metadata and download URL for a single sandbox attachment. |
get-sandbox-inbox | read | Get sandbox inbox details including SMTP credentials, email counts, and status |
get-sandbox-message-eml | read | Get a sandbox message as an EML file payload. |
get-sandbox-message-headers | read | Get the parsed mail headers for a sandbox message. |
get-sandbox-message-html | read | Get the rendered HTML body of a sandbox message. |
get-sandbox-message-html-analysis | read | Get HTML analysis for a sandbox message (client compatibility, problematic elements). |
get-sandbox-message-html-source | read | Get the unrendered HTML source of a sandbox message. |
get-sandbox-message-raw | read | Get the raw message (MIME-formatted) for a sandbox message. |
get-sandbox-message-spam-score | read | Get the SpamAssassin spam report for a sandbox message (score, rules, report). |
get-sandbox-message-text | read | Get the plain-text body of a sandbox message. |
get-sandbox-messages | read | Get list of messages from the sandbox test inbox |
get-sandbox-project | read | Get a sandbox project by ID, including its inboxes and email counts |
get-sending-domain | read | Get a sending domain by ID and its verification status. Optionally include DNS setup instructions via include_setup_instructions. |
get-sending-stats | read | 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. |
get-template | read | Get a single email template by ID, including subject, category, and HTML/text body. |
get-webhook | read | Get a single webhook by ID. |
list-account-accesses | read | 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. |
list-accounts | read | List Mailtrap accounts accessible to the API token, with each account |
list-api-tokens | read | List all API tokens for the account. |
list-contact-fields | read | List all contact field definitions for the account. |
list-contact-lists | read | List all contact lists for the account. Optionally filter by name with |
list-email-campaigns | read | List the account |
list-email-logs | read | List sent email logs (delivery history) with optional pagination and filters; use to debug delivery issues. |
list-inbound-folders | read | List all inbound folders in the account. |
list-inbound-inboxes | read | List all inboxes in an inbound folder. |
list-inbound-messages | read | List received messages in an inbound inbox (paginated). Pass |
list-inbound-threads | read | List conversation threads in an inbound inbox (paginated). Pass |
list-sandbox-attachments | read | List all attachments on a sandbox message. |
list-sandbox-projects | read | List all sandbox projects and their inboxes in your Mailtrap account |
list-sandboxes | read | List all sandboxes accessible to the API token across projects |
list-sending-domains | read | List sending domains and their DNS verification status |
list-sub-accounts | read | List sub-accounts in the organization. Requires |
list-suppressions | read | List or search suppressions. Optionally filter by email. Returns up to 1000 suppressions per call. |
list-templates | read | List all email templates |
list-tracking-opt-outs | read | List email addresses excluded from open and click tracking. Returns up to 1000 records per call. |
list-webhooks | read | List all webhooks for the account. |
mark-sandbox-as-read | read | Mark all messages in a sandbox as read |
reply-all-to-inbound-message | read | Reply to an inbound message and copy the original |
reply-to-inbound-message | read | Reply to an inbound message (sends to the original sender). Sends a real email. |
show-sandbox-email-message | read | 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. |
Install
Package version 0.9.0 · audited commit 1c8f04b
claude mcp add mcp-mailtrap --env MAILTRAP_API_TOKEN=${MAILTRAP_API_TOKEN} -- npx -y [email protected]The command pins the package version recorded in the source (0.9.0); the audit covers commit 1c8f04b4a999. Transport: stdio. Reads these environment variables: MAILTRAP_API_TOKEN, MAILTRAP_ORGANIZATION_API_TOKEN. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 89 / 100
First audit ·
1c8f04b4a999
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/mailtrap/mailtrap-1/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Mailtrap MCP server
What is the Mailtrap MCP server?
What tools does Mailtrap expose?
Is Mailtrap safe to connect to an agent?
What credentials does Mailtrap need?
How does Mailtrap run?
How current is this page?
Sources
- mailtrap/mailtrap-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit 1c8f04b4a999Observed · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Mailtrap MCP server?
- What tools does Mailtrap expose?
- Is Mailtrap safe to connect to an agent?