MCP server · Audited from source
Cloudflare AI MCP server
by cloudflare/aiMIT licenceAudited 25 Sep 2026 · source 0c7addca2977
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).
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
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
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
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
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
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
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
.DS_Store
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.symlink · demos/mcp-server-bearer-auth/static/img
demos/mcp-server-bearer-auth/static/img
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · demos/remote-mcp-server-autorag/static/img
demos/remote-mcp-server-autorag/static/img
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · demos/remote-mcp-server-descope-auth/static/img
demos/remote-mcp-server-descope-auth/static/img
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · demos/remote-mcp-server/static/img
demos/remote-mcp-server/static/img
- Why
- link not followed
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
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
LOWFilesystem / pathfs.traversal · demos/mcp-stytch-b2b-okr-manager/api/lib/auth.ts:5
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
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
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
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
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
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
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
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
atob(data: string): string;
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
41 declared in source · 2 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.
| Tool | What it does | Risk |
|---|---|---|
deleteKeyResult | Remove a key result from a specific objective | destructive |
deleteObjective | Remove an existing top-level objective from the organization | destructive |
add | No description in the source | write |
addKeyResult | Add a new key result to a specific objective | write |
addObjective | Add a new top-level objective for the organization | write |
calculator | Add two numbers. Returns their sum. Always use this tool for math. | write |
createTodo | Add a new TODO task | write |
postMessage | Attempt to post a message to a channel (will fail due to read-only permissions) | write |
setKeyResultAttainment | Set the attainment value for a specific key result in a specific objective | write |
write_data | Create and modify your data | write |
CountryCapital | A country | read |
Result | A boolean result | read |
calculate | No description in the source | read |
calculate_bmi | Calculate BMI given weight in kg and height in meters | read |
deleteTodo | Mark a TODO as deleted | read |
generateImage | Generate an image using the | read |
getChannelMessages | Get recent messages from a specific channel | read |
getCurrentUserInfo | Get current user info from Logto | read |
getToken | No description in the source | read |
getUserInfo | Get authenticated user info from Descope | read |
get_current_time | Get the current UTC time | read |
get_time | t | read |
get_weather | Gets the weather for a specified location | read |
list-billing | List the current user | read |
list-todos | List the current user | read |
listChannels | Get a list of channels from your Slack workspace | read |
listObjectives | View all objectives and key results for the organization | read |
markTodoComplete | Mark a TODO as complete | read |
multiply | Multiply two numbers | read |
noop | noop | read |
ping | Ping | read |
random_number | Generate a random number between min and max | read |
read_data | Access your stored data | read |
read_profile | Read your basic profile information | read |
reverse_string | Reverse a string | read |
search | Search the web | read |
search_events | Search the calendar | read |
sum | Sum of two numbers | read |
userInfoOctokit | Get user info from GitHub, via Octokit | read |
web_scrape | Fetch and extract text content from a webpage URL. Only works with public HTTP/HTTPS URLs. | read |
whoami | Get information about your Slack user | read |
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
- ✕BLOCK F 43 / 100
First audit ·
0c7addca2977
README badge
Badges show the current verdict, BLOCK included
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?
Is Cloudflare AI safe to connect to an agent?
What credentials does Cloudflare AI need?
How current is this page?
I already installed Cloudflare AI. What should I do?
Can the verdict change?
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.
- What tools does Cloudflare AI expose?
- Is Cloudflare AI safe to connect to an agent?
- What credentials does Cloudflare AI need?