Get the FREE Ultimate OpenClaw Setup Guide →

mcp -tempmail

MCP server for temporary email management using ChatTempMail API

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio selenium39-mcp-server-tempmail npx --from git+https://github.com/Selenium39/mcp-server-tempmail.git mcp-server-tempmail \
  --env TEMPMAIL_API_KEY="your-api-key-here" \
  --env TEMPMAIL_BASE_URL="https://chat-tempmail.com"

How to use

This MCP server provides a bridge to the ChatTempMail service, enabling you to manage temporary email addresses, messages, and webhook configurations through MCP clients. With the temmpmail MCP server, you can create temporary emails, list and view messages, and configure webhooks directly from your MCP environment. The server exposes tools for email management (create, list, delete emails), message management (list messages, view details, delete), and webhook configuration (get/set webhook data). To use it, install the server via npx and supply your API key (and optional base URL) in environment variables set in your MCP client configuration. Once configured, you can invoke the MCP tools described in the documentation to perform operations against your ChatTempMail account.

How to install

Prerequisites:

  • Node.js (LTS) and npm installed on your machine
  • Access to the internet to fetch packages via npx

Installation steps:

  1. Obtain API key from chat-tempmail.com and note your base URL (optional; defaults to https://chat-tempmail.com).
  2. In your MCP client configuration, add the mcpServers entry for tempmail as shown in the examples below.
  3. Restart your MCP client after adding the configuration.

Example installation configuration (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"
      }
    }
  }
}

Alternatively, install via package manager (npx mcp-server-tempmail) with the same environment variables:

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

Notes:

  • Keep your API key secure; do not expose it publicly.
  • TEMPMAIL_BASE_URL is optional and defaults to https://chat-tempmail.com if not provided.

Additional notes

  • The API key should be provided via the TEMPMAIL_API_KEY environment variable in your MCP client configuration.
  • TEMPMAIL_BASE_URL is optional and defaults to https://chat-tempmail.com if not specified.
  • When using npx, ensure you have network access to fetch the mcp-server-tempmail package on first run.
  • Restart your MCP client after updating configuration to ensure changes take effect.
  • If you encounter authentication errors, double-check the API key and that it has the required permissions for the ChatTempMail API.

Related MCP Servers

Sponsor this space

Reach thousands of developers