Indie dev wires disposable inbox MCP server so Claude Code can auto-read OTPs in E2E tests
fishwalkerit · reddit · 2026-11-26
An indie developer solved the classic E2E testing blocker — "enter the 6-digit code we emailed you" — by building an MCP server backed by a disposable inbox API (MailBots.top, his own product), letting Claude Code and QA agents complete signup/password-reset flows autonomously.
Agent loop:
- createinbox → fresh disposable address
- Fill the signup form via Playwright/browser tool
- waitforemail / listmessages → parsed subject, body, OTP or magic link
- Complete verification and assert logged-in state — zero human intervention
Why MCP fits: no Gmail app passwords or OAuth tokens exposed to the agent; isolated addresses per run so parallel tests never collide on OTP emails; works with real transactional providers (Resend, Postmark, SES) and staging environments — unlike local Mailpit/Mailhog mocks, it tests real external email delivery.
More from coding & agent
- A toolkit of "de-AI-flavor" Claude Skills for writing, UI and logo design — oran_ge · 2026-11-26
- Together Link runs open models inside Claude Code, cutting session spend from $3.37 to $0.20 — zhyncs42 · 2026-11-26
- Open-source Karpo-Browser scores 89% on all 102 Browserbase v2 tasks at ~9.6¢ per task — aliscodes · 2026-11-26
- Mira picks up your T3 Code projects and sessions in two clicks — sven_ai · 2026-11-26
- Six open-source skills to scrub the AI flavor from writing, UI and logos — oran_ge · 2026-11-26
- Anthropic Researchers Use Internal Model to Solve D&D 3.5E Character Optimization — NathanpmYoung · 2026-11-26