# smails

> smails is a free MCP server for communication. Disposable receive-only inboxes so an agent can sign up and read verification codes. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, API
- **Website:** https://smails.dev
- **Repository:** https://github.com/pexni/smails/tree/HEAD/cli
- **MCP Registry name:** io.github.pexni/smails
- **Categories:** communication, developer tools
- **Listing updated:** 2026-11-14

## About

smails gives an AI agent a temporary email address it can use to register for a service, then wait for the verification message. The wait_for_message tool returns as soon as the email arrives with the full body, so the agent needs no polling loop.

Sign-in is through GitHub in the browser, and Claude Code or Codex keep the session, so there are no keys to paste. Each account can create 20 new inboxes a day, each lives for 7 days, and inboxes are receive-only.

The same tools are available from a command-line client that needs Node.js 22.18 or newer, with a wait command that exits with status 2 on timeout (120 seconds by default). Use the hosted MCP endpoint or run it locally over stdio. Version 0.1 removed the anonymous API, so login is now required.

## Features

- **Wait for mail:** wait_for_message returns when the email lands, with the whole body.
- **Short-lived inboxes:** Each address lasts 7 days and is receive-only.
- **GitHub sign-in:** Session is stored once; no keys to paste.
- **CLI included:** Create, list, read and delete from a terminal or script.
- **Filters:** Wait by sender, subject or time.
- **Remote or stdio:** Hosted endpoint or local npx server.

## Good for

- Let an agent register for a service and read the code
- Script signup tests that need email
- Read a one-time message in CI
- Clean up test mailboxes

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http smails https://smails.dev/mcp
```

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

```sh
https://smails.dev/mcp
```

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

```json
{
  "mcpServers": {
    "smails": {
      "url": "https://smails.dev/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "smails": {
      "type": "http",
      "url": "https://smails.dev/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "smails": {
      "serverUrl": "https://smails.dev/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "smails": {
      "type": "http",
      "url": "https://smails.dev/mcp"
    }
  }
}
```

## Tools

- `create_mailbox`: Create a new inbox
- `wait_for_message`: Wait for an email to arrive
- `list_messages`: List messages in an inbox
- `read_message`: Read one message
- `list_mailboxes`: List active mailboxes
- `delete_message`: Delete a message
- `whoami`: Show account and daily quota

## FAQ

### What does it cost?

The site says it is free to start, with 20 new inboxes a day per account.

### How long do inboxes last?

7 days.

### Can it send email?

No, inboxes are receive-only.

### How do I sign in?

With GitHub, via /mcp in Claude Code or npx @smails/cli login.

### Is smails free?

Yes. smails is free to use.

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

Run this command in your terminal: claude mcp add --transport http smails https://smails.dev/mcp

### What are the best alternatives to smails?

The closest alternatives to smails are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [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-2): 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.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

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