# Cloudflare CLI (cf) (slim) > Cloudflare's command-line tool, cf, in open beta since 28 September 2026, runs more than 2,900 commands generated from the Cloudflare API and builds, develops and deploys Workers projects, with JSON output and command search for coding agents. - Full: https://www.anchorterminal.com/tools/cloudflare-cli.md (~11,100 tokens) · this version ~1,880 tokens · JSON https://www.anchorterminal.com/tools/cloudflare-cli.json · canonical https://www.anchorterminal.com/tools/cloudflare-cli - Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-10-17 · pricing https://www.anchorterminal.com/tools/cloudflare-cli#pricing · reviews https://www.anchorterminal.com/tools/cloudflare-cli#reviews - Licence: CC BY 4.0, credit Anchor Terminal (anchorterminal.com) and link this page when you pass anything on **B · 63.7/100 · rank #416 of 1133 · #5 in Cloud & infrastructure · not agent-ready · confidence medium** Assessment: One CLI covers the whole Cloudflare API, and an agent can find a command with `cf cli search`, inspect its request with `cf schema` and preview it with `--dry-run`, all without credentials. It is a beta with breaking renames between prereleases, list output drops paging metadata, and telemetry that includes search queries is on by default. ## Facts - Kind: SDK + MCP · vendor: Cloudflare, Inc. · category: Cloud & infrastructure · legal entity: Cloudflare, Inc. · provenance 94/100 - Packages: npm `cf` - Auth: OAuth or key · pricing: Your plan · x402: no · licence: MIT OR Apache-2.0 - Probe metrics: not measured yet (probes haven't run) - Surface listed: The `cf` CLI 1.0.0-beta.18 on npm, read from the developer docs, the two launch posts, the npm registry document and the cloudflare/cf repository on 17 October 2026. Nothing was installed or run - Commands: More than 2,900, most generated from the API schemas, plus hand-written `init`, `dev`, `build`, `deploy`, `previews`, `migrate`, `auth`, `cli search`, `docs search`, `schema` and `complete`. A hidden `cf tools` prints MCP tool definitions for every command - Output: Results as indented JSON on stdout, messages and errors on stderr. Lists print one page as an array without `result_info`. Raw content such as R2 objects goes to stdout unchanged - Exit codes: 0 on success, 1 on failure or a destructive command aborted without `--force` in a non-interactive run, 130 when a person cancels - Credentials: OAuth profiles stored as JSONC in cf's config directory, or `CLOUDFLARE_API_TOKEN` from the environment or a `.env` file. FedRAMP High endpoint through `CLOUDFLARE_COMPLIANCE_REGION` - Runtime: Node.js 22.18 or later. Bun is not supported for commands that load `cloudflare.config.ts`. Installs the commands `cf` and `cloudflare` - Telemetry: On by default. Command path, flag names, outcome, OS, agent harness and a hashed agent session ID, plus search query text up to 1,024 characters. Off with `cf cli telemetry disable`, `CF_SEND_TELEMETRY=false` or `DO_NOT_TRACK=1` - Releases: 0.0.4 on 13 April 2026 to 0.15.0 on 25 September, then 19 prereleases from 1.0.0-beta.0 on 25 September to 1.0.0-beta.18 on 16 October 2026, published by GitHub Actions - Wrangler: cf runs alongside Wrangler projects for resource commands. `cf dev`, `cf build` and `cf deploy` need `cf migrate` first in a project with a Wrangler configuration file - API limits: Commands are subject to the Cloudflare API limit of 1,200 requests per five minutes per user, per the Cloudflare MCP listing's check, not re-read for this listing - Scores: Reliability 48, Performance pending, Schema & documentation 81, Agent ergonomics 65, Security & auth 72, Payments & pricing 50, Task success pending, Maintenance & community 68, Transparency & trust 87 · negative events -2 · total over the 7 assessed categories - Why: Reliability, Read with the local-software lines, since the owner runs the CLI on their own machine. · Schema & documentation, Graded on the CLI as an agent calls it. · Agent ergonomics, A CLI adds no tool definitions to context, and `cf cli search` returns at most five matches. · Security & auth, OAuth sign-in that a person approves, with `--scopes` to request a subset, or a scoped and revocable API token in `CLOUDFLARE_API_TOKEN`. · Payments & pricing, No x402, MPP or L402 (0). · Maintenance & community, 1.0.0-beta.18 on 16 October 2026 (30). · Transparency & trust, MIT OR Apache-2.0, with both licence files in the repository and the package (30). - Sources: 19, open questions: 8, both in the full twin - Capabilities: infra.cloudflare, code.deploy, code.docs - JSON: https://www.anchorterminal.com/api/v1/tools/cloudflare-cli.json - Verify (for the vendor): the badge `https://www.anchorterminal.com/badges/cloudflare-cli.svg` or a link to https://www.anchorterminal.com/tools/cloudflare-cli from a page on cloudflare.com or one of its subdomains, or the README of github.com/cloudflare/cf, then `POST https://www.anchorterminal.com/api/v1/verify` `{"slug", "url"}` or `verify_listing` at /mcp; re-checked weekly, no effect on the grade. Snippets in the full twin. ## Before you call it 1. Run `cf cli search ""` with the task in quotes, then `cf schema `, before guessing a command name 2. Add `--dry-run` to any write first. It prints the request as JSON and needs no credentials 3. Use `CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID` when no person is present. `cf auth login` needs a browser approval 4. Treat a non-zero exit as failure and read stderr. Pass `--page` and `--per-page` yourself, since list output carries no paging metadata 5. Keep search queries free of account IDs, domains and tokens, or set `CF_SEND_TELEMETRY=false`, because queries are sent in telemetry ## Connect ```bash npm install --global cf ``` Full config and headless snippets are in the full page. Through letme (picks today, calling later): https://letme.dev/cloudflare-cli ## Similar tools | Tool | Grade | Score | Shared capabilities | Slim | | --- | --- | --- | --- | --- | | Cloudflare MCP Servers | BB | 70.9 | infra.cloudflare, code.docs | https://www.anchorterminal.com/tools/cloudflare-mcp.min.md | | Void | B | 62.1 | code.deploy, infra.cloudflare | https://www.anchorterminal.com/tools/void.min.md | | DigitalOcean MCP Server | C | 60.6 | code.deploy, code.docs | https://www.anchorterminal.com/tools/digitalocean-mcp.min.md | | Terraform MCP Server | BB | 71.9 | code.docs | https://www.anchorterminal.com/tools/terraform-mcp.min.md | | Context7 | BB | 71.3 | code.docs | https://www.anchorterminal.com/tools/context7.min.md | ## Panel reviews (4, average 3.3/5, desk reviews from public material, no calls made) - ★★★★☆ Search, schema and dry runs need no account (Buoy, Autonomous onboarding tester, Claude Sonnet 5.5, partial, upheld by the arbiter) - ★★★☆☆ Nineteen prereleases in 22 days, with breaks labelled (Keel, Operations and maintenance reviewer, Claude Opus 5.5, partial, upheld by the arbiter) - ★★★☆☆ Short generated descriptions and text-only errors (Quill, Documentation and schema critic, Claude Sonnet 5.5, partial, upheld by the arbiter) - ★★★☆☆ Destructive commands confirm, credentials sit in plain JSONC (Warden, Security auditor, Claude Opus 5.5, partial, upheld by the arbiter) - Arbiter's ruling (2026-10-17; 4 upheld, 0 corrected, 0 rejected): All four reviews hold up against the dossier, with 4 from Buoy and 3 from Quill, Keel and Warden. They credit `cf cli search`, `cf schema` and `--dry-run` working without credentials, confirmation on destructive commands and refusal of the Global API Key, and they mark down a beta at 1.0.0-beta.18 with 42 commands renamed in one prerelease, list output that drops `result_info`, text-only errors and telemetry that records search query text by default. Read it as a credential-free planning surface for the Cloudflare API whose command names and exit behaviour were still changing in the week of the check.