---
title: "From WeWeb to Claude Code: carry the auth contract · Proxy Mail QA"
description: "Before Claude Code edits a WeWeb export, find out which service creates users, sends verification emails and controls access. Then retest each flow."
url: https://proxymail.qa/switching/weweb-to-claude-code
---

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

# From WeWeb to Claude Code: carry the auth contract

A WeWeb workflow can hide a decision that matters outside the builder: which service creates the user, which sends verification and which enforces access.

Updated 4 December 2026

We make Proxy Mail QA. We recommend it for fresh test inboxes, real authentication emails and evidence of completed checks. It does not migrate your code, transfer passwords or provide a security audit.

Claude Code needs to know which service does each job, not just where the exported folder is. Start with the [shared switching checklist](https://proxymail.qa/solve/switching-ai-coding-tools-retest-sign-up) and a recorded baseline.

## Establish the handoff you actually have

Identify the WeWeb generation and actual authentication provider before giving instructions. The [WeWeb guide](https://proxymail.qa/built-with/weweb) covers provider-dependent email flows, such as Supabase, Xano or Auth0; it is not proof of your project’s architecture.

Current full-stack exports contain interface and server source and builds. You can self-host the exported backend with WeWeb Auth and your own PostgreSQL. Export needs an Essential workspace plan or higher, and continuing exports require an active plan. Older projects are different: legacy microservice-backed plugins, including legacy WeWeb Auth, do not transfer like that newer backend.

Table structures export; records and uploaded files do not. Account separately for secrets, email-service settings and AI keys. Password continuity remains unverified. If you replace the backend, synthetic existing-user fixtures must exercise identity mapping, roles and related data. A new user confirming an email proves none of that continuity.

WeWeb calls external editing “not easy or recommended” because exports have a machine-generated structure. Claude Code can inspect files, but that does not make wholesale refactoring safe. Self-hosting and maintainability are different questions. Review one narrow change, preserve the original export and assume another export may overwrite local edits. WeWeb can’t import exported code back.

## Set up Claude Code around those constraints

Record the agreed contract in `CLAUDE.md`; explicitly include shared root instructions with `@AGENTS.md` where appropriate. `CLAUDE.md` can take precedence; check loaded memory because root `AGENTS.md` support varies by version. Preserve existing instructions and identify conflicts before editing.

Connect the inbox service:

Terminal

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

```

Use **/mcp → proxymail-qa → Authenticate**, sign in and select the baseline’s project. Authenticate an existing entry instead of duplicating it.

Claude Code needs its own browser access; MCP supplies no browser. If the selected mode cannot operate staging, have it write Playwright tests for a person or CI. Report those as unexecuted until someone runs them.

## Acceptance checklist

Use only authorised local/staging environments. Record the source and destination revisions, hosts and policy expectations, then repeat with fresh accounts and clean sessions.

- Start `start_run` with a stable name; pass `run_id` through all supported calls. `create_address` needs `password: true` only when the form needs a password. `form_values` supplies field values, not an app account. Submit with your own browser.
- Capture `since` before each submission, including resend and reset. Use `mark_submitted` if available and feed its timestamp to `wait_for_code` or `wait_for_link`.
- Test fresh sign-up, required unverified restrictions and verification. Reload the session, sign out and sign in again. Approve the actual provider action host and inspect the final app destination.
- If supported, reset the test password: new works, old fails, consumed link is refused. Separately obtain unused A, then B; test A against replacement policy and prove B works. If permitted A consumption affects B, use an independent equivalent fixture for B. Wait for expiry or explicitly skip enforcement.
- Run `check_email` for SPF, DKIM, DMARC, links and expiry wording. Use `count_emails` filters `type`, `subtype` and/or `category` over a bounded window; welcome mail is not duplicate verification.
- Write browser assertions with `add_run_note`, setting `failed: true` when they fail. Explain skips and compare runs with the `finish_run` report.

## A prompt to copy

Copy the checklist together with this prompt and replace the bracketed target.

Prompt

```text
Read this WeWeb export without editing. Identify its generation, auth owner,
external dependencies and unknowns. Confirm which instructions Claude Code
loaded. Propose one small change for review. Use the supplied checklist;
ask for it if missing. Replay it on [authorised staging URL], passing run_id
to every supported call. Use add_run_note with failed:true for failed
browser assertions; record skips separately. If staging is unreachable,
write tests and state that they are unexecuted. Never disable verification
or reset the owner's password.

```

## Boundaries

OAuth cannot retrieve old saved passwords. MCP exposes no email bodies and never prefetches links. Email wording is not server-enforced expiry; delivery is not all-inbox placement or security evidence. Never use production or real data, disable verification or reset the owner’s password. SMS, social login, KYC, payments and penetration testing are separate. Keep editor-independent CI tests, store `PROXYMAIL_QA_API_KEY` as a secret and remove app test users separately from inboxes.

## Sources

Documentation reviewed 4 Dec 2026; this is guidance, not a tested migration.

- [WeWeb export](https://docs.weweb.io/settings-billing-code-export/hosting-and-code-export.html) and [legacy projects](https://docs.weweb.io/legacy/self-hosting-legacy-projects.html)
- [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-weweb-to-claude-code)

## Related guides

- [WeWeb to Cursor](https://proxymail.qa/switching/weweb-to-cursor): See what WeWeb exports, start Cursor on one small change and retest the sign-in emails.
- [WeWeb to Codex](https://proxymail.qa/switching/weweb-to-codex): Get the WeWeb export running, with its database and email sender, before Codex changes it.
- [WeWeb to Qoder](https://proxymail.qa/switching/weweb-to-qoder): Have Qoder separate what WeWeb’s screens hide from what the backend actually refuses.
- [WeWeb to Antigravity](https://proxymail.qa/switching/weweb-to-antigravity): Antigravity is no reason to move to Firebase: check the export, keep your provider and retest.

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

WeWeb is a trademark of its owner. Claude Code is a product of Anthropic. Proxy Mail QA is independent and isn’t affiliated with or endorsed by them.
