Atlas / MCP servers / cloudflare / Workers

WorkersCAUTION

mcp/cloudflare/workers

Talk to a Cloudflare Worker from Claude Desktop!

Verdict
CAUTION
Grade
B
Trust score
89 /100
Exposed tools
1 1r · 0w · 0d
Transport
stdio
License
Apache-2.0
Stars
645
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Talk to a Cloudflare Worker from Claude Desktop!
[!WARNING] You should start here instead — and build a remote MCP server You can connect to remote MCP servers from Claude Desktop, Cursor, and other clients using mcp-remote.

What is workers-mcp?

This package provides both the CLI tooling and the in-Worker logic to connect Claude Desktop (or any MCP Client) to a Cloudflare Worker on your account, so you can customise it to suit your needs. It works via a build step that can translate TypeScript methods of your Worker like this:

export class ExampleWorkerMCP extends WorkerEntrypoint {
/**
* Generates a random number. This is extra random because it had to travel all the way to
* your nearest Cloudflare PoP to be calculated which... something something lava lamps?
*
* @return {string} A message containing a super duper random number
* */
async getRandomNumber() {
return `Your random number is ${Math.random()}`
}

// ...etc
}

...into MCP tools that a local Node.js server can expose to MCP clients. The Node.js server acts as a proxy, handling stdio transport locally, and calling the relevant method of your Worker running on Cloudflare. This allows you to expose any function or API in your app, or any service in Cloudflare's developer platform, back to a LLM in your coding agent, Claude Desktop or other MCP client.

Yes, I know that Math.random() works the same on a Worker as it does on your local machine, but don't tell Claude 🤫

Usage

Step 1: Generate a new Worker

Use create-cloudflare to generate a new Worker.

npx create-cloudflar
Read from source at commit 0123ff85e001OBSERVED · 2026-09-28
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add workers-mcp -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "workers-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (1)

1 read · 0 write · 0 destructive.

ToolRiskDescription
sessionIDreadA unique identifier to be used for all tool calls during this conversation. Unless the user specifies explicitly which
04

Trust audit

CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (3 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (6)

MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
src/scripts/secret.ts:43
console.log(`Generating shared secret...`)
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
src/scripts/secret.ts:57
console.log(`Found secret. Running ${chalk.yellow('wrangler secret put SHARED_SECRET')}`)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
examples/02-image-generation/src/index.ts:17
const binaryString = atob(response.image);
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/01-hello-world/package.json
@cloudflare/vitest-pool-workers, @cloudflare/workers-types, typescript, wrangler
Why it matters. 4 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/02-image-generation/package.json
workers-mcp, @cloudflare/vitest-pool-workers, @cloudflare/workers-types, typescript, wrangler
Why it matters. 5 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@clack/prompts, @modelcontextprotocol/sdk, @silvia-odwyer/photon-node, chalk, fs-extra, jsdoc-api, just-filter-object, just-map-values
Why it matters. 20 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-09-28 · audit v0.4.1 · source sha 0123ff85e001full audit observations/trust-audit/mcp-server/cloudflare__workers.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-09-280123ff85e001CAUTIONB89first audit
06

Questions

What is the Workers MCP server?

Talk to a Cloudflare Worker from Claude Desktop!

What tools does Workers expose?

1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Workers safe to connect to an agent?

With care. The audit graded it B (89/100) and found 6 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does Workers need?

No credential environment variables were found in its source, so it appears to need none.

How does Workers run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as workers-mcp at 0.0.13.

How current is this page?

The grade is for one exact copy of the source (0123ff85e001), read on 2026-09-28. The repository is watched and re-audited when it changes.

Advertisement