AI Review Ready
Home / MCP scans / Server directory / cloudflare/mcp-server-cloudflare
MCP server · cloudflare/mcp-server-cloudflare

cloudflare/mcp-server-cloudflare: MCP safety grade C

Hand-checked safety hygiene for the cloudflare/mcp-server-cloudflare MCP server: tool safety hints, pinned installs and committed configs, with file-and-line evidence.

MCP safety C 72/100

Short answer: at the commit we checked, cloudflare/mcp-server-cloudflare scores 72/100 (grade C): 34 of 172 tools carry an MCP safety hint, 5 of 14 destructive-like tools say they change things, and its README has no npx/uvx-style launch line. This is a hygiene grade, not a security audit.

What we checked

Repositorycloudflare/mcp-server-cloudflare · Apache-2.0 · TypeScript · about 4,466 GitHub stars
Commit checkeda21972e, scanned 14–15 Nov 2026, hand-checked 27 Nov 2026.
Tools the server registers172
Tools with any MCP safety hint34 of 172
Destructive-like tools (delete, write, run, execute…)14, of which 5 carry a hint
README install linehas no npx/uvx-style launch line
Config findingsnone

How the score adds up

Start100
9 destructive-like tools with no safety hint (2 each, at most 30)−18
fewer than half of all tools carry a safety hint (34 of 172)−10
Score72 / 100 → grade C

Rules in full: methodology. A–F: A 90+, B 80–89, C 70–79, D 60–69, F below 60.

Evidence from the code

  • How tools are registered: Monorepo of 18 Workers MCP servers under apps/* plus shared tools in packages/mcp-common/src/shared-tools. Every tool goes through context.registerTool(name, config, cb) or context.accountTool(name, config, handler) (packages/mcp-common/src/registration-context.ts:106-144, which forwards to server.registerTool). 143 direct calls with literal names (hyperdrive/kv names via constant maps with identical string values), plus two loops: cloudflare-one-casb toolDefinitions (11 entries) and dex-analysis registerTool helper (18 calls). 172 distinct names across the repo, no duplicates; *.spec.ts and evals excluded
  • How safety hints are set: inline: annotations object in the registerTool/accountTool config (blog, stack-mcp, workers-bindings d1/hyperdrive/kv/r2, workers-builds, shared docs/worker/zone tools); radar, browser-rendering, graphql, sandbox-container, ai-gateway, autorag, auditlogs, logpush, dns-analytics, dex-analysis, casb, observability and demo-day tools carry none
  • packages/mcp-common/src/registration-context.ts:106-144 registerTool and accountTool both forward to server.registerTool with the given config (annotations included)
  • apps/radar/src/tools/radar.tools.ts:186-3338 61 context.registerTool calls, none with annotations
  • apps/cloudflare-one-casb/src/tools/integrations.tools.ts:33-245 toolDefinitions (11 tools) registered in a forEach at :245-249
  • apps/dex-analysis/src/tools/dex-analysis.tools.ts:577-598 local registerTool helper wraps context.accountTool; 18 calls in the file
  • apps/workers-bindings/src/tools/d1.tools.ts:113-122 d1_database_delete annotations {readOnlyHint: false, destructiveHint: true}; same pattern for hyperdrive_config_delete, kv_namespace_delete, kv_namespace_update, r2_bucket_delete
  • apps/sandbox-container/server/container-tools.ts:60-100 container_exec, container_file_delete, container_file_write registered without annotations
  • apps/browser-rendering/src/tools/browser.tools.ts:610 kill_browser_session and apps/graphql/src/tools/graphql.tools.ts:991 graphql_query ('Execute a GraphQL query...') registered without annotations
  • apps/radar/src/tools/radar.tools.ts:2383/2430/2478 get_bgp_timeseries, get_bgp_top_ases, get_bgp_top_prefixes descriptions mention BGP 'updates' (destructive-like by the word list only)

Using it more safely

  • Turn on approval for its write and delete tools. 9 of its 14 destructive-like tools don't tell your AI client they change things, so many clients won't ask you first. Set them to "ask every time" in your client's tool settings.
  • Give it the least access it needs: a scoped token or a test account, not your admin credentials, and only the folders or projects the task needs.
  • Check your own config for unpinned servers, broad folders and hard-coded tokens with the free MCP config checker (runs in your browser).

Shipping an AI agent that uses MCP servers and facing a security review? See how to answer the MCP question, or get your agent reviewed.

Compare with similar servers

Category: Cloud, DevOps & infrastructure MCP servers (all grades side by side, plus the safer setup for this kind of server).

For the maintainers

Add the badge to your README (it links back to this page, and updates when we re-check):

[![MCP safety: C](https://aireviewready.in/badge/mcp/cloudflare-mcp-server-cloudflare.svg)](https://aireviewready.in/mcp/servers/cloudflare-mcp-server-cloudflare/)

Fixed something, or think we got it wrong? Ask for a re-check and name the commit. We reply within 7 days. Code-level security issues are never published here; they're reported privately first.