Our recommendation, up front. We make Proxy Mail QA. We recommend it narrowly for fresh test accounts, real verification and reset mail, and evidence of what happened. It is not a migration tool or a security audit.
Here, manual coding means writing code without AI assistance. You may already use an IDE, including Cursor without AI. The change is who proposes the next diff.
Cursor was renamed Grok Build on 30 November 2026. We use the old name here; its project files still live in .cursor.
Keep your framework, auth provider and tests. Ask Cursor to explain current behaviour, then propose one small, reviewed change—not “rebuild authentication”.
Turn what you remember into instructions
You may know that unverified users cannot enter the workspace, that staging has a separate sender, and that password resets return to one approved route. The agent may see none of that from the sign-up component alone.
Put that contract and your test commands in root AGENTS.md, without secrets. Cursor also reads nested AGENTS.md. If you need scoped rules, use .cursor/rules/*.mdc with frontmatter such as alwaysApply, description and globs. Plain .md files in that directory are ignored. Start with a short readable contract rather than an elaborate rules system.
Check the working directory, runtime and environment. Review the diff yourself. A validation change can bypass submission or submit twice; mocked email tests cannot show whether mail arrives.
Before switching to AI-assisted edits, record a real sign-up and reset baseline on authorised development or staging. After the first auth-relevant edit, repeat with fresh details in a clean browser session. Your developer login can conceal broken verification and first-session behaviour.
Give Cursor an inbox, not unrestricted access
Merge the following entry into ~/.cursor/mcp.json, preserving any existing configuration:
{"mcpServers":{"proxymail-qa":{"url":"https://api.proxymail.qa/mcp"}}}
Sign in to it under Customize in the sidebar (in older versions, the MCP section of Cursor Settings) and choose the same Proxy Mail QA project used for the baseline. If the server entry already exists from an import, sign in rather than duplicate it. Proxy Mail QA for VS Code, the optional Open VSX sidebar, is separate from MCP.
OAuth cannot reveal existing saved passwords. Use new test accounts rather than your own login. The MCP server provides inboxes and form details, not browser automation or permission to test someone else’s app. The agent needs its own browser tools; otherwise a person performs the form and link steps.
A small-change checklist
- Preserve the current framework and tests; review one bounded diff.
- Sign up fresh and check unverified access where verification is required.
- Verify the account, reload its session, then sign out and back in.
- Reset its password. Confirm the new password works, the old one fails, and the consumed reset link is refused on reuse.
- In a separate flow, leave token A unused, request B, test A against the agreed replacement policy and confirm B completes the intended action. If A may remain valid and consuming it would invalidate B, prove B with an equivalent independent fixture. Never resend after completed verification to test replacement.
- Test invitations if present; mark long-expiry checks skipped unless actually exercised.
A prompt you can review before running
Copy the preceding checklist together with this prompt and supply the authorised staging target.
Use the supplied checklist; ask for it if missing.
Explain our auth contract; propose one small change for [task]. Keep our
framework and tests; wait for my review before editing.
Baseline [authorised staging URL] before switching. After the first
auth-relevant edit, repeat in a clean browser. Check fresh signup,
required verification gating, verification/reload/sign-in, and reset
(new password works, old fails, used link refused).
In a separate flow, leave token A unused, request B, test A against the
agreed replacement policy and confirm B completes the intended action.
If A may remain valid and consuming it would invalidate B, prove B with
an equivalent independent fixture. Never resend after completed
verification to test replacement. Test invites if present;
mark untested expiry skipped.
Start each run as auth-handoff with start_run; pass its run_id to every
supported call.
Use create_address password:true or form_values for fresh form details.
Fill and submit with your own browser. Capture since immediately BEFORE
each submit with mark_submitted if exposed; refresh it for every resend.
Use wait_for_code or wait_for_link with since. Record app outcomes using
add_run_note; set failed:true for failed browser assertions and list
skipped checks separately. finish_run reports recorded evidence, not
automatic browser observations; compare prior same-name runs.
Never disable verification to pass a check.
Proxy Mail QA never opens links or returns email text through MCP. The browser must establish that a returned code or link works, not merely that mail arrived.
What the report does and does not establish
Use start_run for each run and pass its run_id to every supported call. Record browser outcomes with add_run_note, setting failed: true for failed browser assertions; list skipped checks separately. finish_run reports recorded evidence, not automatic browser observations.
check_email checks SPF, DKIM, DMARC, link host (expect_host), insecure or localhost links and expiry text. Provider action links may use another legitimate host: approve that host and check the final app destination too. Email expiry wording does not prove server enforcement; these results do not prove Gmail delivery or security.
Scope count_emails to the message type and observation window, not welcome and verification mail together. check_delivery observes receipt, not provider logs; sandbox restrictions may explain missing mail.
Stay on authorised development or staging, never production or real users. Never reset the owner’s password. These checks exclude SMS, social login, KYC, payments and a full penetration test.
Keep CI tests editor-independent, and keep PROXYMAIL_QA_API_KEY secret. Delete exact app test users separately from inboxes. Revoke retired connections under Project settings → API keys only when no longer needed.
Read the general switching checklist for the before-and-after checks to keep with your project.
Sources
Reviewed 4 Dec 2026. Cursor’s documentation is now published as Grok Build’s.