SandMail — Disposable Email API for AI Agents
SandMail MCP Server
Give AI agents their own disposable email inboxes with OTP extraction.
Works with Claude Code, Cursor, Windsurf, and any MCP-compatible AI tool.
Install
npm install -g sandmail-mcpRelated MCP server: useblip/email
Setup
Claude Code / Claude Desktop
Add to your MCP config (~/.claude/claude_desktop_config.json):
{
"mcpServers": {
"sandmail": {
"command": "sandmail-mcp",
"env": {
"SANDMAIL_API_KEY": "sk_live_your_key"
}
}
}
}Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"sandmail": {
"command": "sandmail-mcp",
"env": {
"SANDMAIL_API_KEY": "sk_live_your_key"
}
}
}
}Available Tools
Tool | Description |
| Create a disposable email inbox |
| Wait for an email and extract the OTP code |
| Extract OTP from the latest email |
| List all emails in an inbox |
| Wait for any new email to arrive |
| Delete an inbox |
| List all active inboxes |
| Check API usage |
Example Usage
Ask your AI agent:
"Create a temporary email, sign up for example.com, and get me the verification code"
The agent will:
Call
create_inbox→ getstest123@tempyx.comUse the email to sign up on the website
Call
wait_for_otp→ waits for the verification emailReturn the OTP code to you
Get API Key
Get your free API key at sandmail.dev
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/brobin002/sandmail-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server