Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Cloudflare AI MCP server

by cloudflare/aiMIT licenceAudited 25 Sep 2026 · source 0c7addca2977

npm workers-ai-provider-gateway-test★ 1,171
✕BLOCKGrade F · 43/100 · 25 Sep 2026 · 0c7addc

Is it safe? No — BLOCK, grade F (43/100). It exposes 41 tools: 31 read, 8 write and 2 destructive. The audit recorded 37 findings (0 critical, 5 high, 6 medium, 26 low).

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Cloudflare AI MCP server (cloudflare/ai)”. Retrieved 25 Sep 2026. https://modelsatlas.com/mcp/cloudflare/cloudflare-ai

Why this is BLOCK. The audit found 0 critical and 5 high findings; the most severe is Code injection at demos/agent-scheduler/worker-configuration.d.ts:2501. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 25 Sep 2026

Trust score43/100✕BLOCK F
0 critical5 high6 medium26 low0 info

37 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared2 observations
  • NetworkDeclared6 observations
  • ShellDeclared5 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (37)

Sorted by severity · the 25 most severe of 37 are listed

HIGHCode injectioncode.eval_exec · demos/agent-scheduler/worker-configuration.d.ts:2501
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · demos/agent-scheduler/worker-configuration.d.ts:5285
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(query: string): Promise<D1ExecResult>;
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · demos/agent-task-manager-human-in-the-loop/worker-configuration.d.ts:2501
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · demos/agent-task-manager-human-in-the-loop/worker-configuration.d.ts:5285
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(query: string): Promise<D1ExecResult>;
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · demos/agent-task-manager/worker-configuration.d.ts:2501
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
MEDIUMInventory / provenanceinv.binary · demos/mcp-server-bearer-auth/.DS_Store
F-13 Inventory / provenanceCWE-1104Layer L0
.DS_Store
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
deleteKeyResult, deleteObjective
Why
2 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .oxfmtrc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.oxfmtrc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .oxlintrc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.oxlintrc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · demos/agent-scheduler/.oxfmtrc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.oxfmtrc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · demos/agent-scheduler/.oxlintrc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.oxlintrc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · demos/agent-task-manager-human-in-the-loop/.oxfmtrc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.oxfmtrc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · demos/mcp-stytch-b2b-okr-manager/api/lib/auth.ts:5
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { AuthenticationContext } from "../../types";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/ai-gateway-provider/test/e2e/gateway.e2e.test.ts:26
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { createAiGateway } from "../../src";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/ai-search-provider/test/e2e/fixtures/search-worker/src/index.ts:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { createAISearchNamespace } from "../../../../../src/index";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/tanstack-ai/test/e2e/fixtures/binding-worker/src/index.ts:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { createWorkersAiChat, type WorkersAiTextModel } from "../../../../../src/index";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/tanstack-ai/test/e2e/fixtures/binding-worker/src/index.ts:10
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { WorkersAiTTSAdapter } from "../../../../../src/adapters/workers-ai-tts";
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.metadata_ip · examples/tanstack-ai/worker/index.ts:429
F-04 Network egressCWE-200 · CWE-319Layer L1
hostname === "169.254.169.254" ||
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWObfuscation / stealthobf.decode_call · demos/agent-scheduler/worker-configuration.d.ts:216
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
atob(data: string): string;
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · demos/agent-scheduler/worker-configuration.d.ts:330
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
declare function atob(data: string): string;
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · demos/agent-task-manager-human-in-the-loop/worker-configuration.d.ts:216
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
atob(data: string): string;
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

41 declared in source · 2 destructive

31 read8 write2 destructive

2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
deleteKeyResultRemove a key result from a specific objectivedestructive
deleteObjectiveRemove an existing top-level objective from the organizationdestructive
addNo description in the sourcewrite
addKeyResultAdd a new key result to a specific objectivewrite
addObjectiveAdd a new top-level objective for the organizationwrite
calculatorAdd two numbers. Returns their sum. Always use this tool for math.write
createTodoAdd a new TODO taskwrite
postMessageAttempt to post a message to a channel (will fail due to read-only permissions)write
setKeyResultAttainmentSet the attainment value for a specific key result in a specific objectivewrite
write_dataCreate and modify your datawrite
CountryCapitalA countryread
ResultA boolean resultread
calculateNo description in the sourceread
calculate_bmiCalculate BMI given weight in kg and height in metersread
deleteTodoMark a TODO as deletedread
generateImageGenerate an image using theread
getChannelMessagesGet recent messages from a specific channelread
getCurrentUserInfoGet current user info from Logtoread
getTokenNo description in the sourceread
getUserInfoGet authenticated user info from Descoperead
get_current_timeGet the current UTC timeread
get_timetread
get_weatherGets the weather for a specified locationread
list-billingList the current userread
list-todosList the current userread
listChannelsGet a list of channels from your Slack workspaceread
listObjectivesView all objectives and key results for the organizationread
markTodoCompleteMark a TODO as completeread
multiplyMultiply two numbersread
noopnoopread
pingPingread
random_numberGenerate a random number between min and maxread
read_dataAccess your stored dataread
read_profileRead your basic profile informationread
reverse_stringReverse a stringread
searchSearch the webread
search_eventsSearch the calendarread
sumSum of two numbersread
userInfoOctokitGet user info from GitHub, via Octokitread
web_scrapeFetch and extract text content from a webpage URL. Only works with public HTTP/HTTPS URLs.read
whoamiGet information about your Slack userread

Safer alternatives

We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.

Audit history

  1. ✕BLOCK F 43 / 100

    First audit · 0c7addca2977

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Cloudflare AI MCP server

What tools does Cloudflare AI expose?
41 in total: 31 read-only, 8 that write, and 2 that can delete or overwrite (deleteKeyResult, deleteObjective). Every one is listed on this page with its risk.
Is Cloudflare AI safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (43/100) and found 5 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Cloudflare AI need?
It reads ANTHROPIC_API_KEY, CLOUDFLARE_AI_GATEWAY_TOKEN, CLOUDFLARE_API_TOKEN, CLOUDFLARE_GATEWAY_AUTH_TOKEN, CLOUDFLARE_GATEWAY_NAME_UNAUTH, DEEPSEEK_API_KEY, GEMINI_API_KEY, GOOGLE_API_KEY, GROK_API_KEY, OPENAI_API_KEY, OPENROUTER_API_KEY and XAI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (0c7addca2977), read on 2026-09-25. The repository is watched and re-audited when it changes.
I already installed Cloudflare AI. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • cloudflare/ai on GitHub — the source we read, its licence, stars and activityObserved · 25 Sep 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 0c7addca2977Observed · 25 Sep 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.