Skip to content
← All MCP servers

Is the Puppeteer MCP server safe? What it can reach

What the Puppeteer MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.

Official serverChecked

The Puppeteer MCP server was a reference server from the MCP project and is now archived, with no security updates. It drives a real browser on your machine with no sign-in, so it can reach local files and internal addresses. Its README warns about this. The control that matters most is leaving it off, or running the Docker image.

Who maintains it

ImplementationKindStatus
@modelcontextprotocol/server-puppeteer (MCP reference server)Officialarchived
chrome-devtools-mcp (Chrome DevTools team, built on Puppeteer)Officialactive

It runs as a local process on your machine.

How it signs in

No sign-in. The server runs a browser as your user, so it carries your network position and any session cookies in that browser profile.

What its tools can do

KindTools
Readpuppeteer_navigate, puppeteer_screenshot
Writepuppeteer_click, puppeteer_hover, puppeteer_fill, puppeteer_select, puppeteer_evaluate
Can’t be undonenone documented

No tool is labeled destructive by the docs, but click, fill and evaluate act as you on whatever page is open, so a click on a delete or buy button cannot be undone by the server. puppeteer_navigate is listed as read because it only loads a page, but it is how the agent reaches local and internal addresses. The server also exposes resources: console://logs and screenshot://<name>. The archived package is marked deprecated on npm.

Built-in limits

OptionWhat it does
Docker imageThe README notes the Docker image runs headless Chromium in a container, while the npx version opens a browser window on your desktop.
allowDangerousA navigate argument that defaults to false. While false, launch args such as --no-sandbox and --disable-web-security throw errors.
PUPPETEER_LAUNCH_OPTIONS and ALLOW_DANGEROUSEnvironment variables for browser launch options. Setting ALLOW_DANGEROUS to true lifts the block on unsafe args, so leave it unset.

The risks

  • The README warns the server can reach local files and local or internal IP addresses, so an injected page could steer the agent to read file:// paths or hit internal admin pages.
  • puppeteer_evaluate runs any JavaScript in the page, which can read cookies, tokens and form data from sites the browser is logged in to.
  • The package is archived with no security fixes, so known browser or dependency flaws will not be patched here.
  • Page text and screenshots go to your LLM provider, including anything visible on an internal or logged-in page.

Limit it in Claude Code

Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:

claude mcp add --env PUPPETEER_LAUNCH_OPTIONS=... --env ALLOW_DANGEROUS=... puppeteer -- npx -y @modelcontextprotocol/server-puppeteer

Claude Code names MCP tools mcp__puppeteer__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:

{
  "permissions": {
    "deny": [
      "mcp__puppeteer__puppeteer_evaluate"
    ],
    "ask": [
      "mcp__puppeteer__puppeteer_navigate",
      "mcp__puppeteer__puppeteer_click",
      "mcp__puppeteer__puppeteer_fill",
      "mcp__puppeteer__puppeteer_select"
    ]
  }
}

Limit it in Codex

Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:

[mcp_servers.puppeteer]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-puppeteer"]
env_vars = ["PUPPETEER_LAUNCH_OPTIONS", "ALLOW_DANGEROUS"]
disabled_tools = ["puppeteer_evaluate"]

Checklist

  • Prefer a maintained server if you need browser control long term.
  • Use the Docker image so the browser has no access to your desktop profile.
  • Never set ALLOW_DANGEROUS.
  • Keep the browser logged out of anything you care about.

Checked against the vendor documentation on November 25, 2026. Puppeteer MCP server README (archived) · Archived MCP servers notice · chrome-devtools-mcp README

What Excellent covers

Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing