# Let AI deploy and roll back your Cloudflare Pages sites

> With the Human Queue for Cloudflare in MoltenRock Connect, your AI agent proposes Cloudflare Pages changes: creating a site from a GitHub repository, setting its build, variables, secrets and domains, deploying, retrying and rolling back. Each one waits for your approval with Touch ID. For a secret, the agent proposes the name and you type the value on the card, so the agent never sees it.

A broken build, a missing environment variable, a deploy that needs rolling back at 11 pm. Your agent proposes the fix; you approve it from your Mac.

Source: https://moltenrock.com/cloudflare-pages-deploy-ai · 2026-10-16

## Deploys go wrong at the worst times

- **Failed builds**: A missing variable or a wrong build command, and the site doesn’t update.
- **Slow rollbacks**: Finding the last good deployment takes too long when the site is broken.
- **Deploy rights are broad**: A token that can deploy can also change domains and variables.

## How it works

- **Diagnoses first**: Reads the project and its deployments to see what failed.
- **Proposes the fix**: A variable, a build setting, a deploy, a retry or a rollback.
- **You approve**: With Touch ID, from your Mac. Secrets are typed by you, on the card.

## Set it up

1. **Add Cloudflare to Connect**: With a token that has Pages write rights; a card that needs more names the permission.
2. **Ask what broke**: “Why did the last deploy of the shop fail?”
3. **Approve the fix**: A rollback to the last good deployment is one card and one Touch ID.

## What it can’t do yet

**Stays on your Mac**

- Your Cloudflare token, in Connect
- Your projects, unchanged until you approve
- The log of every request and decision

**Leaves your Mac**

- Approved Pages changes, sent from your Mac to Cloudflare
- Not yet: uploading a site’s files straight from your Mac; deploys build from your connected GitHub repository
- Answers, to your agent and its AI model

## What people ask first

### Can my agent deploy on its own?

No. It proposes the deploy; you approve it with Touch ID. Connect then asks Cloudflare to build the branch’s latest commit and publish it.

### Does it work with GitHub?

Yes: your agent can propose creating a Pages site from a GitHub repository. Cloudflare needs access to the repository through its GitHub app.

### Can it upload a site built on my Mac?

Not yet. Cloudflare takes a direct upload only with a short-lived upload token and a many-file upload, which Connect doesn’t build yet.

### What does it cost?

Connect is free; approving needs MoltenRock Pro.

## Rollbacks at 11 pm, approved from the sofa.

MoltenRock Connect is free for Mac. Approving needs MoltenRock Pro.
