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.
README
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-mcp
Tools
| Tool | What it does |
|---|---|
create_mailbox |
Take an address. Random name and domain unless you ask otherwise. |
wait_for_code |
Block until mail arrives, return the code and the activation link. |
list_messages |
What is in the inbox, newest first, with previews. |
read_message |
Full body of one message. |
delete_mailbox |
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 |
|---|---|---|
TEMPMAIL_API_KEY |
required | Your key. |
TEMPMAIL_BASE_URL |
https://tempmailgenerator.net |
Only for self-hosted installs. |
API reference: https://tempmailgenerator.net/api/
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.