Skip to main content
MCP server CX Codex

mcp-server-tempmail — Claude Code MCP server: setup and tools

Connects ChatTempMail to your coding assistant to generate disposable email inboxes and inspect incoming messages.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env TEMPMAIL_API_KEY=<TEMPMAIL_API_KEY> --env TEMPMAIL_BASE_URL=<TEMPMAIL_BASE_URL> --transport stdio mcp-server-tempmail -- npx -y mcp-server-tempmail
Open on GitHub

What mcp-server-tempmail does

This MCP server integrates the chat-tempmail.com API into coding assistants. It provides tools to retrieve available domains, create disposable addresses, and clean up expired mailboxes. When setting up an inbox, you can choose a lifespan ranging from 1 hour to indefinite.

The model can query received messages, inspect the full content of any email, and delete specific items. It also contains tools to inspect or update webhook URLs for incoming email events.

You need a personal key set in TEMPMAIL_API_KEY before starting. Without this credential from chat-tempmail.com, the server fails every call.

What it helps with

  • automate sign-up flows and verification code extraction during tests
  • create disposable inboxes directly through agent tool calls
  • inspect email message bodies and headers without leaving the IDE
  • configure webhook endpoints to listen for incoming mail notifications

Example prompts for the agent

  • List available domains and register a temporary email valid for 1 hour
  • Fetch the message list for inbox ID c2c4f894-c672-4d5b-a918-abca95aff1f7
  • Show the full body of message fd13a8df-1465-4fbc-a612-ca7311c31ff2

How to install mcp-server-tempmail

Platform CLI

claude mcp add --env TEMPMAIL_API_KEY=<TEMPMAIL_API_KEY> --env TEMPMAIL_BASE_URL=<TEMPMAIL_BASE_URL> --transport stdio mcp-server-tempmail -- npx -y mcp-server-tempmail

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp-server-tempmail

How to install mcp-server-tempmail in Claude Code?

Run claude mcp add mcp-server-tempmail -e TEMPMAIL_API_KEY=<TEMPMAIL_API_KEY> -- npx -y mcp-server-tempmail in your console. Replace <TEMPMAIL_API_KEY> with your personal API token.

What features does mcp-server-tempmail provide?

It exposes tools to create and delete temporary inboxes, retrieve emails, and inspect incoming content. You can also view and edit webhook configuration.

What prerequisites are required?

You need a registered account on chat-tempmail.com to obtain an API key. Setting TEMPMAIL_BASE_URL is optional, as it defaults to https://chat-tempmail.com.

Similar MCP servers

All MCP servers for Testing and QA →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor