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:

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.

Original post →

More from coding & agent

coding & agent channel →