Mcp Server Tempmail

io.github.Selenium39由 GitHub 帳號 Selenium39 發布v1.0.1更新於 Oct 27, 2026

MCP server for temporary email management using ChatTempMail API

已驗證STDIO僅桌面開發者工具溝通與協作

概覽

AI 產生的概覽

透過 ChatTempMail API 讓助理建立與管理臨時電子郵件地址並讀取其中信件的 MCP 伺服器。

可以做什麼
  • 查詢可用網域,建立、列出與刪除具指定有效期限的臨時電子郵件地址
  • 讀取某個信箱中的信件、查看信件詳細內容並刪除信件
  • 取得與設定帳戶的 Webhook 設定(網址與啟用狀態)
適用情境
適合需要一次性信箱接收註冊確認信、驗證碼或測試流程的情境,讓助理自行建立地址並讀取來信,而不必動用個人信箱。
執行需求
以 stdio 方式在本機執行,通常透過 npx 從 npm 套件啟動。需要 ChatTempMail 帳戶,並在 TEMPMAIL_API_KEY 環境變數中提供 API 金鑰;TEMPMAIL_BASE_URL 為選用,預設指向官方服務。需要能連線至 ChatTempMail API 的網路。
安裝前請注意
TEMPMAIL_API_KEY 中的 API 金鑰可存取你的帳戶,應妥善保管。助理可以刪除信箱地址與信件、變更 Webhook 設定,這些操作具破壞性或會對外生效。信件內容與 Webhook 網址會傳送給第三方 ChatTempMail 服務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Server Tempmail,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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:

json
{  "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:

json
{  "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.

來源:README.md,提交 dea629f

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。