PluginBench
MCP Server
Stale

io.github.Selenium39/mcp-server-tempmail MCP Server

io.github.Selenium39/mcp-server-tempmail

Create and manage temporary email addresses via ChatTempMail API for testing and privacy.

What is the io.github.Selenium39/mcp-server-tempmail MCP server?

The mcp-server-tempmail MCP server provides tools to create, manage, and monitor temporary email addresses using the ChatTempMail API. It enables AI agents to generate disposable emails, retrieve messages, and configure webhooks for automated email workflows.

This server lets you programmatically create temporary email addresses with configurable expiry times, list and delete emails, retrieve and manage messages, and set up webhook notifications. Useful for testing email-dependent features, protecting privacy during signups, or automating email-based workflows without exposing a real email address.

How to install io.github.Selenium39/mcp-server-tempmail

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • TEMPMAIL_API_KEY
    required
    secret

    API key for ChatTempMail service

  • TEMPMAIL_BASE_URL

    Base URL for ChatTempMail API (optional, defaults to https://chat-tempmail.com)

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-tempmail": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-tempmail"
      ],
      "env": {
        "TEMPMAIL_API_KEY": "<YOUR_TEMPMAIL_API_KEY>",
        "TEMPMAIL_BASE_URL": "<YOUR_TEMPMAIL_BASE_URL>"
      }
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • get_email_domains — Get all available email domains in the system.
  • create_email — Create a new temporary email address with specified name, domain, and expiry time.
  • list_emails — Get all email addresses under your account with optional pagination.
  • delete_email — Delete a specified email address by ID.
  • get_messages — Get all messages in a specified email address with optional pagination.
  • get_message_detail — Get detailed content of a specified message.
  • delete_message — Delete a specified message.
  • get_webhook_config — Get current webhook configuration information.
  • set_webhook_config — Set or update webhook configuration with URL and enabled status.

Use cases

  • Generate temporary email addresses for testing signup flows and email verification without exposing real email
  • Retrieve and read messages from temporary inboxes to verify email-based notifications and confirmations
  • Automate email-based workflows by creating disposable emails and monitoring incoming messages via webhooks
  • Clean up test data by deleting temporary emails and messages after testing is complete
  • Protect privacy during third-party service signups by using temporary emails instead of personal addresses

io.github.Selenium39/mcp-server-tempmail MCP server FAQ

What is the mcp-server-tempmail?

It's an MCP server that integrates with ChatTempMail API to create and manage temporary email addresses, retrieve messages, and configure webhooks for automated email workflows.

Is this service free?

You need to register a free account at chat-tempmail.com and create an API key in your profile to use this server.

How do I install it in Claude Desktop or Cursor?

Add the configuration to your MCP client's settings with the npx command and set the TEMPMAIL_API_KEY environment variable with your API key from chat-tempmail.com.

What authentication is required?

You must provide a valid TEMPMAIL_API_KEY from your chat-tempmail.com account; the base URL defaults to https://chat-tempmail.com but can be customized.

Can I set expiry times for temporary emails?

Yes, you can set expiry times when creating emails: 1 hour, 1 day, 3 days, or permanent (0 milliseconds).

Does it support webhooks?

Yes, you can get and set webhook configurations to receive notifications when messages arrive in your temporary inboxes.

README (reference)

Source of truth, from the repository.

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.

Related MCP servers

Academic peer-review, research-gap finding, journal recommender, and article writer tools.

Governance validation for Semantic Data Charter instances; returns OASIS XACML decisions.

2
Python
Apache-2.0
View repository →

Verify and settle VSL Settlement Receipts. Verification needs no network and no account.

0
Python
Apache-2.0
View repository →

SDC4 structural validator with ExceptionalValue recovery; thin wrapper over xmlschema.

1
Python
Apache-2.0
View repository →
LILINZA logo

LINZA

Active

Local-first MCP sidecar for Markdown artifacts, review intents, and supervised knowledge growth.

3
Python
MIT
View repository →
NONouz logo

Nouz

Maintained

Semantic knowledge engine that auto-classifies and organizes Markdown notes into DAG hierarchies for AI agents.

16
Python
MIT
View repository →