Skip to content
FunCoding

smails

Listed in the official MCP Registry

Disposable email inboxes for AI agents: create an address, wait for the verification email.

Star
38
Version
v0.1.0
License
MIT
Last commit
Nov 5, 2026

@smails/cli

npm

Disposable email for AI agents. Create an inbox, use the address to sign up somewhere, and wait for the verification code — from a terminal, a script, Claude Code or Codex.

→ smails.dev

Requires Node.js 22.18 or newer. No runtime dependencies.

Sign in (once)

npx @smails/cli login

It prints a link and opens your browser: sign in with GitHub and confirm the code. The session is stored in ~/.config/smails/credentials.json and shared with the MCP server below.

Get a verification code

npx @smails/cli create                    # → [email protected]
npx @smails/cli wait --subject code       # blocks until it arrives, prints the message
npx @smails/cli wait --json | jq -r .text # in scripts

wait exits with status 2 if nothing arrives before --timeout (default 120 s).

Commands

Command
login / logout / whoamiAccount and today's quota
createNew mailbox; becomes the current one
listYour active mailboxes
inbox [address]Messages (default: current mailbox)
read <id>One message (short id prefix works)
wait [address]Wait for new mail: --from, --subject, --timeout, --since
delete <id>Delete a message
mcpRun the MCP server over stdio

Add --json for machine-readable output. npm i -g @smails/cli to type smails instead of npx @smails/cli.

MCP server

Remote (recommended) — or just tell your agent: Set up smails for me by following https://smails.dev/setup.md

claude mcp add --transport http --scope user smails https://smails.dev/mcp   # Claude Code, then /mcp to sign in
codex mcp add smails --url https://smails.dev/mcp && codex mcp login smails  # Codex

Local (stdio):

claude mcp add smails -- npx -y @smails/cli mcp   # Claude Code
codex mcp add smails -- npx -y @smails/cli mcp    # Codex

Sign in with npx @smails/cli login, or let the agent call the login tool, which returns a link for you to confirm. Tools: create_mailbox, wait_for_message, list_messages, read_message, list_mailboxes, delete_message, whoami.

Upgrading from 0.0.x

0.1 requires signing in; the anonymous API is gone and old saved mailboxes no longer work. Run npx @smails/cli login, then create.

Environment

SMAILS_URL — server to use (default https://smails.dev).

License

MIT

Similar MCP servers

labelhead-artist-momentum

Trending hip-hop artist momentum scores across four cultural dimensions.

PApaperclipai/paperclip119k2,120 new stars in the last 7 days

Corsair

One MCP URL for Gmail, Slack, GitHub, Notion and 700+ more apps, with your rules on every change.

COcorsairdev/corsair16k

Inbox Zero

Search Gmail and Outlook, save drafts, manage email rules, and view email stats.

ELelie222/inbox-zero13k76 new stars in the last 7 days

kaneo

Official MCP server for Kaneo: manage tasks, projects, and labels from Claude and other MCP clients

USusekaneo/kaneo9.9k64 new stars in the last 7 days

Official

QR Rápido

Generate QR codes for URLs, PIX, Wi-Fi, vCards, WhatsApp and more. For AI agents.

MOmodelcontextprotocol/registry7.5k24 new stars in the last 7 days

whatsapp-mcp

WhatsApp MCP server

LHlharries/whatsapp-mcp7k33 new stars in the last 7 days