Appearance
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.77PASS. 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
| Error | Cause | Fix |
|---|---|---|
Cannot find module '@playwright/mcp' | Not installed | npm install @playwright/mcp |
| Browser fails to launch | No Chromium binary | npx playwright install chromium |
| MCP server not responding | Wrong config key or args | Check MCP host config |