---
title: "Framer to HTML from Gemini CLI with MCP · Deframer"
description: "Convert a Framer site to HTML from Gemini CLI with the Deframer MCP server: setup, the prompt and the project you get. Free to convert."
url: https://deframer.co/gemini-cli/html
---

Coding agent · Framer to HTML

# Convert a Framer site to HTML from Gemini CLI with the Deframer MCP.

Add Deframer to the Gemini CLI and convert a Framer site from your terminal. Gemini CLI finds Deframer's sign-in by itself. Built pages, ready to upload.

1 · Set up Gemini CLI

## Connect it.

1. Add the server below to `~/.gemini/settings.json` (or a project's `.gemini/settings.json`).
2. Start `gemini` and run `/mcp auth deframer`. Your browser opens deframer.co: sign in and choose **Allow**.
3. Ask Gemini to convert your site.

~/.gemini/settings.json json

```
{
  "mcpServers": {
    "deframer": {
      "httpUrl": "https://deframer.co/mcp"
    }
  }
}
```

2 · Ask for it

## Ask for HTML. It does the rest.

- Signing in needs a browser on the same computer: it won't complete over SSH.

Prompt for Gemini CLI text

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

3 · What you get

## A folder of built pages, ready to upload

| File | What it holds |
| --- | --- |
| `site/*.html` | One file per page at its URL, CMS items included, each with its title, description, canonical link and social tags in its <head>. |
| `site/assets/` | The pages' JavaScript (React, motion and the site's own code) and CSS, named by their content, so a host can cache them for good. |
| `README.md` | How to put the folder on Netlify, Cloudflare Pages, GitHub Pages, Vercel, Amazon S3 or a shared server, and a table of every page and its file. |
| `Images, fonts, videos` | On Framer's CDN by default, as on the published site. Choose Assets in the project to have them in the folder too. |
| Nothing to install | The conversion builds every page for you: there is no npm install, no build step and no Node.js. Unzip the download and upload the folder. |
| Interactive, not a screenshot | Each page is prerendered HTML that its scripts then bring to life: animations, hover and tap effects, menus, sliders and code components work as on the published site, and links open the next page without reloading the layout it shares. |

Run the HTML project sh

```
npx serve site
npx netlify deploy --dir site --prod
site/ → your server
```

- **Look.** Serves the folder on your computer as a host does, at localhost:3000. Pages load from a server, not by opening the files.
- **Upload.** Or drag the site folder onto Netlify Drop. Cloudflare Pages, GitHub Pages, Vercel and S3 work too; the README has each one's steps.
- **Or self-host.** Copy the folder's contents to any web root over FTP or SSH. The host should serve about.html at /about; the README shows the Apache and nginx lines.
- Static HTML is the site, built: upload the site folder to any host that serves files, such as Netlify, Cloudflare Pages, GitHub Pages, Vercel, an S3 bucket behind a CDN or a shared server. No npm, no Node.js, no server code.

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 Gemini CLI: `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 Gemini CLI 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.

[Gemini CLI setup guide](https://deframer.co/docs/gemini-cli)[Framer to HTML](https://deframer.co/framer-to-html)[Pricing](https://deframer.co/pricing)

FAQ

## HTML from Gemini CLI, answered

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

### Can I convert a Framer site to HTML from Gemini CLI?

Yes. Connect the Deframer MCP server to Gemini CLI (3 steps, [setup guide](https://deframer.co/docs/gemini-cli)), then ask it to convert your site to HTML. It calls Deframer's `start_conversion` tool with `framework: "html"`, follows the conversion and gives you the deframer.co page where you review, unlock and download the project.

### Where can I host it?

Anywhere that serves files: Netlify (drag the folder onto Netlify Drop), Cloudflare Pages, GitHub Pages, Vercel, an S3 bucket behind a CDN or a shared server over FTP. The host should serve `about.html` at `/about`; Netlify, Cloudflare Pages, GitHub Pages and Vercel do, and the README shows the one line Apache or nginx needs.

### Do animations and interactions still work?

Yes. Each page paints styled from its HTML, then its scripts make it interactive: animations, hover and tap effects, menus, sliders and code components work as on the published site.

### How do I verify my site from Gemini CLI?

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

More

## From Gemini CLI, to any framework.

- [Gemini CLI**Next.js**App Router, Next.js 16, in TypeScript.](https://deframer.co/gemini-cli/nextjs)
- [Gemini CLI**TanStack Start**File routes on Node.js, in TypeScript.](https://deframer.co/gemini-cli/tanstack-start)
- [Gemini CLI**Astro**Prerendered pages, one React island.](https://deframer.co/gemini-cli/astro)
- [Gemini CLI**React Router**Framework mode, prerendered.](https://deframer.co/gemini-cli/react-router)
- [Gemini CLI**Vite**A static site, for any host.](https://deframer.co/gemini-cli/vite)
- [Gemini CLI**Nuxt**Nuxt 4 and Nitro, React pages.](https://deframer.co/gemini-cli/nuxt)

Elsewhere

## HTML, from any app.

- [HTML**Claude**The Deframer connector for Claude on the web, desktop and mobile.](https://deframer.co/claude/html)
- [HTML**Claude Code**The Deframer plugin: convert from your terminal and unzip the project into your repository.](https://deframer.co/claude-code/html)
- [HTML**Cursor**Add Deframer to Cursor's agent as a remote MCP server.](https://deframer.co/cursor/html)
- [HTML**VS Code (GitHub Copilot)**Use Deframer from Copilot's agent mode in Visual Studio Code.](https://deframer.co/vscode/html)
- [HTML**Windsurf**Add Deframer to Windsurf's Cascade as a remote MCP server.](https://deframer.co/windsurf/html)
- [HTML**Codex**Add Deframer to OpenAI's Codex CLI with one command.](https://deframer.co/codex/html)
