Playwright MCP plus an email inbox: a full signup test run by an agent

· 6 min read · QuickInbox team

  • Playwright
  • MCP
  • AI agents

The Playwright MCP server gives an AI agent a browser. An email MCP server gives it an inbox. Together they cover a full signup test, which neither can do alone.

Why you need both

With only a browser, the agent fills your form and then stops at "We sent you a code". With only an inbox, it has nothing to sign up with. Connect both and the agent moves between them like a person would: form, inbox, back to the form.

Step 1: add both servers

For Claude Code:

claude mcp add playwright npx @playwright/mcp@latest
claude mcp add --transport http quickinbox https://quickinbox.net/mcp \
  --header "Authorization: Bearer qk_live_your_key_here"

In Cursor or VS Code, add both entries to the same mcp.json. Use the QuickInbox block from the MCP server page and the Playwright block from the Playwright MCP docs.

Step 2: run the test

Using the browser and a new QuickInbox address, test our signup:
- open http://localhost:3000/signup and register with the new address
- get the verification code with quickinbox_get_verification
- enter it and confirm the dashboard loads
Take a screenshot of each step and list anything that looked wrong.

What happens:

  1. The agent creates an address with quickinbox_generate_test_address.
  2. It uses the browser tools to open the page, type and click.
  3. It reads the code with quickinbox_get_verification, typing it into the page.
  4. It checks the result in the browser and reports back with screenshots.

Ideas for more runs

  • Password reset: "Request a reset for the user you just made, follow the link and set a new password."
  • Invites: "Invite a new QuickInbox address to my team and accept the invite in a fresh browser."
  • Email content: "After signup, read the welcome email and check every link returns a page, not a 404."

From agent run to CI

Agent runs are great while you build. For every pull request you still want a normal test. Ask the agent to write it as a Playwright spec using the inbox API, as in email verification in Playwright.

Related guides

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.

← All articles