# Server Playwright MCP: istantanee deterministiche di accessibilità del browser (`playwright-mcp`)

> Server ufficiale Microsoft Playwright MCP che gestisce Chromium/Firefox/WebKit headless o headed tramite alberi di accessibilità ARIA strutturati invece di fragili screenshot di pixel.

- **Canonical URL:** https://syndipath.com/it/mcp/playwright-mcp
- **Runtime:** `npm` | **Transport:** STDIO | **License:** Apache-2.0 | **Package:** `@playwright/mcp`
- **Upvotes:** 1284 | **GitHub Stars:** 15420 | **Weekly Installs:** 128500
- **Security Note:** HTTP-200 verificato sul registro NPM (@playwright/mcp); eseguito tramite npx all'interno di una sessione STDIO con ambito area di lavoro.

## Quick CLI Setup
```bash
# Run directly via Node npx
npx -y @playwright/mcp

# Add to Claude Code CLI
claude mcp add playwright-mcp -- npx -y @playwright/mcp
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}
```

## Exposed MCP Tools
- `playwright_mcp_extract(url_or_query: string, max_chars?: number)`: Official Microsoft Playwright MCP server driving headless or headed Chromium/Firefox/WebKit via structured ARIA accessibility trees ins.
- `playwright_mcp_metadata(target: string)`: Returns structured page headings, canonical links, and HTTP response diagnostics.
