io.github.Selenium39/mcp-server-tempmail
MCP server for temporary email management using ChatTempMail API
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
mcp-server-tempmailclaude 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
{
"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>"
}
}
}
}
Environment variables
TEMPMAIL_API_KEYrequired secret API key for ChatTempMail serviceTEMPMAIL_BASE_URLBase URL for ChatTempMail API (optional, defaults to https://chat-tempmail.com)
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Contents
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
- 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.com TEMPMAIL_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 publicly - Base 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 data - Make sure to set the environment variables correctly in your MCP client configuration
License
MIT
Contributing
Issues and Pull Requests are welcome.
Frequently asked questions
What is io.github.Selenium39/mcp-server-tempmail?
MCP server for temporary email management using ChatTempMail API
How do I install io.github.Selenium39/mcp-server-tempmail?
It runs on your machine. In 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. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.Selenium39/mcp-server-tempmail need an API key?
Yes. It expects TEMPMAIL_API_KEY, which you set in its configuration.
Is io.github.Selenium39/mcp-server-tempmail open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains io.github.Selenium39/mcp-server-tempmail?
It is published by Selenium39. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.