The installation command automatically executes an unpinned npm package
Source references: 3The configuration uses `npx -y chrome-devtools-mcp@latest`. `latest` can change with new releases, while `-y` suppresses installation confirmation, so starting the MCP may download and execute an unreviewed version different from the one previously used.
If a new release, publishing account, or dependency is compromised, code could run with the local permissions of the MCP process and affect workspace files, environment variables, or other local data. The supplied source does not show that such a compromise has occurred.
The MCP configuration tells `npx` to run a package tagged `@latest` with `-y`. The documentation explicitly says `-y` skips installation confirmation, so an initial or cache-dependent run may fetch and execute changing code without per-run user review. `--isolated` isolates the Chrome profile; it does not pin or verify the npm package.
"chrome-devtools": { "command": "npx", "args": ["-y", "chrome-devtools-mcp@latest", "--isolated"] }Show 2 other places
`-y` skips the npx install confirmation. By default the server launches Chrome with its own dedicated profile (under `~/.cache/chrome-devtools-mcp/`), separate from your personal browser; `--isolated` goes one step further and uses a temporary profile that is wiped when the browser closes. This is the right setup for most testing.Add the following to your project's `.mcp.json` or Claude Code settings: