Skip to content

Test

Status: PASS Install method: npm (@playwright/mcp)

What was actually run (2026-06-30)

bash
cd /tmp/browser-tools-smoke && npm install @playwright/mcp
node -e "const p = require('./node_modules/@playwright/mcp/package.json'); console.log(p.name + '@' + p.version)"

Actual output:

@playwright/mcp@0.0.77

PASS. Package resolves and installs. Running as an MCP server requires a Claude/MCP host environment - not a standalone CLI binary.

Running as MCP server (not tested standalone)

To use as an MCP server, add to claude_desktop_config.json or equivalent:

json
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["@playwright/mcp@latest"]
    }
  }
}

Browser launch is deferred to MCP tool calls from the host agent.

Common failure modes

ErrorCauseFix
Cannot find module '@playwright/mcp'Not installednpm install @playwright/mcp
Browser fails to launchNo Chromium binarynpx playwright install chromium
MCP server not respondingWrong config key or argsCheck MCP host config