---
title: "Switching from v0 to Cursor: keep auth steady · Proxy Mail QA"
description: "Open a v0 export in Cursor and keep Supabase or Clerk as it is. Start with one small diff, then replay sign-up, verification and password reset."
url: https://proxymail.qa/switching/v0-to-cursor
---

1. [Home](https://proxymail.qa/)
2. [Switching tools](https://proxymail.qa/switching)

# Switching from v0 to Cursor: keep auth steady

Opening a v0 export in Cursor gives you source you can edit; hosted sign-in, users, storage and settings don’t move with it. Keep them steady while you change editors.

Updated 4 December 2026

We make Proxy Mail QA. Our recommendation is narrow: use it for fresh test inboxes, real verification and reset emails, and before-and-after evidence. It is not a migration engine, does not transfer users or passwords, and is not a security audit. This is a documented handoff plan, not a migration we have tested.

## Export the app, not an assumed backend

v0 supports code export, GitHub sync and deployment elsewhere. Vercel does not claim ownership of generated code, but third-party rights still matter.

Start by running the exported revision with its compatible framework, runtime and environment. Do not assume it is a static site. Keep the existing backend first. If hosting changes later, check callback allowlists, sender settings and environment variables independently of the editor switch.

Identify the actual auth integration. A Supabase project may use verification links or codes; a Clerk project may use verification and reset codes. Supabase’s built-in sender only reaches your project’s team, so set up custom SMTP before testing. Clerk development and production stores are distinct. Replacing a development tenant with production keys is not evidence that users migrated. If you deliberately move the backend, test synthetic existing-user fixtures separately: fresh registration cannot prove account continuity.

The [v0 auth guide](https://proxymail.qa/built-with/v0) covers the source-side checks. Use the [switching hub](https://proxymail.qa/solve/switching-ai-coding-tools-retest-sign-up) to separate code, hosting and provider changes.

## Make Cursor’s first diff small

Ask Cursor to trace the exported form, auth client and callback handler before editing. A useful first task is preserving the existing verification redirect in a regression test, not redesigning login alongside the interface.

Cursor was renamed Grok Build on 30 November 2026\. We use the old name here; its project files still live in `.cursor`.

Record the auth contract in root `AGENTS.md`: provider, environment-variable names, verification gate, approved action and return hosts, token policy and test commands. Never put secret values there. Scoped Cursor rules use `.cursor/rules/*.mdc`; plain `.md` files there are ignored. Check that the intended rules loaded.

Merge this entry into `~/.cursor/mcp.json`, preserving existing servers:

JSON

```json
{"mcpServers":{"proxymail-qa":{"url":"https://api.proxymail.qa/mcp"}}}

```

Authenticate under **Customize** in the sidebar (in older versions, Cursor’s MCP settings) and choose your test project. Reuse an existing entry rather than duplicate it. Cursor needs its own browser tools; otherwise have it write tests for your runner. The mail connection supplies no browser. OAuth cannot read old saved passwords, so use fresh accounts or a person with the credentials.

## Baseline, then replay after the handoff

Use authorised local, development or staging only, never production or real users. Record revision, host and provider environment in both runs.

1. Call `start_run` with the same name before and after, carrying each run’s `run_id` through every supported call. `create_address` with `password: true`, or `form_values`, supplies an inbox and form details, not an app account or submission.
2. Fill the actual form with your browser or test runner. Capture `since` immediately **before every submit**, including resends and resets. Use `mark_submitted` when available, then its timestamp in `wait_for_code` or `wait_for_link`.
3. Check the unverified gate if required. Complete verification, reload or reopen the session, then sign out and sign in. Allow legitimate provider action hosts and confirm the final app destination.
4. If password reset is supported, prove the new password works, the old fails and a used reset fails in a clean session. Separately leave A unused, request B, test A against policy and prove B works. Use separate fixtures if consuming A could affect B.
5. Use `check_email` for SPF, DKIM, DMARC, hosts and expiry wording. Test actual expiry by waiting, or mark it skipped. Count duplicate verification with `count_emails`, filtering `type`, `subtype` and/or `category` within a bounded window; welcome mail is not another verification.
6. Record app observations with `add_run_note`, using `failed: true` for failed browser assertions; record skips separately, then end with `finish_run`. Separate baseline failures from regressions.

## Copy this prompt

Copy the checklist and prompt together, and replace `[authorised staging URL]` with your authorised staging URL.

Prompt

```text
Trace the v0 export's current auth contract before editing. Keep its
provider and runtime. Propose one reviewed Cursor diff, not an auth rewrite.
Run the supplied checklist before and after on [authorised staging URL].
If the checklist is missing, request it before running.
Record failed browser assertions with add_run_note using failed: true;
record skips separately before finish_run.
Use fresh accounts and the same run name. Report browser evidence,
email checks and skips separately. Never disable verification or reset
the owner's password. If browser access is unavailable, write the test
and state that it has not run.

```

## Limits and upkeep

MCP returns no email body; Proxy Mail QA never opens links. Email checks prove neither server-enforced expiry, all-inbox placement nor security. SMS, social login, passkeys, KYC and payments need separate coverage. Keep repository tests editor-independent, with `PROXYMAIL_QA_API_KEY` in CI secrets. Delete app test users separately from inboxes.

## Sources

Guidance checked 4 Dec 2026.

- [v0 export FAQ](https://v0.app/docs/faqs)
- [Cursor setup](https://proxymail.qa/built-with/cursor)
- [MCP](https://proxymail.qa/docs/mcp) and [flow checks](https://proxymail.qa/docs/flow-checks)

## Try it on your next sign-up test

Free plan, no credit card. Create an address and watch the code or link arrive.

[Create a free account](https://app.proxymail.qa/?mode=signup&from=site-switching-v0-to-cursor)

## Related guides

- [v0 to Claude Code](https://proxymail.qa/switching/v0-to-claude-code): Trace one sign-up from form to callback before Claude Code changes a v0 export.
- [v0 to Codex](https://proxymail.qa/switching/v0-to-codex): Spell out how a v0 export runs, and where, before Codex tests its sign-up.
- [v0 to Qoder](https://proxymail.qa/switching/v0-to-qoder): Have Qoder map a v0 export’s sign-in and missing settings before it edits.
- [v0 to Antigravity](https://proxymail.qa/switching/v0-to-antigravity): Keep Supabase or Clerk when a v0 app moves to Antigravity, then recheck its emails.

[See every email testing problem we solve](https://proxymail.qa/solve)

v0 and Vercel are trademarks of Vercel, Inc. Supabase is a trademark of Supabase, Inc. Clerk is a trademark of Clerk, Inc. Cursor is a product of Anysphere. Proxy Mail QA is independent and isn’t affiliated with or endorsed by them.
