io.github.Selenium39/mcp-server-tempmail

السجل الرسمي الإنتاجية

MCP server for temporary email management using ChatTempMail API

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package mcp-server-tempmail
Claude Code
claude mcp add mcp-server-tempmail -e 'TEMPMAIL_API_KEY=<your tempmail_api_key>' -e 'TEMPMAIL_BASE_URL=<TEMPMAIL_BASE_URL>' -- npx -y mcp-server-tempmail@1.0.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "mcp-server-tempmail": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-server-tempmail@1.0.1"
            ],
            "env": {
                "TEMPMAIL_API_KEY": "<your tempmail_api_key>",
                "TEMPMAIL_BASE_URL": "<TEMPMAIL_BASE_URL>"
            }
        }
    }
}

متغيرات البيئة

  • TEMPMAIL_API_KEY إلزامي سري API key for ChatTempMail service
  • TEMPMAIL_BASE_URL Base URL for ChatTempMail API (optional, defaults to https://chat-tempmail.com)

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. MCP Server - Temporary Email
  2. Features
  3. Installation and Usage
  4. MCP Tools Documentation
  5. Usage Examples
  6. Notes
  7. License
  8. Contributing

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.

الأسئلة الشائعة

ما هو io.github.Selenium39/mcp-server-tempmail؟

MCP server for temporary email management using ChatTempMail API

كيف أثبّت io.github.Selenium39/mcp-server-tempmail؟

يعمل على جهازك. في Claude Code: claude mcp add mcp-server-tempmail -e 'TEMPMAIL_API_KEY=<your tempmail_api_key>' -e 'TEMPMAIL_BASE_URL=<TEMPMAIL_BASE_URL>' -- npx -y mcp-server-tempmail@1.0.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.Selenium39/mcp-server-tempmail إلى مفتاح API؟

نعم. يتطلب TEMPMAIL_API_KEY، وتضبطها في إعداداته.

هل io.github.Selenium39/mcp-server-tempmail مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون io.github.Selenium39/mcp-server-tempmail؟

ينشره Selenium39. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.