Coding agent · Framer to TanStack Start
Convert a Framer site to TanStack Start from Codex with the Deframer MCP.
Add Deframer to the Codex CLI and convert a Framer site from your terminal. Codex signs in to Deframer with OAuth in your browser. File routes on Node.js, in TypeScript.
1 · Set up Codex
Connect it.
- Add the server with the first command below.
- Sign in with the second: your browser opens deframer.co. Sign in and choose Allow.
- Start Codex and ask it to convert your site.
codex mcp add deframer --url https://deframer.co/mcp
codex mcp login deframer
2 · Ask for it
Ask for TanStack Start. It does the rest.
codex mcp listshows the server and whether it's signed in. The same setting is used by the Codex IDE extension.
Convert https://my-site.framer.website to TanStack Start with the images on Framer's CDN
3 · What you get
A TanStack Start project, with file routes
| File | What it holds |
|---|---|
src/routes/**/index.tsx | One per page, with its title, description, Open Graph and canonical URL in head(). |
src/routes/__root.tsx | The document every page renders into. |
src/server.ts | Applies the site's redirects and URL forms before the router. |
src/routes/api/forms/<form>.ts | One API route per native form. |
| File routes with head() | Each page's metadata sits in its route's head(), or in a head.json table beside it, and Start updates it on client navigation. |
| Typed routes | npm run typecheck generates the route tree TanStack Router types its routes with, then checks the project with TypeScript. |
npm install
npm run dev
npm run build && npm start
- Install. Installs TanStack Start, Rsbuild, React 19, motion and the packages the site's own code uses.
- Develop. Runs rsbuild dev: edit a view in src/views and the page updates.
- Ship. Builds with Rsbuild, then serves the build with srvx on Node.js 22.18 or later.
- A TanStack Start project runs on Node.js 22.18 or later with srvx: any Node.js host, a container or your own server.
4 · Verify and download
Free to convert, one credit to download.
- Verify with the project link (recommended). In Framer, choose Invite, then Copy next to Project link, and paste it to Codex:
verify_sitechecks with Framer that the project publishes to your site. Nothing changes in the project or on the site. - Or with the meta tag. Ask Codex for your ownership tag (
get_account), paste it into the site's custom code in Framer and publish;check_siteconfirms it. - Converting is free. A verified download costs 1 credit, or 10 credits without verification once you confirm you own the site or have permission. Packs: $20 for 1 credit, $50 for 5, $100 for 50, paid once; credits never expire.
- Unlocking and downloading happen on deframer.co: no app can spend your credits. Revoke the connection any time in Dashboard → Connected apps.
FAQ
TanStack Start from Codex, answered
The tools and sign-in are in the MCP server reference, the TanStack Start project on Framer to TanStack Start.
Can I convert a Framer site to TanStack Start from Codex?
Yes. Connect the Deframer MCP server to Codex (3 steps, setup guide), then ask it to convert your site to TanStack Start. It calls Deframer's start_conversion tool with framework: "start", follows the conversion and gives you the deframer.co page where you review, unlock and download the project.
How does the TanStack Start project build and run?
It builds with Rsbuild (npm run build) and runs on srvx (npm start), on Node.js 22.18 or later. npm run dev starts the development server.
Where do page titles and descriptions go?
In each route's head() in src/routes/**/index.tsx, or its head.json table: title, description, Open Graph and canonical URL, as the published site has them.
How do I verify my site from Codex?
Paste your Framer project's link (in Framer: Invite, then Copy next to Project link) and ask Codex to verify the site: the verify_site tool checks with Framer that the project publishes to that address, and nothing changes in the project or on the site. Or publish the ownership tag from your account in the site's custom code, which check_site then finds.
What does it cost?
Converting is free. Downloading costs 1 credit for a verified site, or 10 credits without verification after you confirm you own the site or have permission. Packs are $20 for 1 credit, $50 for 5, $100 for 50, paid once; credits never expire. Codex can't spend them: unlocking and downloading happen on deframer.co. See pricing.
Elsewhere
TanStack Start, from any app.
- TanStack StartClaudeThe Deframer connector for Claude on the web, desktop and mobile.
- TanStack StartClaude CodeThe Deframer plugin: convert from your terminal and unzip the project into your repository.
- TanStack StartCursorAdd Deframer to Cursor's agent as a remote MCP server.
- TanStack StartVS Code (GitHub Copilot)Use Deframer from Copilot's agent mode in Visual Studio Code.
- TanStack StartWindsurfAdd Deframer to Windsurf's Cascade as a remote MCP server.
- TanStack StartGemini CLIAdd Deframer to Google's Gemini CLI.