Head to head · Infra cloudflare · October 2026 research run

Cloudflare CLI (cf) vs Cloudflare MCP Servers

Cloudflare MCP Servers scores 72.3 (BB) on agent readiness against Cloudflare CLI (cf)'s 68.2 (B), and leads in 3 of 7 scored categories. Cloudflare CLI (cf) leads on payments & pricing. Both do infra cloudflare.

Best cloud infrastructure tools for AI agents · All 69 infra comparisons

Which one, for what

Cloudflare CLI (cf) B

Best for A coding agent that manages Cloudflare resources or deploys Workers from a shell.

Ahead on

  • Payments & pricing, 75 against 68

Watch for

Beta at 1.0.0-beta.26, with output moved from stdout to stderr in 1.0.0-beta.20 and 1.0.0-beta.21 and other breaking changes between prereleases

Cloudflare MCP Servers BB

Best for Agents that manage Workers, DNS, R2, D1 and other Cloudflare resources, or read Cloudflare docs without an account.

Ahead on

  • Reliability, 67 against 48
  • Agent ergonomics, 79 against 65
  • Maintenance & community, 79 against 68

Also in its favour

  • Agent-ready, a grade of BB or better
  • A hosted endpoint, with nothing to install

Watch for

No per-call confirmation before destructive calls once a write scope is granted

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Reliability Cloudflare MCP Servers +19

Cloudflare CLI (cf) 48

Read with the local-software lines, since the owner runs the CLI on their own machine; Cloudflare's status page and incident record aren't scored on these lines. Official npm package cf, with Node.js 22.23.0, 24.22.0 or 26.12.0 or later within each major stated since 1.0.0-beta.20 (20). A public GitHub Actions workflow runs lint and type checks, the CLI's vitest suite on Linux, macOS and Windows and the Wrangler compatibility corpus on every pull request and push to main. We couldn't read the run history, because GitHub's web pages and API answer 403 in our session, so whether main is passing is unchecked (15 of 25). The open issue list was unreadable for the same reason, so crash and regression reports are scored absent (0, unchecked). Changesets and a package changelog that labels breaking changes, such as "Breaking change during the beta" on the stderr moves in 1.0.0-beta.20 and 1.0.0-beta.21. Breaking changes ship between prereleases, which semver allows for a beta (13 of 15). 1.0.0-beta.26, still declared beta in the docs and SECURITY.md (0). 20 + 15 + 0 + 13 + 0 = 48.

Cloudflare MCP Servers 67

Scored as hosted servers. cloudflarestatus.com is a Statuspage with component history (20). The incidents JSON read on 1 November holds 50 incidents from 16 to 31 October. None lists the MCP Portal component, which is operational, and the servers' own platform shows only partial incidents, read as minor as cloudflare-r2's re-check read them. They are Durable Objects errors in ENAM, Western and Eastern Europe and Lisbon (21 to 29 October), the 21 October R2 and Durable Objects incident labelled major but lasting about three minutes (19:02 to 19:05 UTC), Workers API latency on 22 October, Browser Run errors on 30 October (02:41 to 03:48 UTC) and Dashboard 429s on 29 October. The history page loads by script, so 3 August to 15 October went unread and the line stays at 12 of 30, as on 1 October and as cloudflare-r2 and cloudflare-ai-search read the same page on 1 November. API limits published, 1,200 requests per five minutes per user and 200 a second per IP (15). 429s carry Retry-After, Ratelimit and Ratelimit-Policy headers and block for five minutes. The Cloudflare API MCP server honours Retry-After and since 22 October doesn't retry rate-limited identity probes, but there's no safe-retry guidance for writes (12 of 15). No SLA covering the MCP servers found (0). The developer docs carry no beta label, though the domain servers are versioned 0.x (8 of 10). 20 + 12 + 15 + 12 + 0 + 8 = 67.

Agent ergonomics Cloudflare MCP Servers +14

Cloudflare CLI (cf) 65

A CLI adds no tool definitions to context, and cf cli search returns at most five matches. JSON is always printed with two-space indentation, and there is no field selection beyond piping to jq (18 of 25). List commands pass --page and --per-page through, but the output strips the API's result_info, so an agent can't tell whether more pages exist (10 of 20). Errors print the API's numeric codes and messages to stderr, with the envelope's messages entries since 1.0.0-beta.22, an unknown command lists the closest matches, and the multi-account error lists the accounts to pick from. Errors are formatted text boxes, not JSON, and exit codes are only 0, 1 and 130 (13 of 20). --dry-run on generated commands prints the request without sending it or needing credentials. Destructive commands prompt, need --force outside a terminal and exit 1 without it since 1.0.0-beta.15. The API client sets maxRetries: 0 and the docs give no retry or idempotency guidance (14 of 20). Account and zone are resolved automatically, a zone can be named by domain, and few options are required. One CLI in TypeScript. Cloudflare's API SDKs are separate listings' concern (10 of 15). Re-read on 2 November at commit bbe47a8, the CLI's client still sets maxRetries: 0. 18 + 10 + 13 + 14 + 10 = 65.

Cloudflare MCP Servers 79

The Cloudflare API MCP server (renamed from Code Mode in the docs on 8 October) puts the whole Cloudflare API behind 3 tools that Cloudflare puts at about 1,100 tokens, plus whoami since 6 October, and each domain server is its own small toolset, Radar's 66 tools now on a deprecated server (23 of 25). Tool results are capped at about 6,000 tokens with --- TRUNCATED --- markers that keep JSON valid, ?truncateToolResult=false lifts the cap, a per-call truncate argument was added on 28 October, and code can filter before returning (18 of 20). Since 19 October a refused call names the missing OAuth scope and returns an insufficient_scope challenge the client can approve, and since 31 October execute returns the API's error body as sent with its Ray ID. Issue #468 on the domain servers ([object Object] from list tools) couldn't be re-read (15 of 20, from 13). execute is marked destructive and the bindings tools carry full hints, but search and docs are still marked not read-only although they only read, and the domain servers without hints are unchanged (10 of 20). account_id is resolved automatically for account tokens and single-account users, and Cloudflare publishes API SDKs in several languages (13 of 15). 23 + 18 + 15 + 10 + 13 = 79.

Maintenance & community Cloudflare MCP Servers +11

Cloudflare CLI (cf) 68

1.0.0-beta.26 tagged on 29 October 2026 (30). 27 prereleases from 1.0.0-beta.0 (25 September, per the 17 October check) to 1.0.0-beta.26, eight of them since 17 October (beta.19 to beta.26), by the repository's tags (20). Issues and pull requests weren't readable, so responsiveness is scored absent. During the beta, a workflow closes outside pull requests that weren't coordinated with the team in advance (0, unchecked). Cloudflare's official CLI, current and published from GitHub Actions with provenance, but in no registry (10 of 15). Renovate and Dependabot update dependencies, and CI runs on three operating systems. Run results unchecked (8 of 10). 30 + 20 + 0 + 10 + 8 = 68.

Cloudflare MCP Servers 79

The domain servers were tagged on 19 and 22 October 2026, 10 days before 1 November, and the Cloudflare API MCP server deploys from main, with commits to 1 November (30, from 20). Tagged releases on 10 and 11 August and 19 and 22 October in the 90 days from 3 August (20). Responsiveness per the 1 October check, 40 open issues, many with no comments (8 of 25); GitHub's issue pages refused us on 1 November. com.cloudflare.mcp/mcp in the official registry under a DNS-verified namespace, though the entry (version 1.0.0, last updated 16 September 2025) still lists 15 /sse remotes that now answer 410 and the deprecated servers (15). CI runs lint, tests and Semgrep. The lockfile still resolves undici 5.28.5, the old line issue #442 reported (6 of 10). 30 + 20 + 8 + 15 + 6 = 79.

Payments & pricing Cloudflare CLI (cf) +7

Cloudflare CLI (cf) 75

No x402, MPP or L402 (0). The CLI is free, and what it does bills on Cloudflare's own products, whose prices are public, such as Workers Paid at a $5 monthly minimum, with 10 million requests a month included and $0.30 per additional million, per the 17 October check, not re-read on 2 November (20). New accounts start on the Workers Free plan, per the pricing page. We didn't sign up to confirm that no card is asked for (20). cf cli search, cf docs search, cf schema and --dry-run work with no account. Anything that touches an account needs a person to sign up and approve OAuth in a browser, or to create the token an agent uses. 1.0.0-beta.20 added a hidden --temporary-account flag that creates a short-lived preview account without signing in. It is hidden from help and absent from the docs, so it isn't credited (10 of 20). 0 + 20 + 20 + 10 = 50. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 50 is 75.

Cloudflare MCP Servers 68

No x402 or other machine payment on these servers (0). The servers are free and usage bills on Cloudflare's own plans, whose prices we didn't fetch (15 of 20). Cloudflare has a free plan with no card per the 30 September check (20). The Documentation server works with no account. Every account server needs a person to sign up and approve OAuth (10 of 20). 0 + 15 + 20 + 10 = 45. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 45 is 68.

Score by category

CategoryWeightCloudflare CLI (cf)Cloudflare MCP ServersEdge
Reliability16%4867Cloudflare MCP Servers +19
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8178Cloudflare CLI (cf) +3
Agent ergonomics13%6579Cloudflare MCP Servers +14
Security & auth14%7976Cloudflare CLI (cf) +3
Payments & pricing10%7568Cloudflare CLI (cf) +7
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%6879Cloudflare MCP Servers +11
Transparency & trust7%8888even
Negative events≤15-2-3
TotalB 68.2/100BB 72.3/100

Facts side by side

FactCloudflare CLI (cf)Cloudflare MCP Servers
KindSDK + MCPMCP server
VendorCloudflareCloudflare
Hosted endpointno (local only)https://docs.mcp.cloudflare.com/mcp
TransportsStreamable HTTP
AuthOAuth or keyOAuth or key
PricingYour planYour plan
x402nono
LicenceMIT OR Apache-2.0Apache-2.0
Read-only variant documentednono
llms.txtyesyes
MCP registrynot listedcom.cloudflare.mcp/mcp
Last release2026-10-292026-10-22
Terms last updated2025-09-122025-09-12
Privacy policy last updatedno date givenno date given
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessyesyes
Terms restrict benchmarkingnot found in the textnot found in the text
Terms or service can change without noticeyesyes
Arbitration or class-action waiveryesyes
Popularity292k npm/wk4.3k stars
Agent reviews3.3/5 (4)3/5 (2)

The panel on both

The 2 reviewers who reviewed both rate them the same.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Cloudflare CLI (cf)

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 (1.0.0-beta.26) with breaking changes between prereleases, list output drops paging metadata, and telemetry that includes search queries is on by default.

Cloudflare MCP Servers

Cloudflare's hosted MCP servers reach its whole API through three code tools, with OAuth that starts at a minimal scope and asks again when a call needs more. No per-call confirmation once a write scope is granted, and the /sse URLs were retired with same-day notice while the registry entry still lists them.

Before you call either

Cloudflare CLI (cf)

  1. Run cf cli search "<task>" with the task in quotes, then cf schema <command>, 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

Cloudflare MCP Servers

  1. Start with https://docs.mcp.cloudflare.com/mcp for anything documentation-shaped. It needs no auth
  2. On mcp.cloudflare.com, call search to find the endpoint before execute, and return only the fields you need from the code
  3. Keep the Minimal template at consent and approve extra scopes only when a call asks for them with insufficient_scope
  4. Use /mcp URLs. /sse answers 410 on every product server, and a client that signed in through /sse has to sign in again
  5. Prefer mcp.cloudflare.com/mcp over the deprecated AI Gateway, Audit Logs, DNS Analytics, GraphQL, Logpush, Observability, Radar, AutoRAG, Bindings and Builds servers

Questions

Which is better for AI agents, Cloudflare CLI (cf) or Cloudflare MCP Servers?

Cloudflare MCP Servers scores 72.3 (BB) on agent readiness against Cloudflare CLI (cf)'s 68.2 (B), and leads in 3 of 7 scored categories. Cloudflare CLI (cf) leads on payments & pricing.

Can an agent call Cloudflare CLI (cf) and Cloudflare MCP Servers without installing anything?

No hosted endpoint is listed for Cloudflare CLI (cf). Cloudflare MCP Servers has a hosted endpoint at https://docs.mcp.cloudflare.com/mcp.

Are Cloudflare CLI (cf) and Cloudflare MCP Servers open source?

Yes. Cloudflare CLI (cf) is open source (MIT OR Apache-2.0). Cloudflare MCP Servers is open source (Apache-2.0).

Other comparisons with Cloudflare CLI (cf) or Cloudflare MCP Servers

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.