---
title: "Framer to Next.js from VS Code (GitHub Copilot) · Deframer"
description: "Convert a Framer site to Next.js from VS Code (GitHub Copilot) with the Deframer MCP server: setup, the prompt and the project you get. Free to convert."
url: https://deframer.co/vscode/nextjs
---

Editor · Framer to Next.js

# Convert a Framer site to Next.js from VS Code (GitHub Copilot) with the Deframer MCP.

Add Deframer to VS Code and use it from GitHub Copilot's agent mode. VS Code signs in to Deframer with OAuth the first time it connects. App Router, Next.js 16, in TypeScript.

1 · Set up VS Code (GitHub Copilot)

## Connect it.

1. Run **MCP: Add Server…** from the Command Palette and choose **HTTP**, or create `.vscode/mcp.json` with the server below.
2. Choose **Start** above the server. VS Code opens deframer.co: sign in and choose **Allow**.
3. Open Copilot Chat in **Agent** mode, check that Deframer's tools are on, and ask it to convert your site.

.vscode/mcp.json json

```
{
  "servers": {
    "deframer": {
      "type": "http",
      "url": "https://deframer.co/mcp"
    }
  }
}
```

2 · Ask for it

## Ask for Next.js. It does the rest.

- The key is `servers`, not `mcpServers`, and `"type": "http"` is required.

Prompt for VS Code (GitHub Copilot) text

```
Convert https://my-site.framer.website to Next.js with the images on Framer's CDN
```

3 · What you get

## A standard Next.js project, with the App Router

| File | What it holds |
| --- | --- |
| `src/app/**/page.tsx` | One per URL, with its metadata: title, description, Open Graph and canonical URL. |
| `generateStaticParams` | CMS detail pages are prerendered for every item in the collection. |
| `src/proxy.ts, next.config.ts` | Apply the site's redirects and URL forms. |
| `src/app/api/forms/<form>/route.ts` | One route handler per native form. |
| App Router metadata | Each page.tsx exports its metadata, and Next.js applies it on client navigation too. |
| Multi-locale sites | One route tree serves every locale ([locale]/ in src/app), each page with its title, description and language versions per locale. |

Run the Next.js project sh

```
npm install
npm run dev
npm run build && npm start
```

- **Install.** Installs Next.js 16, React 19, motion and the packages the site's own code uses.
- **Develop.** Runs next dev on localhost:3000. Edit a view in src/views and the page updates.
- **Ship.** Builds for production and serves it with next start.
- A Next.js App Router project deploys anywhere Next.js runs: Vercel, Netlify, a container or your own Node.js 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 VS Code (GitHub Copilot): `verify_site` checks with Framer that the project publishes to your site. Nothing changes in the project or on the site.
- **Or with the meta tag.** Ask VS Code (GitHub Copilot) for your ownership tag (`get_account`), paste it into the site's custom code in Framer and publish; `check_site` confirms 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.

[VS Code (GitHub Copilot) setup guide](https://deframer.co/docs/vscode)[Framer to Next.js](https://deframer.co/framer-to-nextjs)[Pricing](https://deframer.co/pricing)

FAQ

## Next.js from VS Code (GitHub Copilot), answered

The tools and sign-in are in the [MCP server reference](https://deframer.co/docs/mcp), the Next.js project on [Framer to Next.js](https://deframer.co/framer-to-nextjs).

### Can I convert a Framer site to Next.js from VS Code (GitHub Copilot)?

Yes. Connect the Deframer MCP server to VS Code (GitHub Copilot) (3 steps, [setup guide](https://deframer.co/docs/vscode)), then ask it to convert your site to Next.js. It calls Deframer's `start_conversion` tool with `framework: "next"`, follows the conversion and gives you the deframer.co page where you review, unlock and download the project.

### Which Next.js version does the project use?

Next.js 16 with the App Router, React 19 and TypeScript. The project uses no Pages Router files: `src/app` holds routes only.

### Can I deploy the converted project to Vercel?

Yes. It is a standard Next.js project, so it deploys to Vercel, Netlify, a container or your own server: anywhere Next.js runs. Nothing in it depends on Framer.

### How do I verify my site from VS Code (GitHub Copilot)?

Paste your Framer project's link (in Framer: Invite, then Copy next to Project link) and ask VS Code (GitHub Copilot) 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. VS Code (GitHub Copilot) can't spend them: unlocking and downloading happen on deframer.co. See [pricing](https://deframer.co/pricing).

More

## From VS Code (GitHub Copilot), to any framework.

- [VS Code (GitHub Copilot)**TanStack Start**File routes on Node.js, in TypeScript.](https://deframer.co/vscode/tanstack-start)
- [VS Code (GitHub Copilot)**Astro**Prerendered pages, one React island.](https://deframer.co/vscode/astro)
- [VS Code (GitHub Copilot)**React Router**Framework mode, prerendered.](https://deframer.co/vscode/react-router)
- [VS Code (GitHub Copilot)**Vite**A static site, for any host.](https://deframer.co/vscode/vite)
- [VS Code (GitHub Copilot)**Nuxt**Nuxt 4 and Nitro, React pages.](https://deframer.co/vscode/nuxt)
- [VS Code (GitHub Copilot)**HTML**Built pages, ready to upload.](https://deframer.co/vscode/html)

Elsewhere

## Next.js, from any app.

- [Next.js**Claude**The Deframer connector for Claude on the web, desktop and mobile.](https://deframer.co/claude/nextjs)
- [Next.js**Claude Code**The Deframer plugin: convert from your terminal and unzip the project into your repository.](https://deframer.co/claude-code/nextjs)
- [Next.js**Cursor**Add Deframer to Cursor's agent as a remote MCP server.](https://deframer.co/cursor/nextjs)
- [Next.js**Windsurf**Add Deframer to Windsurf's Cascade as a remote MCP server.](https://deframer.co/windsurf/nextjs)
- [Next.js**Codex**Add Deframer to OpenAI's Codex CLI with one command.](https://deframer.co/codex/nextjs)
- [Next.js**Gemini CLI**Add Deframer to Google's Gemini CLI.](https://deframer.co/gemini-cli/nextjs)
