MCP server · Audited from source
Cloudflare Playwright MCP server
by cloudflare/playwright-mcpApache-2.0 licenceAudited 6 Oct 2026 · source 0a22c34195c5
Is it safe? With care — CAUTION, grade B (86/100). It exposes 30 tools: 25 read, 4 write and 1 destructive. The audit recorded 15 findings (0 critical, 0 high, 2 medium, 12 low). Maintainer's description: Playwright MCP fork that works with Cloudflare Browser Rendering
Cite
Cite this page
ModelsAtlas. “Cloudflare Playwright MCP server (cloudflare/playwright-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/cloudflare/cloudflare-playwright
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
15 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
- FilesystemDeclared4 observations
- NetworkNone observedNothing seen in the source
- ShellDeclared1 observation
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | WARN 13 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
cloudflareOrganizationAccount type recorded when we read the repository. - PackagePublished on npm
@playwright/mcpat version 0.0.30 - LicenceApache-2.0From the repository, as read at the audited commit.
- Last push6 months agoActivity of the repository when we read it.
- Source commit read0a22c34195c5The audit covers exactly this commit, read on 6 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory30 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (15)
Sorted by severity
MEDIUMHard-coded secretssecret.private_key · tests/testserver/key.pem:1
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
browser_drag
- Why
- 1 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injectioncode.eval_exec · cloudflare/example/worker-configuration.d.ts:2210
exec(input?: (string | URLPatternInit), baseURL?: string): URLPatternResult | null;
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · cloudflare/example/worker-configuration.d.ts:4635
exec(query: string): Promise<D1ExecResult>;
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWFilesystem / pathfs.traversal · cloudflare/src/index.ts:7
import { createConnection } from '../../src/index.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · cloudflare/src/index.ts:8
import { ToolCapability } from '../../config.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/tool.ts:21
import type { ToolCapability } from '../../config.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/cdp.spec.ts:87
path.join(__filename, '../../cli.js'), '--device=Pixel 5', '--cdp-endpoint=http://localhost:1234',
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.decode_call · cloudflare/example/worker-configuration.d.ts:206
atob(data: string): string;
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.decode_call · cloudflare/example/worker-configuration.d.ts:292
declare function atob(data: string): string;
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWContainer / deploypriv.container · tests/fixtures.ts:176
const dockerArgs = ['run', '--rm', '-i', '--network=host', '-v', `${test.info().project.outputDir}:/app/test-results`];- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · cloudflare/example/package.json
@cloudflare/playwright-mcp, @types/node, typescript, wrangler
- Why
- 4 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · cloudflare/package.json
@cloudflare/playwright, @modelcontextprotocol/sdk, agents, yaml, zod-to-json-schema, @cloudflare/workers-types, vite
- Why
- 7 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, commander, debug, mime, ws, zod-to-json-schema, @eslint/eslintrc, @eslint/js
- Why
- 20 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · docs/imgs/claudemcp.gif
docs/imgs/claudemcp.gif
- Why
- 7201224 bytes not read
- Fix
- —
Tools it exposes
30 declared in source · 1 destructive
1 tool 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 | Risk | What it does |
|---|---|---|
browser_drag | destructive | Perform drag and drop between two elements |
browser_file_upload | write | Upload one or multiple files |
browser_install | write | Install the browser specified in the config. Call this if you get an error about the browser not being installed. |
browser_pdf_save | write | Save page as PDF |
browser_screen_move_mouse | write | Move mouse to a given position |
browser_click | read | Perform click on a web page |
browser_close | read | Close the page |
browser_console_messages | read | Returns all console messages |
browser_generate_playwright_test | read | Generate a Playwright test for given scenario |
browser_handle_dialog | read | Handle a dialog |
browser_hover | read | Hover over element on page |
browser_navigate | read | Navigate to a URL |
browser_navigate_back | read | Go back to the previous page |
browser_navigate_forward | read | Go forward to the next page |
browser_network_requests | read | Returns all network requests since loading the page |
browser_press_key | read | Press a key on the keyboard |
browser_resize | read | Resize the browser window |
browser_screen_capture | read | Take a screenshot of the current page |
browser_screen_click | read | Click left mouse button |
browser_screen_drag | read | Drag left mouse button |
browser_screen_type | read | Type text |
browser_select_option | read | Select an option in a dropdown |
browser_snapshot | read | Capture accessibility snapshot of the current page, this is better than screenshot |
browser_tab_close | read | Close a tab |
browser_tab_list | read | List browser tabs |
browser_tab_new | read | Open a new tab |
browser_tab_select | read | Select a tab by index |
browser_take_screenshot | read | Take a screenshot of the current page. You can |
browser_type | read | Type text into editable element |
browser_wait_for | read | Wait for text to appear or disappear or a specified time to pass |
Install
Package version 0.0.30 · audited commit 0a22c34
Read the findings first. The most severe is Hard-coded secrets (medium) at tests/testserver/key.pem.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.0.30. The audit covers commit 0a22c34 only.
claude mcp add mcp -- npx -y @playwright/[email protected]
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/[email protected]"
]
}
}
}The command pins the package version recorded in the source (0.0.30); the audit covers commit 0a22c34195c5. Transport: sse · stdio · streamable-http. No environment variables required.
Audit history
- !CAUTION B 86 / 100
First audit ·
0a22c34195c5
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/cloudflare/cloudflare-playwright/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Cloudflare Playwright MCP server
What is the Cloudflare Playwright MCP server?
What tools does Cloudflare Playwright expose?
Is Cloudflare Playwright safe to connect to an agent?
What credentials does Cloudflare Playwright need?
How does Cloudflare Playwright run?
How current is this page?
Sources
- cloudflare/playwright-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 0a22c34195c5Observed · 6 Oct 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 is the Cloudflare Playwright MCP server?
- What tools does Cloudflare Playwright expose?
- Is Cloudflare Playwright safe to connect to an agent?