Install Hollware with an agent

The steps an agent follows to install Hollware on a Cloudflare account, deploy it, connect itself over MCP and write a first draft.

This page is written for an agent: Claude Code, Codex, Cursor or any other that runs commands in a terminal. A person who prefers to do it by hand follows the quickstart.

You install Hollware, an open-source headless CMS, on the Cloudflare account of the person you work with. Work in order. After each step, run its check. When a check fails, stop, show the person the output, and say what you will try next.

Rules

  • Never print a token, and never write one into a file that git tracks. Every token goes to a file with --token-file, and the commands read it from there.
  • Ask before you choose for the person. Every choice below has a default you may propose.
  • Run every npx hollware command from inside the project directory.

1. Ask the person

Ask for these, in one message, with the default of each:

  1. Their email address. They are the owner of the site, and Hollware knows them by it. No default.
  2. The directory of the project. Default: my-cms.
  3. The key of the site, lowercase letters, digits and hyphens. It never changes. Default: my-site.
  4. The languages of the site, the first the default. Default: en.
  5. A domain of their own for the CMS, such as https://cms.example.com, in a zone of the same Cloudflare account. Default: none, the workers.dev address.

Check: you have an email address that contains @.

2. Check the machine

node --version

Check: Node.js 24 or later. If it is older, ask the person to install a newer one, and wait.

3. Create the project

npm create hollware my-cms -- --owner-email ada@example.com --locales en --token-file local.token --json

Use their answers for the directory, the address and the languages. It makes the project, installs it, creates the local database and a token for it, which goes to my-cms/local.token, kept out of git.

Check: the command exits with 0 and its JSON names dir. Then:

cd my-cms

4. Sign in to Cloudflare

npx wrangler whoami

If it says you are not logged in, run npx wrangler login. It opens the browser: tell the person to approve it there, and wait.

Check: npx wrangler whoami names an account. If it names more than one, ask the person which one, and set CLOUDFLARE_ACCOUNT_ID to its id for every command after this.

5. Deploy

npm run deploy

With a domain of their own:

npm run deploy -- --url https://cms.example.com

It deploys the Worker, creates the database, the buckets, the queues and the namespace the first time, writes the public URL into wrangler.jsonc, and applies the migrations.

Check: read HOLLWARE_PUBLIC_URL in wrangler.jsonc, then:

curl -s https://my-cms.example.workers.dev/health

It answers {"ok":true}. A custom domain can take a minute for its certificate: try again before you report a failure.

6. Create the site in Cloudflare

The remote database starts empty.

npx hollware init --site my-site --owner-email ada@example.com --locales en --remote --token-file owner.token --json

Check: its JSON has site, tokenFile and setupUrl. Give the person the setupUrl: it is the link where they set up their passkey for the admin, once, within seven days.

7. Connect yourself

export HOLLWARE_TOKEN="$(cat owner.token)"
npx hollware mcp-config --client claude-code --token-file owner.token

Run the line it prints. For another client, ask for --client cursor, --client vscode or --client json and write the block it prints where that client reads it. The token stays in the environment, never in the file.

Check: call the tool describe_site. It answers the locales of the site, the JSON Schema of each collection and its contracts.

8. Write a first draft

Ask the person what the first entry is about, or propose one. Write it with create_draft, as a whole Markdown file: its frontmatter between two --- lines, then its body, following the schema describe_site gave you.

Check: the answer has a verdict. Fix every error by its path and line, and write again with update_draft and the version you last read, until the verdict has no error.

Then call request_review, so the person reads it before it is published.

Check: list_reviews lists it as pending.

9. Tell the person

Tell them, in a few lines:

  • the URL of their Hollware, and of its admin at /admin/;
  • the setup link of step 6, if they have not used it;
  • that a review waits for them in the admin, under Reviews;
  • that owner.token and local.token are in the project, out of git, and give whoever holds them the rights of the owner.

Then offer what comes next: shape the content of the site, connect a site that reads it, or invite people.