Skip to main content
Glama
aliasmail-mcp

aliasmail-mcp

Official

⚡ What is AliasMail MCP?

Autonomous AI coding agents (Claude Desktop, Cursor, Antigravity, Windsurf, AutoGPT, Playwright agents) constantly need to sign up for accounts, run end-to-end integration tests, and verify email workflows.

Historically, this required manually signing up for third-party email APIs, creating credit card accounts, or writing fragile regexes to poll temporary mail inboxes.

AliasMail MCP connects any MCP-compliant AI assistant directly to AliasMail.space's zero-log edge routing infrastructure:

  1. Generate Instant Burner Inboxes: Create disposable email addresses (*@aliasmail.space) in 1 millisecond without an API key or registration.

  2. Autonomous Verification & OTP Extraction: The aliasmail_wait_for_code tool polls until an incoming email arrives and automatically extracts 4–8 digit verification codes and magic confirmation links.

  3. Email Security Suite: Deep RFC 822 header inspection, spam score calculation, disposable domain detection, tracking pixel neutralization, and DNS MX/SPF/DMARC auditing.


Related MCP server: agent-inbox

🚀 Quickstart & Installation

Option 1: Run with npx (No installation needed)

npx -y aliasmail-mcp

Option 2: Add to Claude Desktop

Open your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

Add aliasmail to your mcpServers:

{
  "mcpServers": {
    "aliasmail": {
      "command": "npx",
      "args": ["-y", "aliasmail-mcp"]
    }
  }
}

Restart Claude Desktop, and you'll see the AliasMail tools icon ready in your prompt window!


Option 3: Add to Cursor IDE

Add to your project's .cursor/mcp.json or your global Cursor settings:

{
  "mcpServers": {
    "aliasmail": {
      "command": "npx",
      "args": ["-y", "aliasmail-mcp"]
    }
  }
}

Option 4: Add to Windsurf

In your Windsurf MCP configuration (~/.codeium/windsurf/mcp_config.json):

{
  "mcpServers": {
    "aliasmail": {
      "command": "npx",
      "args": ["-y", "aliasmail-mcp"]
    }
  }
}

Option 5: Install via Smithery

If you use Smithery.ai:

npx -y @smithery/cli install aliasmail-mcp --client claude

🛠️ Available MCP Tools

📬 Disposable & Temporary Inbox Tools

Tool

Description

aliasmail_create_inbox

Generates a fresh, zero-log temporary email inbox (e.g. lunarbyte492@aliasmail.space) or custom handle. Returns email and web inbox URL.

aliasmail_wait_for_code

Autonomous Agent Power Tool: Polls until an email arrives and automatically extracts the numerical OTP verification code or activation link.

aliasmail_get_messages

Fetches all received messages in an inbox with sender, subject, timestamp, and snippet.

aliasmail_get_message

Retrieves the full plain text, clean sanitized HTML, headers, and detected links for a specific email.

aliasmail_wait_for_email

Waits for any incoming message matching optional sender or subject filters.

🛡️ Email Forensics & Security Tools

Tool

Description

aliasmail_validate_email

Validates RFC 5322 syntax, live domain MX records, typo domains (e.g. gmial.com), and disposable mailbox detection.

aliasmail_check_disposable

Inspects whether any email or domain belongs to an ephemeral burner service or legitimate corporate MX.

aliasmail_check_spam_score

Scans email subject and body against 5 spam trigger categories and calculates a 0–100 deliverability score.

aliasmail_analyze_headers

Parses RFC 822 headers: SPF, DKIM, DMARC verdicts, hop relay transit timeline, and origin IP.

aliasmail_clean_tracking

Defuses invisible 1x1 tracking pixels, read receipt beacons, and surveillance redirect links.

aliasmail_check_dns

Real-time DNS audit of domain Mail Exchange (MX) records, SPF syntax, and DMARC enforcement.

aliasmail_health_check

Checks live availability and status of AliasMail edge relay infrastructure.


🤖 Example Agent Workflows

1. Autonomous Signup & Email Verification

Give this instruction to your AI agent (Cursor / Claude / Antigravity):

"Sign up for a test account on example.com. Use an AliasMail temporary email inbox, submit the form, and wait for the verification code using aliasmail_wait_for_code to enter it automatically."

The agent will:

  1. Call aliasmail_create_inbox ➔ receives swiftfox309@aliasmail.space

  2. Fill the registration form with swiftfox309@aliasmail.space

  3. Call aliasmail_wait_for_code({ address: "swiftfox309@aliasmail.space" })

  4. Receive { code: "748291", primaryUrl: "https://example.com/verify?token=..." }

  5. Finish authentication seamlessly without human intervention.


2. Inspecting Spam & Tracking Pixels

"Analyze this marketing email HTML for spy trackers and test its deliverability score."

The agent calls:

  1. aliasmail_clean_tracking to neutralize tracking pixels.

  2. aliasmail_check_spam_score to optimize email copy.


🌐 Live Web Interface

Want to view emails manually in your browser? Every inbox created by this MCP server is immediately accessible on the web:


🔒 Zero-Log Architecture & Privacy

AliasMail is engineered with a strict privacy-first foundation:

  • Zero IP logging: We never log agent or client IP addresses.

  • Automatic TTL Expiration: Ephemeral messages are held in high-speed edge queues and purged automatically.

  • Edge Routing: Powered by Cloudflare Email Routing and BullMQ processing for sub-second delivery.


📄 License

MIT © AliasMail & Anshu Sharma

Available Tools

12 tools
aliasmail_analyze_headersB

Deep RFC 822 email header analyzer: inspects SPF, DKIM, DMARC verdicts, hop relay transit timeline, and security grading.

Inputs: headers (required).

aliasmail_check_disposableA

Check whether an email address or domain belongs to a disposable/temporary burner provider or legitimate corporate mail infrastructure.

Inputs: target (required).

aliasmail_check_dnsB

Real-time DNS audit of domain Mail Exchange (MX) records, SPF syntax, DMARC policy enforcement, and DKIM public keys.

Inputs: domain (required).

aliasmail_check_spam_scoreA

Evaluate email copy against spam heuristic triggers, capitalization ratios, link density, and deliverability risk via AliasMail Spam Checker.

Inputs: body, subject.

aliasmail_clean_trackingB

Scan and defuse invisible 1x1 tracking pixels, read receipt beacons, and surveillance redirect links in email HTML.

Inputs: html (required).

aliasmail_create_inboxA

Generate an instant, zero-log disposable temporary email inbox on AliasMail (https://aliasmail.space/). No registration required. Ready immediately to receive verification emails, OTP codes, or test messages.

Inputs: handle.

aliasmail_get_messageA

Retrieve full content of a specific email received in an AliasMail temporary inbox, including body text, sanitized HTML, headers, and extracted links/codes.

Inputs: address (required), messageId (required).

aliasmail_get_messagesA

Fetch emails from an AliasMail temporary inbox (https://aliasmail.space/temporary/). Returns list of received messages with subject, sender, timestamp, and snippet.

Inputs: address (required), page, limit.

aliasmail_health_checkA

Check health and operational status of the AliasMail infrastructure and API services.

Inputs: no named parameters.

aliasmail_validate_emailA

Deep email address validation via AliasMail (https://aliasmail.space/tools/email-validator/). Checks RFC 5322 syntax, domain MX resolution, typo detection (e.g. gmial.com), and disposable mailbox flagging.

Inputs: email (required).

aliasmail_wait_for_codeB

Autonomous AI Agent helper: Polls an AliasMail inbox until a verification/signup email arrives and automatically parses the 4-8 digit OTP code or confirmation link. Eliminates manual polling and regex parsing.

Inputs: address (required), subjectFilter, timeoutSeconds, pollIntervalSeconds.

aliasmail_wait_for_emailB

Wait for any new incoming email on an AliasMail temporary inbox with optional sender or subject filtering.

Inputs: address (required), fromFilter, subjectFilter, timeoutSeconds, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 12 tools

    Disambiguation4/5

    Most tools target clearly distinct operations: inbox creation, message listing/retrieval, waiting, and validation/security checks. There is mild overlap between wait_for_code and wait_for_email, and between validate_email/check_disposable and analyze_headers/check_dns, but descriptions provide enough distinction for an agent to choose correctly.

    Naming Consistency5/5

    All tools follow a consistent aliasmail_verb_noun pattern in snake_case, such as create_inbox, get_messages, wait_for_code, and check_dns. The convention is predictable across the entire set.

    Tool Count5/5

    Twelve tools sit comfortably in the well-scoped range and cover both temporary inbox workflows and email validation/security utilities. Each tool appears to earn its place without excessive surface area.

    Completeness4/5

    The surface covers the core lifecycle of creating an inbox, reading messages, waiting for codes/emails, and running validation and security checks. Minor gaps exist around inbox deletion/expiration management and attachment handling, but agents can work around these for typical verification workflows.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Disposable email MCP server for autonomous AI agents. Create labeled temporary inboxes, wait for verification emails, extract OTP codes and confirmation links — zero human intervention required.
      6
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to create temporary email addresses, receive confirmation emails, and extract verification links, automating sign-up and email verification workflows without manual intervention.
      6
      32 npm
      64
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Provides disposable email inboxes for AI agents to automatically receive and extract OTPs and magic links, enabling seamless email verification during autonomous workflows.
      3
      345 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Disposable email for humans and AI agents. Enables AI agents to create mailboxes and receive verification emails through an MCP server.
      39
      MIT