Mailtrap MCP Server

The official MCP server for Mailtrap - the email delivery platform. It connects your Mailtrap account to Claude, Cursor, VS Code, and other MCP-compatible AI assistants. It runs locally over stdio via the published package.

People who work with Mailtrap and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-09-16 · ★ 65 · #39 OF 945 MAINTAINED OTHER · VERIFIED 2026-09-18

MIT · TypeScript servers · how we verify → /methodology

01 · Install Mailtrap

before you install - you'll need

Set MAILTRAP_ACCOUNT_ID before connecting. MAILTRAP_API_TOKEN, DEFAULT_FROM_EMAIL, MAILTRAP_TEST_INBOX_ID are optional or environment-specific per the README.

Claude Code

claude mcp add mailtrap-mailtrap-mcp -- npx -y mcp-mailtrap

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "mailtrap-mailtrap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mailtrap"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package mcp-mailtrap - unscoped; check the name against the project README before installing

registry vendor namespace io.mailtrap - domain-verified with the official MCP registry

03 · What Mailtrap can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v0.9.0 · 2026-09-01

MT-23076: support expires_at on the api token tools · Add sending domain settings, company info, create suppression and tracking opt-outs · Fix package version · New Contributors · @oshchyhol made their first…

v0.8.0 · 2026-08-20

bump the npm_and_yarn group across 1 directory with 2 updates · Add batch send sandbox email tool · MT-22401: Add email campaigns tools · New Contributors · @izikaj made their first contribution in

v0.7.0 · 2026-08-04

Add inbound_receiving webhook support to webhook tools · Forward MCP client identity in the API User-Agent · bump ip-address from 10.2.0 to 10.4.0 in the npm_and_yarn group across 1 directory

04 · Who maintains Mailtrap

Mailtrap is maintained by mailtrap. It's the only MCP server we track from this author; the repo dates to Mar 2025.

05 · Facts

category
other - ranked #39 of 945 actively-maintained other servers as of 2026-09-18.
release cadence
7 releases in the last 90 days (latest 2026-09-01)
registry
io.mailtrap/mcp (active, first published 2026-06-11 · 3 versions)
packages
npm:mcp-mailtrap

06 · Mailtrap FAQ

What is Mailtrap?

The official MCP server for Mailtrap - the email delivery platform. It connects your Mailtrap account to Claude, Cursor, VS Code, and other MCP-compatible AI assistants. It runs locally over stdio via the published package.

Is Mailtrap still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-16 and it shipped 7 releases in the last 90 days. We re-verify nightly.

How do I install Mailtrap?

Run `npx -y mcp-mailtrap`. The README documents 4 environment variables (MAILTRAP_API_TOKEN, DEFAULT_FROM_EMAIL, MAILTRAP_ACCOUNT_ID…) to set first. Set MAILTRAP_ACCOUNT_ID before connecting. MAILTRAP_API_TOKEN, DEFAULT_FROM_EMAIL, MAILTRAP_TEST_INBOX_ID are optional or environment-specific per the README. You can also paste the ready-made client config above.

Does Mailtrap run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Mailtrap