Skip to main content
Glama
best-tempmail-mcp

best-tempmail-mcp

best-tempmail-mcp

MCP server for Best Temp Mail. Gives an AI assistant its own disposable email inboxes, so it can sign up for things, wait for the mail, and read the verification code back to you.

"Create a temp email, sign me up for that newsletter, and tell me the confirmation code."

Install

Add this to your MCP host's configuration. No installation step: npx fetches it on first run.

Claude Desktop (claude\_desktop\_config.json):

{
  "mcpServers": {
    "best-tempmail": {
      "command": "npx",
      "args": \["-y", "best-tempmail-mcp"]
    }
  }
}

With an API key, for higher limits and verification code extraction:

{
  "mcpServers": {
    "best-tempmail": {
      "command": "npx",
      "args": \["-y", "best-tempmail-mcp"],
      "env": { "BTM\_API\_KEY": "btm\_sk\_live\_..." }
    }
  }
}

The same shape works in Cursor, VS Code, Claude Code, and other MCP hosts.

Restart the host after editing the config.

Related MCP server: agent-inbox

Tools

Tool

What it does

create\_inbox

Create a disposable address

wait\_for\_email

Wait up to 55s for mail to arrive

get\_verification\_code

Pull the OTP out of a message (paid key)

list\_messages

See what has already arrived

read\_message

Read the full body and attachment list

list\_domains

Available domains

delete\_inbox

Delete an inbox and its contents

Without an API key

Everything works except get\_verification\_code, on the free tier: 150 requests per hour and 3 inboxes per day. That is enough to try it properly.

A paid key raises the limit to 2,000 requests per hour, unlocks code extraction, and allows commercial use. See pricing.

What it looks like in use

**You:** Make me a temp email and sign up for the newsletter at example.com

The assistant calls create\_inbox, gets abc1234@dextde.site, fills in the form, then calls wait\_for\_email.

**Assistant:** Signed up with abc1234@dextde.site. The confirmation email arrived; your code is 889231.

Configuration

Variable

Purpose

BTM\_API\_KEY

Optional. Paid plan key.

BTM\_BASE\_URL

Optional. Override the API base, for testing.

Notes

Inboxes expire on their own: 2 hours on the free and Developer plans, 24 hours on Pro. They are receive-only, so nothing can be sent from them.

If a verification code cannot be identified with confidence, the tool says so rather than guessing. A wrong code is worse than none, and the assistant can fall back to read\_message to look at the body itself.

License

MIT

Available Tools

7 tools
create_inboxCreate a disposable email inboxA

Create a temporary email address that can receive mail. Use this when the user needs an email address for a signup, a trial, or anything they do not want to give a real address to. Returns the address and when it expires.

Inputs: domain, username.

delete_inboxDelete an inboxA

Delete an inbox and everything in it. Inboxes expire on their own, so this is only needed when the user wants it gone immediately.

Inputs: address (required).

get_verification_codeExtract the verification code from an emailA

Pull the verification or one-time code out of a message. Use this after wait_for_email when the user needs a code to complete a signup or login. Requires a paid API key. If no code is found with confidence, that is reported rather than guessed, because a wrong code is worse than none.

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

list_domainsList available email domainsA

List the domains inboxes can be created on. Only needed when the user wants a specific domain; create_inbox picks one automatically.

Inputs: no named parameters.

list_messagesList messages in an inboxA

List the messages currently in an inbox, newest first. Use this to see what has already arrived, rather than waiting for something new.

Inputs: address (required).

read_messageRead the full contents of a messageA

Read a message's full body and attachment list. Use this when the user wants to see what an email actually says, or when get_verification_code could not find a code.

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

wait_for_emailWait for an email to arriveA

Wait for the next email to arrive at an inbox, up to 55 seconds. Use this straight after triggering a signup or password reset. Returns the message summary, or reports that nothing arrived. Nothing arriving is not an error: the mail may simply be slow, and calling this again continues waiting.

Inputs: address (required), timeout.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct stage of the temporary-email workflow: create inbox, list mail, wait for mail, read a message, extract a code, list domains, and delete inbox. Close pairs like list_messages/wait_for_email and read_message/get_verification_code are explicitly differentiated in their descriptions.

    Naming Consistency5/5

    All tool names use a consistent snake_case, verb-first convention: create_inbox, list_messages, read_message, delete_inbox, wait_for_email, and get_verification_code. The phrasal wait_for_email still fits the predictable pattern.

    Tool Count5/5

    Seven tools provide a well-scoped set for a focused temporary-email server. Each tool has a clear role and none feels redundant, while the count stays comfortably within the ideal range.

    Completeness5/5

    The surface covers the full temporary-email lifecycle: create an inbox, optionally choose a domain, wait for or list incoming messages, read message content, extract verification codes, and delete the inbox. No significant workflow gap is apparent for a receive-only temp-email service.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to create disposable email inboxes and automatically extract OTPs, magic links, and verification codes from incoming emails.
      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
      21 npm
      64
      MIT
    • A
      license
      A
      quality
      B
      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
      262 npm
      1
      MIT