Skip to main content
Glama
@1tempmail/mcp-server

@1tempmail/mcp-server

by haskx

@1tempmail/mcp-server

MCP Server for 1TempMail — Generate temporary emails, check inboxes, and read messages via AI assistants.

Install

npm install -g @1tempmail/mcp-server

Or use directly with npx (no install needed):

npx -y @1tempmail/mcp-server

Related MCP server: Mail.tm MCP Server

Get Your API Key

  1. Visit https://www.1tempmail.com/api/

  2. Sign in with Google

  3. Click "Generate API Key"

  4. Copy your API key

Configuration

Set the 1TEMPMAIL_API_KEY environment variable:

export 1TEMPMAIL_API_KEY="your_api_key_here"

Usage with AI Tools

Claude Code

Add to ~/.claude/settings.json or your project's .claude/settings.json:

{
  "mcpServers": {
    "1tempmail": {
      "command": "npx",
      "args": ["-y", "@1tempmail/mcp-server"],
      "env": {
        "1TEMPMAIL_API_KEY": "your_api_key_here"
      }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json or your project's .cursor/mcp.json:

{
  "mcpServers": {
    "1tempmail": {
      "command": "npx",
      "args": ["-y", "@1tempmail/mcp-server"],
      "env": {
        "1TEMPMAIL_API_KEY": "your_api_key_here"
      }
    }
  }
}

Other MCP-Compatible Tools (Windsurf, Cline, etc.)

Add the same server config to your tool's MCP settings file.

Tools

Tool

Description

generate_email

Generate a new temporary email address (active for 60 minutes)

check_inbox

Retrieve all messages in the inbox for a given session token

get_message

Retrieve the full content of a specific message

Environment Variables

Variable

Required

Default

Description

1TEMPMAIL_API_KEY

Yes

—

Your 1TempMail API key

1TEMPMAIL_API_BASE

No

https://www.1tempmail.com

API base URL

License

MIT

Available Tools

3 tools
check_inboxA

Retrieve all messages currently in the inbox for a given temporary email address.

Inputs: sid_token (required).

generate_emailA

Generate a new temporary email address. The email remains active for 60 minutes and can receive messages during that time.

Inputs: no named parameters.

get_messageA

Retrieve the full content of a specific message, including the HTML body and attachments metadata.

Inputs: sid_token (required), message_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clear, distinct purpose: generate_email creates addresses, check_inbox lists messages, get_message retrieves details. No overlapping functionality.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern (generate_email, check_inbox, get_message), making them predictable and easy to understand.

    Tool Count5/5

    Three tools are appropriate for a temporary email service, covering the essential operations (create, list, read) without unnecessary bloat.

    Completeness4/5

    The set covers core create and read operations but lacks a delete or refresh tool, which could be useful but is not critical given auto-expiry.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to manage temporary email addresses via the mail.tm API, including creating disposable inboxes, reading messages, and managing accounts.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to create temporary email addresses, receive confirmation emails, and extract verification links, automating sign-up and email verification workflows without manual intervention.
      6
      27 npm
      64
      MIT