# Nextmail

Nextmail connects an agent to a mailbox for sending messages, handling inbox work, and retrieving verification emails during sign-up tests.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 2 repo stars
- Author: nextmailhq
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/nextmailhq/mcp
- Updated: 2026-10-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/nextmail

## What it does

Nextmail provides a remote MCP server for working with a Nextmail mailbox. The package also includes four skills: sending email through an SDK, API, or CLI; managing a mailbox; using disposable inboxes in sign-up tests; and migrating from Resend.

The server runs at `https://api.nextmail.sh/mcp`; nothing in the repository runs locally. Setup uses browser-based OAuth, where you select the addresses and permissions the agent can access. Tools are marked according to whether they read data or make changes, allowing the client to request confirmation before an email is sent or something is modified. The agent acts on the mailbox permissions you approve, so check which addresses you grant it.

## Requirements
- Remote server: `https://api.nextmail.sh/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http mcp https://api.nextmail.sh/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add nextmail --url https://api.nextmail.sh/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "nextmail": {
            "url": "https://api.nextmail.sh/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "nextmail": {
            "type": "http",
            "url": "https://api.nextmail.sh/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http nextmail https://api.nextmail.sh/mcp
```

## When to use it
- send email from code through an SDK, API, or CLI
- work through a mailbox using MCP
- retrieve verification messages in sign-up tests
- move email workflows from Resend

## Example prompts
- Send a message from my Nextmail mailbox using the available SDK.
- Check my Nextmail inbox for the verification message from the sign-up test.
- Help me move my email sending from Resend to Nextmail.

## Similar
- [Context7](https://affpapa.org/en/nevibecode/mcp/context7.md) — MCP server · 5563 installs
- [Search Google Flights](https://affpapa.org/en/nevibecode/mcp/search-google-flights.md) — MCP server · 2595 installs
- [Math-MCP](https://affpapa.org/en/nevibecode/mcp/math-mcp.md) — MCP server · 5958 installs
- [pipeworx gateway](https://affpapa.org/en/nevibecode/mcp/pipeworx-gateway.md) — MCP server · 419019 installs
- [SparkForge](https://affpapa.org/en/nevibecode/mcp/sparkforge.md) — MCP server · 219896 installs
- [OpenWebSearch](https://affpapa.org/en/nevibecode/mcp/openwebsearch.md) — MCP server · 494 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
