npm mcp-server-tempmailstdioupdated 0y ago
An MCP (Model Context Protocol) server for temporary email management using the ChatTempMail API.
What can you do with mcp server tempmail?
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.
Install
Add mcp server tempmail to your client. Pick the one you use.
claude mcp add mcp-server-tempmail -- npx -y mcp-server-tempmailcodex mcp add mcp-server-tempmail -- npx -y mcp-server-tempmailamp mcp add mcp-server-tempmail -- npx -y mcp-server-tempmail{
"mcpServers": {
"mcp-server-tempmail": {
"command": "npx",
"args": [
"-y",
"mcp-server-tempmail"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp-server-tempmail": {
"command": "npx",
"args": [
"-y",
"mcp-server-tempmail"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp-server-tempmail","command":"npx","args":["-y","mcp-server-tempmail"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp-server-tempmail": {
"command": "npx",
"args": [
"-y",
"mcp-server-tempmail"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp-server-tempmail": {
"command": "npx",
"args": [
"-y",
"mcp-server-tempmail"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp-server-tempmail": {
"command": "npx",
"args": [
"-y",
"mcp-server-tempmail"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp-server-tempmail": {
"type": "local",
"command": "npx",
"args": [
"-y",
"mcp-server-tempmail"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp-server-tempmail": {
"command": {
"path": "npx",
"args": [
"-y",
"mcp-server-tempmail"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y mcp-server-tempmailRun `goose configure`, choose **Add Extension β Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance9/25
- Trust6/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 356 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint β no local install
Version history
| Versions | Published |
|---|---|
| 1.0.1Latest | Sep 9, 2025 |