> Use Revdoku with the Gemini CLI to publish AI-generated websites from Google Gemini. Sign up, copy the connection message, paste it into Gemini, and publish.

# Publish websites from Gemini with Revdoku

Use Revdoku with the Gemini CLI and other MCP-capable Gemini agents. Sign up, copy the connection message, paste it into Gemini, and publish.

## 1. Create a Revdoku account first

Setup starts in the Revdoku app. Go to [`https://app.revdoku.com`](https://app.revdoku.com/users/sign_up?utm_source=revdoku.com&utm_medium=connect-guide&utm_campaign=gemini), create an account, and sign in before connecting any AI app.

![Sign in or sign up at app.revdoku.com](/assets/gemini/01-create-revdoku-account.webp)

This is the first step for every connection: the AI tool connects to your existing Revdoku account, not an anonymous prompt.

## 2. Copy the connection message

After signing in, open the Revdoku app and click **New**, then choose **Copy Instructions for AI**. This copies the current Revdoku connection message for Gemini, Claude, ChatGPT, Codex, and similar agents.

![New, then Copy Instructions for AI](/assets/gemini/02-new-menu-copy-instructions.webp)

Paste the copied message into your Gemini session and send it. Gemini follows the instructions and connects Revdoku to your account.

## 3. Connect the Gemini CLI manually

Prefer a manual setup? Add Revdoku with one command (`-s user` makes it available in every project):

```bash
gemini mcp add --transport http --scope user revdoku https://app.revdoku.com/mcp
```

Or open `~/.gemini/settings.json` (or `.gemini/settings.json` in your project) and add Revdoku under `mcpServers`:

```json
{
  "mcpServers": {
    "revdoku": {
      "httpUrl": "https://app.revdoku.com/mcp"
    }
  }
}
```

Then restart the Gemini CLI. Revdoku uses OAuth, so Gemini opens a browser window to sign in to your Revdoku account. Run `/mcp auth revdoku` inside Gemini CLI if authentication does not start automatically. The same `mcpServers` config also works for Gemini Code Assist in agent mode.

For a local folder or binary assets, use the [Revdoku CLI and skill installer](/local-install/); a hosted MCP server cannot read your computer's files.

> **You've connected Revdoku.** Now just ask **`publish to Revdoku`** and Gemini publishes it as a live URL.

## Test the Gemini connection

Once connected, ask Gemini to build a small static website, save the files in Revdoku, publish `index.html`, and return the live link.

A good first test prompt:

> Create a one-page project status website, save the files in Revdoku, publish it, and give me the public URL. If I ask for changes later, update the same Revdoku bucket and republish the same URL.

Check that the returned link opens, then ask for one small change and confirm the same bucket is updated instead of creating a new site.

## Check the Revdoku result from ChatGPT

If Revdoku is also connected in ChatGPT, you can ask ChatGPT to inspect the same bucket or summarize the publish workflow after Gemini creates the files.

![ChatGPT outlines a Revdoku publishing workflow for an AI-generated site](/assets/gemini/chatgpt-revdoku-publish-workflow-magic-stories.webp)

## Takeaway

Sign in to Revdoku first, copy the connection message, paste it into the Gemini CLI, publish a small static site, then republish the same bucket after changes.

## Other ways to connect

- [Connect your AI tool to Revdoku](/connect/): every supported agent in one place.
- [Local command-line setup](/local-install/): the generic CLI agent flow that works with any MCP-capable terminal agent.

---

[View the canonical page](https://revdoku.com/gemini/) · [Browse llms.txt](https://revdoku.com/llms.txt)
