Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
Selenium39 avatar

Mcp Server Tempmail

  • 9 repo stars
  • Updated September 9, 2025
  • Selenium39/mcp-server-tempmail

mcp-server-tempmail is a MCP server that manages ChatTempMail disposable inboxes for signup and OTP testing.

About

mcp-server-tempmail wraps the ChatTempMail API as an MCP server so your agent can provision throwaway addresses and read incoming messages during development and QA-style prototyping. developers validating SaaS onboarding, magic links, or OTP screens use it to close the loop in one chat: trigger signup in a browser or API, then pull the verification email through MCP instead of context-switching to a webmail tab. Configuration is minimal—a required TEMPMAIL_API_KEY and optional TEMPMAIL_BASE_URL defaulting to chat-tempmail.com—and transport is stdio via the published npm package. It is a third-party hosted temp-mail service dependency, not an self-hosted mailserver, so use it for dev and staging-style tests rather than production user mail.

  • ChatTempMail API-backed temporary mailbox management over MCP
  • Required TEMPMAIL_API_KEY; optional TEMPMAIL_BASE_URL override
  • stdio npm package mcp-server-tempmail v1.0.1
  • Lets agents create addresses and fetch messages for automated test narratives
  • Avoids using personal Gmail during iterative signup experiments

Mcp Server Tempmail by the numbers

  • Data as of Jul 15, 2026 (Skillselion catalog sync)
terminal
claude mcp add --env TEMPMAIL_API_KEY=YOUR_TEMPMAIL_API_KEY --env TEMPMAIL_BASE_URL=YOUR_TEMPMAIL_BASE_URL mcp-server-tempmail -- npx -y mcp-server-tempmail

Add your badge

Show developers this MCP server is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars9
Packagemcp-server-tempmail
TransportSTDIO
AuthRequired
Last updatedSeptember 9, 2025
RepositorySelenium39/mcp-server-tempmail

What it does

Create and read disposable inboxes via MCP so you can test signup, OTP, and email flows while prototyping without polluting your real mailbox.

Who is it for?

Best when you're prototyping auth, invites, and transactional email and want agent-driven inbox steps.

Skip if: Production outbound mail, compliance-heavy archival, or teams forbidden from third-party temp-mail services.

What you get

After you add the server with TEMPMAIL_API_KEY, your agent can create temp mailboxes and read messages for automated flow validation.

  • Agent-callable tools to create and monitor temporary mailboxes
  • Captured verification messages for prototype test scripts
  • Faster iterate-test cycles without personal email pollution

By the numbers

  • Server version 1.0.1
  • 1 required secret: TEMPMAIL_API_KEY
  • Default API host documented as https://chat-tempmail.com via TEMPMAIL_BASE_URL
README.md

MCP Server - Temporary Email

An MCP (Model Context Protocol) server for temporary email management using the ChatTempMail API.

中文文档

Features

Email Management

  • ✅ Get available domains
  • ✅ Create temporary emails
  • ✅ List emails
  • ✅ Delete emails

Message Management

  • ✅ Get email messages
  • ✅ View message details
  • ✅ Delete messages

Webhook Configuration

  • ✅ Get webhook configuration
  • ✅ Set webhook configuration

Installation and Usage

1. Get API Key

  1. Visit chat-tempmail.com
  2. Register an account and login
  3. Create an API key in your profile page

2. Configure MCP Client

Add the configuration to your MCP client (Claude Desktop, Cursor, etc.), make sure to set the API key in environment variables:

Install from source:

{
  "mcpServers": {
    "tempmail": {
      "command": "npx",
      "args": [
        "--from",
        "git+https://github.com/Selenium39/mcp-server-tempmail.git",
        "mcp-server-tempmail"
      ],
      "env": {
        "TEMPMAIL_API_KEY": "your-api-key-here",
        "TEMPMAIL_BASE_URL": "https://chat-tempmail.com"
      }
    }
  }
}

Install from package manager:

{
  "mcpServers": {
    "tempmail": {
      "command": "npx",
      "args": ["mcp-server-tempmail"],
      "env": {
        "TEMPMAIL_API_KEY": "your-api-key-here",
        "TEMPMAIL_BASE_URL": "https://chat-tempmail.com"
      }
    }
  }
}

⚠️ Important:

  • Replace your-api-key-here with your actual API key from chat-tempmail.com
  • TEMPMAIL_BASE_URL is optional and defaults to https://chat-tempmail.com if not specified

3. Restart Application

Restart your MCP client application after configuration.

MCP Tools Documentation

Email Management Tools

get_email_domains

Get all available email domains in the system.

Parameters: None

create_email

Create a new temporary email address.

Parameters:

  • name (required): Email prefix name
  • domain (required): Email domain
  • expiryTime (required): Expiry time in milliseconds, options:
    • 3600000 - 1 hour
    • 86400000 - 1 day
    • 259200000 - 3 days
    • 0 - permanent
list_emails

Get all email addresses under your account.

Parameters:

  • cursor (optional): Pagination cursor
delete_email

Delete the specified email address.

Parameters:

  • emailId (required): Email ID

Message Management Tools

get_messages

Get all messages in the specified email address.

Parameters:

  • emailId (required): Email ID
  • cursor (optional): Pagination cursor
get_message_detail

Get detailed content of the specified message.

Parameters:

  • emailId (required): Email ID
  • messageId (required): Message ID
delete_message

Delete the specified message.

Parameters:

  • emailId (required): Email ID
  • messageId (required): Message ID

Webhook Configuration Tools

get_webhook_config

Get current webhook configuration information.

Parameters: None

set_webhook_config

Set or update webhook configuration.

Parameters:

  • url (required): Webhook URL address
  • enabled (required): Whether to enable webhook

Usage Examples

Get Available Domains

Please get all available email domains.

Create Temporary Email

Please create an email named "test" using domain "chat-tempmail.com" with 1 hour validity.

View Email Messages

Please view all messages in email ID "c2c4f894-c672-4d5b-a918-abca95aff1f7".

View Message Details

Please view the detailed content of message ID "fd13a8df-1465-4fbc-a612-ca7311c31ff2" in email ID "c2c4f894-c672-4d5b-a918-abca95aff1f7".

Notes

  • API key is configured through the TEMPMAIL_API_KEY environment variable, please keep it secure and do not expose it publicly
  • Base URL can be customized through the TEMPMAIL_BASE_URL environment variable (defaults to https://chat-tempmail.com)
  • Temporary emails will automatically expire according to the set expiry time
  • Use nextCursor for paginated queries to get more data
  • Make sure to set the environment variables correctly in your MCP client configuration

License

MIT

Contributing

Issues and Pull Requests are welcome.

Recommended MCP Servers

How it compares

Disposable inbox MCP bridge, not an SMTP provider or full email marketing integration.

FAQ

Who is mcp-server-tempmail for?

Developers and developers testing registration and verification flows with MCP-enabled coding agents.

When should I use mcp-server-tempmail?

Use it while validating prototypes and staging apps that send confirmation or OTP emails.

How do I add mcp-server-tempmail to my agent?

Get a ChatTempMail API key, set TEMPMAIL_API_KEY (and TEMPMAIL_BASE_URL if needed), install mcp-server-tempmail, and register it as a stdio MCP server.

Communicationtestingintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.