# Does Mailtrap have an MCP server?

**Yes — Official.** Mailtrap maintains an official MCP server.

## Facts

- Verdict: Official (Yes)
- Access: Local server — Runs on your machine over stdio, launched by your MCP client.
- Package: [`mcp-mailtrap`](https://www.npmjs.com/package/mcp-mailtrap) on npm
- Repository: [mailtrap/mailtrap-mcp](https://github.com/mailtrap/mailtrap-mcp) — ★ 65, last push 2026-09-29, MIT
- Maintainer: Mailtrap.io
- Language: TypeScript
- Category: [Communication](https://mcpyet.com/category/communication/)
- Verified against vendor docs: 2026-09-29
- GitHub data refreshed: 2026-09-29 (re-checked every 6 hours)

## What it does

> Official mailtrap.io MCP server
> — how [mailtrap/mailtrap-mcp](https://github.com/mailtrap/mailtrap-mcp) describes itself

Project site: <https://mailtrap.io>

## The receipts

- **Official package:** [`mcp-mailtrap`](https://www.npmjs.com/package/mcp-mailtrap) on npm. The package page carries the exact launch arguments and required credentials.
- **Official repository:** [mailtrap/mailtrap-mcp](https://github.com/mailtrap/mailtrap-mcp) — ★ 65, pushed 2026-09-29, MIT (active)

## How to connect it

Runs on your machine over stdio, launched by your MCP client.

### Claude Code

```sh
claude mcp add mailtrap -- npx -y mcp-mailtrap
```

Most servers need an API key passed as an environment variable — check the README for the exact variable names. Add `--scope user` to make it available in every project.

### Claude Desktop

Open **Settings → Developer → Edit Config** and add the server to `claude_desktop_config.json`, then restart Claude Desktop:

```json
{
  "mcpServers": {
    "mailtrap": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mailtrap"
      ],
      "env": {
        "API_KEY": "…"
      }
    }
  }
}
```

### Cursor

Add to `.cursor/mcp.json` in your project, or `~/.cursor/mcp.json` for every project:

```json
{
  "mcpServers": {
    "mailtrap": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mailtrap"
      ],
      "env": {
        "API_KEY": "…"
      }
    }
  }
}
```

### VS Code

Add to `.vscode/mcp.json`, then pick the server from Copilot's agent-mode tools menu:

```json
{
  "servers": {
    "mailtrap": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-mailtrap"
      ]
    }
  }
}
```

### ChatGPT

ChatGPT connects to **remote servers only**, and this one runs on your machine. Either expose it through an MCP gateway that gives it a public URL, or use a client with native local support (Claude or Cursor).

## How we know

Published to the MCP Registry under Mailtrap's verified namespace io.mailtrap as the npm package mcp-mailtrap (maintained by the mailtrap npm account); docs.mailtrap.io/for-ai-agents/tools/mcp-server documents npx -y mcp-mailtrap and links the mailtrap/mailtrap-mcp repo.

- GitHub data refreshed 2026-09-29, then every 6 hours.
- Vendor docs verified on 2026-09-29.
- Corrections: hello@mcpyet.com.

## Also in Communication

- [Discord](https://mcpyet.com/mcp/discord.md) — Community only (Sort of)
- [Slack](https://mcpyet.com/mcp/slack.md) — Official (Yes)
- [Microsoft Outlook](https://mcpyet.com/mcp/outlook.md) — Official (Yes)
- [Zoom](https://mcpyet.com/mcp/zoom.md) — Official (Yes)
- [Gmail](https://mcpyet.com/mcp/gmail.md) — Official (Yes)
- [WhatsApp](https://mcpyet.com/mcp/whatsapp.md) — Community only (Sort of)

---

Source: https://mcpyet.com/mcp/mailtrap/ — data refreshed 2026-09-29
