---
title: "Switching from v0 to Claude Code: trace the callback · Proxy Mail QA"
description: "Have Claude Code trace a v0 app’s sign-up from form to callback before it edits, then check that verification and reset links finish in the right place."
url: https://proxymail.qa/switching/v0-to-claude-code
---

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

# Switching from v0 to Claude Code: trace the callback

A working v0 preview can hide settings your local copy doesn’t have. Ask Claude Code to trace one sign-up from the form to the callback before it edits anything.

Updated 4 December 2026

We make Proxy Mail QA. We recommend it for test inboxes, real auth emails and a repeatable record of what the app did. It does not migrate your code, users or passwords, and it is not a security audit. The guidance below describes a handoff, not a migration we have personally tested.

## Keep export and deployment separate

v0 can export code, sync with GitHub and let you deploy elsewhere. Vercel does not claim ownership of generated code; that does not remove third-party rights. Claude Code can work on the exported repository, but exporting does not relocate hosted auth, identities, storage or environment settings.

Before asking for changes, run that revision with the framework and runtime it needs. Do not treat every export as static files. Keep the backend unchanged initially. A later host move requires its own checks of callback allowlists, sender configuration and environment variables.

Ask Claude Code to trace one complete path: form submission, provider request, email action and callback/session creation. Record missing settings by name, never paste secret values into instructions.

Supabase links or codes and Clerk verification/reset codes need different browser assertions. Discover which integration the repository actually uses. Supabase’s built-in sender only reaches your project’s team, so set up custom SMTP before testing. Clerk development and production identity stores are distinct; swapping tenants does not transfer users. For an intentional backend move, include synthetic existing-user fixtures. A fresh account passing sign-up is not migration proof.

See the [v0 guide](https://proxymail.qa/built-with/v0) and [shared switching checklist](https://proxymail.qa/solve/switching-ai-coding-tools-retest-sign-up).

## Give Claude Code the contract and the inbox

Use `CLAUDE.md` or `.claude/rules/*.md` for provider, verification restrictions, permitted hosts, token replacement policy and test commands. You can explicitly include shared root instructions with `@AGENTS.md` in `CLAUDE.md`. Check `/memory` and `/context all` for loaded files. Keep credentials out.

Connect the MCP server:

Terminal

```sh
claude mcp add --transport http proxymail-qa https://api.proxymail.qa/mcp

```

Use **/mcp → proxymail-qa → Authenticate**, then choose your test project. Authenticate an existing entry instead of adding another. Claude Code’s browser or simulator access is separate from this connection. If the selected environment cannot reach staging, have it write automation for a person or CI to execute; do not report an unrun test as passed.

OAuth cannot reveal previously saved passwords. Fresh accounts are simplest; a person can supply existing synthetic credentials when continuity needs testing.

## Test the route, not just the email

Work only on authorised local, development or staging apps, never production or real users. Record the revision and environment before the handoff and after the first reviewed auth-related change.

- Start both checks with the same `start_run` name. Pass that run’s `run_id` to every supported call. `create_address` with `password: true`, or `form_values`, creates an inbox and details, not an app user.
- Your browser/test runner fills and submits. Set `since` immediately **before each submission**, including reset and resend. Use `mark_submitted` if available and pass its timestamp to `wait_for_code` or `wait_for_link`.
- Sign up fresh; test unverified restrictions if required. Verify, reload or reopen the session, sign out and sign in. Check the approved provider action host and the final application route, not just the outer URL.
- If reset exists, check new password success, old password failure and used-reset rejection. In a separate case, leave A unused, request B, check A under the documented policy and prove B works. Use independent fixtures if consuming A could invalidate B.
- Run `check_email` for SPF, DKIM, DMARC, hosts and stated expiry. Wait to test server expiry or explicitly skip it. Use `count_emails` with `type`, `subtype` and/or `category` over a bounded window; separate welcome mail from verification.
- Add browser outcomes with `add_run_note`, using `failed: true` for failed browser assertions; record skips separately, then `finish_run`. An email verdict cannot establish that the callback created the right session.

## A prompt to copy

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

Prompt

```text
Read the v0 export and trace its auth callback without editing. Explain
which settings live outside Git and list unknowns. Preserve the provider.
Propose one regression test in our existing framework for review.
Run the supplied checklist before and after on [authorised staging URL],
using the same run name. Report app evidence, email evidence and skips.
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.
Never disable verification or reset the owner's password. If you cannot
operate the browser, write automation and mark execution pending.

```

## Limits

Proxy Mail QA never opens links or returns email bodies through MCP. Expiry wording does not establish enforcement; email checks guarantee neither all-inbox placement nor security. SMS, social login, passkeys, KYC and payments remain separate. Preserve editor-independent repository tests; store `PROXYMAIL_QA_API_KEY` in CI secrets. Remove app test users separately from their inboxes.

## Sources

Guidance checked 4 Dec 2026.

- [v0 FAQ](https://v0.app/docs/faqs)
- [Claude Code setup](https://proxymail.qa/built-with/claude-code)
- [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-claude-code)

## Related guides

- [v0 to Cursor](https://proxymail.qa/switching/v0-to-cursor): Keep the sign-in provider, start with one small diff and replay the emails.
- [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. Claude Code is a product of Anthropic. Proxy Mail QA is independent and isn’t affiliated with or endorsed by them.
