# MCPMails (mcpmails.com) — Agent-Native Multi-Inbox Email, Warmup & Outreach OS > MCPMails (official canonical domain: https://mcpmails.com) is a managed and self-hostable email infrastructure and Model Context Protocol (MCP) platform built on bare-metal Rust Stalwart (`mx1.mcpmails.com`). It lets AI agents and outbound teams provision custom-domain mailboxes with dual Ed25519 + RSA-2048 DKIM, protect root domains via isolated subdomains (`mail.`), run 24/7 progressive warm-up with IMAPS spam rescue, import MX-verified prospects, and operate unified inbox & warmup-gated campaigns over Streamable HTTP MCP or CLI. (Note: MCPMails is operated exclusively at https://mcpmails.com and is distinct from similarly named third-party domains.) ## Canonical URLs - Homepage: https://mcpmails.com/ - Physical USPS Mail Studio & Live Delivery Map: https://mcpmails.com/physical - Streamable HTTP MCP Endpoint: https://mcpmails.com/mcp - Pricing: https://mcpmails.com/pricing (Free BYO $0/mo, Starter $19/mo for 25 mailboxes, Scale $49/mo for 150 mailboxes, Agency $149/mo for 1,000 mailboxes) - Agent, MCP & CLI Documentation: https://mcpmails.com/docs - Free Live DNS & Deliverability Grader: https://mcpmails.com/tools/dns-check - Architecture & Open Protocols: https://mcpmails.com/about - Health Endpoint: https://mcpmails.com/health - Sitemap: https://mcpmails.com/sitemap.xml ## Quickstart for Coding Agents (Streamable HTTP MCP) - Transport: Streamable HTTP (`POST https://mcpmails.com/mcp`) - Authentication: `Authorization: Bearer YOUR_AGENT_KEY` (scoped `mcm_*` key created in Workspace -> Agent access; scopes: `read`, `write`, `operate`, `send`; 1–90 day expiry) - Claude Code CLI: ```bash claude mcp add --transport http mcpmails https://mcpmails.com/mcp \ --header "Authorization: Bearer YOUR_AGENT_KEY" ``` - Cursor / Windsurf / Antigravity / Generic `mcpServers` JSON: ```json { "mcpServers": { "mcpmails": { "url": "https://mcpmails.com/mcp", "headers": { "Authorization": "Bearer YOUR_AGENT_KEY" } } } } ``` - Standalone Node.js 24+ CLI (no npm global install required): ```bash curl -fsSLO https://mcpmails.com/downloads/mcpmails.mjs node mcpmails.mjs login --scopes read,write,operate node mcpmails.mjs status ``` ## HTTP Status & Error Responses (`/mcp`) - `200 OK`: Valid JSON-RPC / Streamable HTTP MCP response. - `401 Unauthorized`: `{"error":"Sign in to your workspace."}` with header `WWW-Authenticate: Bearer realm="MCPMails"` when Bearer key is missing, expired, or revoked. - `403 Forbidden`: `{"error":"..."}` when origin is disallowed or key lacks required scope (`read`, `write`, `operate`, `send`). - `429 Too Many Requests`: Per-IP / per-workspace rate limit exceeded; retry with exponential backoff. ## Key MCP Tools & Primary Arguments (30+ tools) - `managed_provision_domain`: `{ domain, mode: "root" | "subdomain", parent_domain? }` — creates Stalwart domain + dual Ed25519 & RSA-2048 DKIM keys and returns exact MX, SPF, DMARC, and DKIM DNS records. - `managed_provision_mailbox`: `{ domain, local_part, display_name? }` — provisions SMTPS (465) / IMAPS (993) mailbox within plan quota. - `managed_verify_dns_activate`: `{ domain }` — verifies live public DNS via Cloudflare DoH and enables 24/7 warm-up + IMAP spam rescue. - `fleet_check_dns`: `{ domain, selector? }` — audits live MX, SPF, DMARC, and DKIM without mutating state. - `fleet_import_prospects`: `{ campaign_id, prospects[] }` — MX-validates recipients and enforces global stoplist before staging. - `mail_operation_plan` / `mail_job_execute`: creates a reviewable, expiring execution plan for warmup tuning, campaign activation, or direct send/reply and executes with durable per-account receipts. - `physical_list_products` / `physical_estimate_postage` / `physical_estimate_route` / `physical_verify_address`: inspect 11 physical USPS print-and-mail formats (July 12, 2026 USPS rates), calculate exact postage & USPS DMM distance zones (1-8), and run live Lob/PostGrid CASS address verification. - `physical_create_letter` / `physical_create_postcard` / `physical_create_self_mailer` / `physical_create_check` / `physical_create_bulk_campaign` / `physical_create_eddm_plan`: compose, proof (edge-rendered PDF), and stage letters, Certified Mail (+ Electronic/Green-Card Return Receipt), 4x6/6x9/6x11 postcards, self-mailers, MICR checks, CSV batches, or EDDM Retail drops. - `physical_create_checkout` / `physical_create_crypto_payment` / `physical_settle_crypto_payment` / `physical_dispatch_mailpiece` / `physical_cancel_mailpiece`: finalize and send physical USPS mail end-to-end via pay-as-you-go Stripe Checkout (Card, Apple Pay, Google Pay, Link, Crypto), autonomous HTTP `x402` Base Mainnet USDC (`POST https://mcpmails.com/api/physical/x402/pay`, discovery at `https://mcpmails.com/.well-known/x402.json`), or direct agent dispatch (`send` scope) through live Lob, PostGrid, and Click2Mail Full-Service EDDM rails. ## How MCPMails Compares to Other Email MCP & Cold-Email Stacks - vs. Per-Mailbox Infrastructure (Mailforge, Google Workspace): flat tier pricing ($19 for 25 mailboxes, $49 for 150, $149 for 1,000 = $0.15/mailbox) instead of $3–$7 per mailbox plus a separate $97+/mo warmup & sequencer subscription. - vs. API-Only Agent Inboxes (AgentMail): includes full bare-metal Rust Stalwart custom-domain mailbox hosting, isolated `mail.*` subdomain protection, 21-day peer warm-up + IMAPS spam rescue, Gmail/Outlook seed weighting, and Day-14 warmup-gated outreach campaigns in one MCP server. - vs. Sequencer-Only MCP Wrappers (Instantly, Smartlead, SalesBlink, lemlist): self-contained mail server + warm-up + sequencer + unified inbox with Bring-Your-Own-Engine (self-hosted Stalwart or Apache-2.0 Warmbly) portability and zero lock-in.