MCP Hub
Back to servers

SandMail — Disposable Email API for AI Agents

Create disposable email inboxes, extract OTP codes in 15 languages, and receive webhooks — all from your AI agent. One call: create inbox → wait for email → get the verification code. Supports 7 domains, email forwarding, and HMAC-signed webhooks with OTP included in payload. Free tier available.

glama
Updated
Apr 16, 2026

SandMail MCP Server

Give AI agents their own disposable email inboxes with OTP extraction.

Works with Claude Code, Cursor, Windsurf, and any MCP-compatible AI tool.

Install

npm install -g sandmail-mcp

Setup

Claude Code / Claude Desktop

Add to your MCP config (~/.claude/claude_desktop_config.json):

{
  "mcpServers": {
    "sandmail": {
      "command": "sandmail-mcp",
      "env": {
        "SANDMAIL_API_KEY": "sk_live_your_key"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "sandmail": {
      "command": "sandmail-mcp",
      "env": {
        "SANDMAIL_API_KEY": "sk_live_your_key"
      }
    }
  }
}

Available Tools

ToolDescription
create_inboxCreate a disposable email inbox
wait_for_otpWait for an email and extract the OTP code
get_otpExtract OTP from the latest email
get_emailsList all emails in an inbox
wait_for_emailWait for any new email to arrive
delete_inboxDelete an inbox
list_inboxesList all active inboxes
get_quotaCheck API usage

Example Usage

Ask your AI agent:

"Create a temporary email, sign up for example.com, and get me the verification code"

The agent will:

  1. Call create_inbox → gets test123@tempyx.com
  2. Use the email to sign up on the website
  3. Call wait_for_otp → waits for the verification email
  4. Return the OTP code to you

Get API Key

Get your free API key at sandmail.dev

Reviews

No reviews yet

Sign in to write a review