Claude Code: test signup email verification with an MCP server
Claude Code can run your app and drive a browser, but it can't open your inbox. Add an email MCP server and it can finish a signup test, including the verification email, without you.
What you need
- Claude Code installed in your terminal or the VS Code extension.
- A free QuickInbox account and an API key from the API Keys page.
- Optional but useful: a browser tool for Claude Code, such as the Playwright MCP server, so it can fill in forms. See Playwright MCP plus an email inbox.
Step 1: add the server
Run this in your terminal, with your own key:
claude mcp add --transport http quickinbox https://quickinbox.net/mcp \
--header "Authorization: Bearer qk_live_your_key_here"Add --scope user if you want it in every project. Open a new session and type /mcp: quickinbox should show as connected. There is no "Authenticate" button, because the API key already identifies you.
Step 2: check the connection
Ask: "Which QuickInbox account are you connected to?" Claude calls quickinbox_whoami and answers with your account's email address. If it says the key is invalid, check that the header starts with Bearer qk_live_.
Step 3: give it the whole task
Start the dev server, then sign up on http://localhost:3000/signup with a new
QuickInbox address. Read the verification code from the email, enter it, and
tell me if the account ends up verified. If anything fails, show me the email.A typical run:
- Claude calls
quickinbox_generate_test_addressand gets an address likeacme7x.signup-3fa1@quickinbox.net. - It fills in your form and submits it.
- It calls
quickinbox_get_verificationwith the same tag. When the email has arrived, the tool returns the code or the link. - It enters the code, checks the result and reports back.
Prompts that work well
- "Use a new address for every test so old emails can't confuse you."
- "If no email arrives within a minute, read the latest emails and tell me what you see."
- "After the signup, also test 'Forgot password' with the same address and follow the reset link."
Troubleshooting
- The tools don't show up. Start a new session after adding the server; tools load when a session starts.
- No email arrives. Your app may still be using a fake mailer in development. It must really send mail for the inbox to receive it.
- Wrong namespace. If you have several, tell Claude which one to use, or give it a key scoped to one namespace.
Related guides
- Cursor: let your AI agent read verification codes
- OpenAI Codex: read test emails with an MCP server
- VS Code Copilot agent mode: add an email MCP server
- Test magic link login with an AI agent
- MCP server overview
Try it: the QuickInbox MCP server is included on every plan, including the free plan with 5,000 emails a month. Create a free account, make an API key and connect your agent in two minutes.