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 unlimited agent OTP unlocks?

Grab a Dev-Mail Pro key in ~8 seconds with USDT or USDC on BSC, Polygon, Arbitrum, or Base — no account or card required.

Get a Pro License Key →

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