mcpField
B
best-tempmail-mcp

best-tempmail-mcp

Local
github.com/mbilalawan926-sysCommunication0Updated 7w ago

About best-tempmail-mcp

best-tempmail-mcp is an MCP server that gives AI assistants disposable inboxes for sign-ups and incoming mail. It can wait for messages, read them, and extract verification codes; inboxes are receive-only.

Key features

  1. 01Create disposable inboxes
  2. 02Wait for incoming email
  3. 03List and read messages
  4. 04Extract verification codes
  5. 05Delete inboxes and contents

Use cases

  1. 01Sign up for a site and receive its confirmation email
  2. 02Check a code sent by email
  3. 03Review arrived messages and attachments

MCP support

The MCP server exposes tools for disposable inbox management, reading email, and extracting verification codes.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"mbilalawan926-sys-best-tempmail": {
"command": "npx",
"args": [
"-y",
"best-tempmail-mcp"
],
"env": {
"BTM_API_KEY": "<BTM_API_KEY>"
}
}
}
}
Run commandnpx -y best-tempmail-mcp
Environment variables to set
BTM_API_KEYSecretOptional paid plan key. Without it the free tier applies, which needs no key but cannot extract verification codes.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmbest-tempmail-mcp1.0.2

Tools

7

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
domainstringNoOptional domain from list_domains. Random if omitted.
usernamestringNoOptional local part, for example 'my-test'. Lowercase letters, digits, dot, underscore and hyphen only. Random if omitted.

Details

From the project README

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.

Tools

ToolWhat it does
create\_inboxCreate a disposable address
wait\_for\_emailWait up to 55s for mail to arrive
get\_verification\_codePull the OTP out of a message (paid key)
list\_messagesSee what has already arrived
read\_messageRead the full body and attachment list
list\_domainsAvailable domains
delete\_inboxDelete 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 [email protected], fills in the form, then calls wait\_for\_email.

**Assistant:** Signed up with [email protected]. The confirmation email arrived; your code is 889231.

Configuration

VariablePurpose
BTM\_API\_KEYOptional. Paid plan key.
BTM\_BASE\_URLOptional. 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.

Links

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.