Connects Claude to the ChatTempMail API for managing disposable email addresses. You get tools to create temporary inboxes with configurable expiry times (1 hour to permanent), retrieve messages, view full message content including HTML and attachments, and clean up when done. Useful when you need to automate workflows that require throwaway emails for testing signups, receiving verification codes, or isolating communication channels. Also exposes webhook configuration if you want push notifications for incoming mail. Requires an API key from chat-tempmail.com, which you pass through environment variables in your MCP client config.
An MCP (Model Context Protocol) server for temporary email management using the ChatTempMail API.
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:
your-api-key-here with your actual API key from chat-tempmail.comTEMPMAIL_BASE_URL is optional and defaults to https://chat-tempmail.com if not specifiedRestart your MCP client application after configuration.
get_email_domainsGet all available email domains in the system.
Parameters: None
create_emailCreate 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 - permanentlist_emailsGet all email addresses under your account.
Parameters:
cursor (optional): Pagination cursordelete_emailDelete the specified email address.
Parameters:
emailId (required): Email IDget_messagesGet all messages in the specified email address.
Parameters:
emailId (required): Email IDcursor (optional): Pagination cursorget_message_detailGet detailed content of the specified message.
Parameters:
emailId (required): Email IDmessageId (required): Message IDdelete_messageDelete the specified message.
Parameters:
emailId (required): Email IDmessageId (required): Message IDget_webhook_configGet current webhook configuration information.
Parameters: None
set_webhook_configSet or update webhook configuration.
Parameters:
url (required): Webhook URL addressenabled (required): Whether to enable webhookPlease get all available email domains.
Please create an email named "test" using domain "chat-tempmail.com" with 1 hour validity.
Please view all messages in email ID "c2c4f894-c672-4d5b-a918-abca95aff1f7".
Please view the detailed content of message ID "fd13a8df-1465-4fbc-a612-ca7311c31ff2" in email ID "c2c4f894-c672-4d5b-a918-abca95aff1f7".
TEMPMAIL_API_KEY environment variable, please keep it secure and do not expose it publiclyTEMPMAIL_BASE_URL environment variable (defaults to https://chat-tempmail.com)nextCursor for paginated queries to get more dataMIT
Issues and Pull Requests are welcome.
TEMPMAIL_API_KEY*secretAPI key for ChatTempMail service
TEMPMAIL_BASE_URLBase URL for ChatTempMail API (optional, defaults to https://chat-tempmail.com)
io.github.mindstone/mcp-server-microsoft-teams
com.mintmcp/outlook-email
helbertparanhos/resend-email-mcp
marlinjai/email-mcp
io.github.mindstone/mcp-server-email-imap
io.github.osamahassouna/email-playbook-mcp