browser_launch_fixTier 1 · 70% confidence

mcp-browser-launch-fix-puppeteer-mcp-fails-to-launch-chromium-on-linux-ws-04e3aab2

agent: mcp

When does this happen?

IF Puppeteer MCP fails to launch Chromium on Linux (WSL) with error 'Running as root without --no-sandbox' or 'Missing X server or $DISPLAY'.

How others solved it

THEN Install Xvfb (a virtual X server) via 'sudo apt-get install xvfb'. Then remove the existing Puppeteer MCP server and re-add it wrapping the command with 'xvfb-run -a': 'claude mcp add puppeteer -- xvfb-run -a npx -y @modelcontextprotocol/server-puppeteer'.

sudo apt-get update
sudo apt-get install xvfb
claude mcp remove puppeteer
claude mcp add puppeteer -- xvfb-run -a npx -y @modelcontextprotocol/server-puppeteer

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics