Guides / AI Agent MCP

MCP Guide

MCP Email Server for AI Agents

Give Claude Code, Cursor, or any autonomous agent its own disposable inbox so it can complete signups and verify OTP emails end to end.

Dev-Mail exposes a stateless Streamable HTTP Model Context Protocol endpoint at https://dev-mail.com/mcp. There is nothing to install and no account to create. Free agents get 2 full verification unlocks per day per IP, and heavy agent fleets unlock unlimited codes and clean domains with a Pro key or x402 per-inbox payments.

1. Add Dev-Mail to Claude Code

claude mcp add --transport http dev-mail https://dev-mail.com/mcp

Or attach a Pro license key header so your agent can use clean domains (winmail.cfd, kingshould.com, aeria-mall.com) and unlimited OTP unlocks:

{
  "mcpServers": {
    "dev-mail": {
      "type": "http",
      "url": "https://dev-mail.com/mcp",
      "headers": {
        "X-License-Key": "DMP-XXXXX-XXXXX-XXXXX-XXXXX"
      }
    }
  }
}

2. Available MCP tools

ToolArgumentsWhat it does
list_domains—Lists available receiving domains (and reserved Pro domains).
create_inboxdomain, styleCreates a fresh disposable inbox and returns address + token.
get_verification_codeaddress, token, wait, sinceLong-polls up to 60s and returns the extracted OTP code and verification link.
list_messagesaddress, token, sinceReturns full parsed messages without consuming them.

3. Scaling autonomous agent runs

When an agent hits the free daily unlock cap or needs a reserved clean domain:

Need clean domains and zero-downtime agent OTP unlocks?

Open a zero-signup Disposable Prepaid Account (one DMP-... key works as both balance and X-License-Key): top up once with USDT/USDC for up to +25% bonus and turn on 20% off auto-renew so autonomous agents never stall on monthly expiry.

Open Prepaid Account (20% Off + Bonus) → View All Plans

Wildcard Catch-All OTP API guide → · REST API reference → · All guides →