- Run
npx chrome-devtools-mcp@latest --helpto test if the MCP server runs on your machine. - Make sure that your MCP client uses the same npm and node version as your terminal.
- When configuring your MCP client, try using the
--yesargument tonpxto auto-accept installation prompt. - Find a specific error in the output of the
chrome-devtools-mcpserver. Usually, if you client is an IDE, logs would be in the Output pane.
This usually indicates either a non-supported Node version is in use or that the
npm/npx cache is corrupted. Try clearing the cache, uninstalling
chrome-devtools-mcp and installing it again. Clear the cache by running:
rm -rf ~/.npm/_npx # NOTE: this might remove other installed npx executables.
npm cache clean --forceThis indicates that the browser could not be started. Make sure that no Chrome instances are running or close them. Make sure you have the latest stable Chrome installed and that your system is able to run Chrome.