tempmail-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tempmail-mcp I'm signing up for a service, need a temp email to receive the confirmation code."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
tempmail-mcp
MCP server for disposable email. Gives an assistant its own throwaway inbox, then hands back the confirmation code out of the message that arrives.
The problem it solves: an agent walking through a signup flow hits the point where a real email address is needed, and a human has to step in to read a code out of their inbox. At that moment the automation stops being automation.
Install
{
"mcpServers": {
"tempmail": {
"command": "npx",
"args": ["-y", "tempmail-mcp"],
"env": {
"TEMPMAIL_API_KEY": "tm_your_key_here"
}
}
}
}Get a key at tempmailgenerator.net/account. Free, no card, one key per account.
For Claude Code:
claude mcp add tempmail --env TEMPMAIL_API_KEY=tm_your_key -- npx -y tempmail-mcpRelated MCP server: useblip/email
Tools
Tool | What it does |
| Take an address. Random name and domain unless you ask otherwise. |
| Block until mail arrives, return the code and the activation link. |
| What is in the inbox, newest first, with previews. |
| Full body of one message. |
| Clean up when done. |
wait_for_code is the one that matters. It holds the connection until the message
lands rather than polling, so the assistant does not burn turns checking an empty
inbox, and it returns the digits already extracted instead of a wall of HTML for
the model to squint at.
A typical run
create_mailboxgiveslaura.ellis5427@...The agent submits that address to the signup form it is working through.
wait_for_codereturns481902and the confirmation link a second later.The agent finishes the flow.
Limits and manners
Mailboxes live 24 hours. One key allows 300 new mailboxes an hour and 100 alive at once, which is far past what an interactive agent needs and short of what a signup farm wants.
Addresses come from a pool reserved for automation and are recognisably disposable. Point this at systems you own or test. Pointed at somebody else's service to mass produce accounts, it becomes their incident and then ours.
Configuration
Variable | Default | Purpose |
| required | Your key. |
|
| Only for self-hosted installs. |
API reference: https://tempmailgenerator.net/api/
License
MIT
Available Tools
5 toolscreate_mailboxCreate a disposable mailboxA
Create a temporary email address. Returns the address to paste into a signup form and the id used by the other tools. Without arguments you get a random name on a random domain, which is what you usually want.
Inputs: localPart.
delete_mailboxDelete a mailboxA
Delete the mailbox and everything in it once you are done. Not required, since mailboxes expire on their own in 24 hours, but polite and it frees your quota.
Inputs: mailboxId (required).
list_messagesList messages in a mailboxA
List what has arrived in a mailbox, newest first, with a short preview of each. Use it when the code extraction found nothing and you need to look at the mail yourself.
Inputs: mailboxId (required).
read_messageRead a messageA
Return the full body of one message, plain text where available. Use it when the preview is not enough or when the code sits in an unusual place.
Inputs: messageId (required).
wait_for_codeWait for the confirmation codeA
Wait for an email to arrive and return the confirmation code and activation link extracted from it. Call this right after triggering the signup. It blocks until the message lands, so there is no need to poll or to sleep between calls.
Inputs: mailboxId (required), from, wait, since.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct role: create_mailbox sets up the address, wait_for_code extracts codes, list_messages and read_message offer progressively deeper inspection, and delete_mailbox cleans up. There is no overlap or ambiguity between the operations.
All tool names follow a consistent verb_noun pattern in snake_case: create_mailbox, wait_for_code, list_messages, read_message, delete_mailbox. The naming style is uniform and predictable throughout the set.
Five tools is a well-scoped size for a temporary email server. Each tool covers an essential step in the workflow without redundancy or unnecessary additions.
The tools cover the full temporary email lifecycle: create a mailbox, wait for and extract a code, list and read messages for manual inspection, and optionally delete the mailbox. There are no obvious dead ends or missing operations for the stated purpose.
Maintenance
Related MCP Connectors
MCP server for MailTempo's public free temporary email inboxes.
Real email inboxes for AI agents: register, receive, read and send mail over MCP. Free to receive.
MCP server for e-mail testing: create disposable inboxes, wait for delivery, and extract e-mail content or links - all from your AI agent or test automation workflow. Get a free API key on https://app.zyntra.app/
Related MCP Servers
- AlicenseBqualityCmaintenanceDisposable 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.6MIT
- AlicenseAqualityBmaintenanceMCP server for disposable email — create inboxes, receive emails, and extract OTP codes. Let your AI agent sign up for services, wait for verification emails, and extract codes autonomously.753 npm1MIT
- AlicenseAqualityCmaintenanceMCP server for the Guerrilla Mail temporary/disposable email API. Spin up throwaway inboxes, poll for mail, and read messages from any MCP client.614 npm1MIT
- AlicenseNot gradedqualityBmaintenanceDisposable email for humans and AI agents. Enables AI agents to create mailboxes and receive verification emails through an MCP server.39MIT