# MailSlurp

> MailSlurp is an MCP server for communication. Email and SMS inboxes, email rendering and inbox-placement tests for AI agents. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API, Web
- **Website:** https://www.mailslurp.com/docs/mcp/
- **MCP Registry name:** com.mailslurp/mailslurp
- **Categories:** [communication](https://ai-powered.com/categories/communication), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

Testing email from an AI workflow takes more than a send function: the agent needs an inbox to receive into, a way to preview how a message looks across clients, and a way to learn where providers filed it. MailSlurp's hosted server covers those jobs, including sender warmup, behind a single remote endpoint at api.mailslurp.com/mcp.

Sign-in is through OAuth in the browser, and you pick which permission groups the connection gets, for example email quality tools for rendering and inbox placement. There is no account API key to paste into chat. Actions that use credits, such as starting a render, prompt the client for approval, and ChatGPT shows a viewer with the subject line and a screenshot per client.

The docs include setup for Claude, ChatGPT and Codex, Claude Code, Cursor, VS Code with Copilot, Gemini CLI, and Grok, plus notes on Slack, Teams and Outlook render previews. Mailbox connections to Gmail, Outlook or IMAP/SMTP are authorised separately from the MCP login.

## Features

- **Agent inboxes:** Create email and SMS inboxes an AI agent can send from and read back.
- **Email rendering:** Render a draft and review a screenshot from each email client.
- **Inbox placement tests:** After one test send, see where each provider filed the message.
- **Sender warmup:** Warmup tooling is exposed alongside the inbox and rendering tools.
- **Scoped OAuth access:** Choose permission groups during browser sign-in; no API key pasted into the chat.
- **Approval for credit use:** Clients ask before running actions that spend credits, such as renders.

## Good for

- Have an agent create two inboxes and send a test email between them
- Preview a campaign email across clients before sending
- Check whether a message lands in inbox or spam at each provider
- Test sign-up or verification emails inside an automated workflow
- Warm up a new sending domain

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mailslurp https://api.mailslurp.com/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mailslurp": {
      "type": "http",
      "url": "https://api.mailslurp.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://api.mailslurp.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mailslurp": {
      "url": "https://api.mailslurp.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mailslurp": {
      "type": "http",
      "url": "https://api.mailslurp.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://api.mailslurp.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mailslurp --url https://api.mailslurp.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mailslurp]
url = "https://api.mailslurp.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mailslurp": {
      "httpUrl": "https://api.mailslurp.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mailslurp https://api.mailslurp.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mailslurp": {
      "serverUrl": "https://api.mailslurp.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mailslurp": {
      "url": "https://api.mailslurp.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mailslurp": {
      "type": "streamableHttp",
      "url": "https://api.mailslurp.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mailslurp": {
      "url": "https://api.mailslurp.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mailslurp": {
      "url": "https://api.mailslurp.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mailslurp": {
      "url": "https://api.mailslurp.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mailslurp": {
      "url": "https://api.mailslurp.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.mailslurp.com/mcp
```

Enter a Name (for example "MailSlurp"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mailslurp": {
      "type": "http",
      "url": "https://api.mailslurp.com/mcp"
    }
  }
}
```

## FAQ

### Do I need an API key?

No. Clients with OAuth sign in through the browser and you choose permissions there.

### Which clients are documented?

Claude, ChatGPT and Codex, Claude Code, Cursor, VS Code with Copilot, Gemini CLI and Grok.

### What is the endpoint?

https://api.mailslurp.com/mcp, a remote Streamable HTTP server.

### Will MailSlurp send email without confirmation in Codex scripts?

In non-interactive codex exec runs, Codex refuses actions that need approval unless you set an approve mode for that command.

### How do I add MailSlurp to Claude Code?

Run this command in your terminal: claude mcp add --transport http mailslurp https://api.mailslurp.com/mcp

### What are the best alternatives to MailSlurp?

The closest alternatives to MailSlurp are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's website.
- Status: checked automatically by AIPoweredBot on 24 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/mailslurp
