Why autonomous AI agents need disposable MCP mailboxes
Modern coding and browser-automation agents hit a wall the moment a web app asks for an email confirmation code. Handing an autonomous model read/write OAuth access to your personal Gmail or corporate Outlook creates massive prompt-injection and data-exfiltration risk. A receive-only Model Context Protocol (MCP) disposable inbox solves that cleanly: each task gets an isolated, short-lived mailbox that can never see your personal mail or send outbound spam.
All 6 tools exposed on Tempboxy /mcp
| MCP Tool | Quota | What Your AI Agent Can Do |
|---|---|---|
| list_domains | 0 calls | Discover active standard (.com) and academic (.edu.pl) domains. |
| create_inbox | 1 call | Provision a private inbox with custom alias and 10m–7d or never TTL. |
| get_verification_code | 1 call | Extract the newest 4–8 digit OTP code and magic verification link directly. |
| get_messages | 1 call | Fetch normalized plain text, attachments, OTPs, and tracker/phishing risk scores. |
| restore_inbox | 1 call | Reopen a previously created mailbox using its signed tbx_v1 token. |
| delete_inbox | 0 calls | Burn the temporary address cleanly once your test or flow completes. |
Set up in 60 seconds (Claude, Cursor, ChatGPT & Gemini)
- Sign in with Google at /signup to claim your free personal Bearer token (100 free calls/day, resetting at 00:00 UTC).
- Open /mcp-server and copy the exact one-paste JSON or CLI snippet for Claude Code, Claude Desktop, ChatGPT Connectors, Gemini CLI, Cursor, VS Code, Meta Muse, xAI Grok Bot, or OpenAI Dots.
- Ask your agent: "Create a temporary .com email, sign up for our staging app, fetch the verification code, confirm the account, and burn the inbox."
Real workflows: end-to-end signup QA & OTP verification
Instead of writing brittle IMAP polling scripts, combine Playwright MCP or browser automation with Tempboxy MCP. Because get_verification_code runs Tempboxy’s dedicated regex + keyword scorer server-side, your LLM does not burn thousands of context tokens parsing raw marketing HTML tables — it receives clean JSON containing the exact code and verification_link.
Security: why receive-only beats personal Gmail OAuth
Every Tempboxy MCP inbox is strictly receive-only, isolated behind a signed HMAC capability token, and stripped of tracking pixels. Prefer plain REST without MCP? Use our zero-key Free Temp Mail REST API (/api/v1) directly from Playwright, Cypress, or Python.