MCP Server - Temporary Email
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server - Temporary Email Create a temporary email for 1 hour."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: Mail.tm MCP Server
Installation and Usage
1. Get API Key
Visit chat-tempmail.com
Register an account and login
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-herewith your actual API key from chat-tempmail.comTEMPMAIL_BASE_URLis optional and defaults tohttps://chat-tempmail.comif 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 namedomain(required): Email domainexpiryTime(required): Expiry time in milliseconds, options:3600000- 1 hour86400000- 1 day259200000- 3 days0- 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 IDcursor(optional): Pagination cursor
get_message_detail
Get detailed content of the specified message.
Parameters:
emailId(required): Email IDmessageId(required): Message ID
delete_message
Delete the specified message.
Parameters:
emailId(required): Email IDmessageId(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 addressenabled(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_KEYenvironment variable, please keep it secure and do not expose it publiclyBase URL can be customized through the
TEMPMAIL_BASE_URLenvironment variable (defaults tohttps://chat-tempmail.com)Temporary emails will automatically expire according to the set expiry time
Use
nextCursorfor paginated queries to get more dataMake sure to set the environment variables correctly in your MCP client configuration
License
MIT
Contributing
Issues and Pull Requests are welcome.
Available Tools
9 toolscreate_emailB
创建新的临时邮箱地址
Inputs: name (required), domain (required), expiryTime (required).
delete_emailC
删除指定的邮箱地址
Inputs: emailId (required).
delete_messageC
删除指定的消息
Inputs: emailId (required), messageId (required).
get_email_domainsA
获取系统中所有可用的邮箱域名
Inputs: no named parameters.
get_message_detailC
获取指定消息的详细内容
Inputs: emailId (required), messageId (required).
get_messagesC
获取指定邮箱中的所有消息
Inputs: emailId (required), cursor.
get_webhook_configA
获取当前的webhook配置信息
Inputs: no named parameters.
list_emailsB
获取账户下的所有邮箱地址
Inputs: cursor.
set_webhook_configB
设置或更新webhook配置
Inputs: url (required), enabled (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct action and resource: email creation/deletion, message operations, domain listing, and webhook configuration. There is no ambiguity between tools.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., create_email, get_messages), making the set predictable and easy to navigate.
With 9 tools, the server covers the essential operations for temporary email management without being bloated or underdeveloped.
The tool set covers the full lifecycle of temporary email: create, list, delete emails; read and delete messages; list domains; and configure webhooks. No obvious gaps for the domain.
Related MCP Connectors
Disposable inboxes for AI agents: create, wait for delivery, and extract email content or links.
Send email, manage domains, templates, webhooks and broadcasts from your AI agent.
Send email, manage domains, templates, webhooks and broadcasts from your AI agent.
Send and read email, and set up domains, mailboxes, pacing and webhooks on AI Inbx.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables creating temporary email inboxes and sending emails through the AgentMail API, allowing AI agents to manage email communications programmatically.1ISC
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage temporary email addresses via the mail.tm API, including creating disposable inboxes, reading messages, and managing accounts.MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to generate temporary email addresses, check inboxes, and read messages using the 1TempMail API.313 npmMIT
- AlicenseAqualityDmaintenanceProvides temporary email services for AI agents, enabling closed-loop verification of email-based registration flows with multi-provider support, auto-registration, and verification code extraction.1022 npmMIT