Skip to main content

Cloudflare Developer Platform from the command line

Workers, KV, R2, D1 and Hyperdrive on a Cloudflare account. GBrain gives Cloudflare Developer Platform, and every other application you connect, a command line.

Get Personal, $49 a month

One price for one person: Cloudflare Developer Platform and every other application GBrain connects, from a terminal or any AI. Cancel any time.

Install the GBrain command line, then connect Cloudflare Developer Platform

Cloudflare Developer Platform is connected on its own sign-in page, in the browser. A key or a sign-in never passes through the terminal.

# AI agents: read gbrain.io/llms.txt
curl -sSL https://gbrainio.terminalwire.sh | bash
gbrainio terminal connect

The installer is a shell script for macOS and Linux. Read it before you run it.

# Every Cloudflare Developer Platform command, once Cloudflare Developer Platform is connected
gbrainio tool help cloudflare-app

What GBrain can do with Cloudflare Developer Platform

Cloudflare’s developer platform runs code on Workers next to built-in storage: KV namespaces, R2 buckets and D1 databases. Connected to a workspace, GBrain can answer “which Workers are on the staging account?”, read a Worker’s code, or run a query against a D1 database.

This server covers Workers and their storage. The main Cloudflare listing covers zones, DNS and the rest of the account.

  • List Workers and read their code
  • Create, query and delete D1 databases
  • Manage KV namespaces and R2 buckets
  • Set up Hyperdrive database connections

What a terminal may do with Cloudflare Developer Platform, and what GBrain keeps

Off or On, for each terminal

Each terminal reaches Cloudflare Developer Platform at the level set for it in the browser: Off, or On, which is every command Cloudflare Developer Platform's server lists. A terminal reads its level and never raises it.

1,000 actions a day for each command

Each of Cloudflare Developer Platform's commands stops at 1,000 actions a day on the account it reaches, whichever terminal or AI asks, and starts again at midnight UTC. Only that command stops.

Every action on one record

Each command a terminal runs on Cloudflare Developer Platform is a row on GBrain's activity log: which terminal, which account, what it did and whether it was allowed, refusals included. gbrainio activity ls --tool cloudflare-app reads it back.

From a terminal, Claude Code or Codex

Cloudflare Developer Platform's own server lists its commands only to a terminal that has connected it, so they are not on this page. Once Cloudflare Developer Platform is connected, gbrainio tool help cloudflare-app says what each of them does, and gbrainio tool ls lists them with everything else the terminal can run. Claude Code and Codex run the same commands, at the same level, on the same record.

From Cloudflare Developer Platform

GBrain reaches Cloudflare Developer Platform at its own server, bindings.mcp.cloudflare.com. On Cloudflare Developer Platform's own pages: its website, how the connection works, its terms of service and its privacy policy.

The GBrain Tools command line works with every other application GBrain connects, each with a page like this one.

Every application's command line

Cloudflare Developer Platform from a terminal, with GBrain Personal

Personal is $49 a month for one person. Connect Cloudflare Developer Platform in the browser, and say how far each terminal and each AI may go with it. Change any of it, or take all of it back, whenever you want.