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 分

    请在仓库或注册中心条目中声明许可证。