STDIO浏览器和网页抓取MCP服务器零秘密泄漏审计

Playwright MCP 服务器 — 确定性浏览器可访问性快照

官方 Microsoft Playwright MCP 服务器通过结构化 ARIA 可访问性树而不是脆弱的像素屏幕截图来驱动无头或有头 Chromium/Firefox/WebKit。

一键式客户端和运行时配置

{
  "mcpServers": {
    "playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}

社区设置说明和制作评论 (1)

@marcus-qa2026-11-12

Accessibility snapshots use ~8x fewer tokens than vision screenshot loops in Cursor and never miss Shadow DOM buttons.

发布设置注释或验证提示

公开的 MCP 工具和资源架构检查器

工具/资源标识符输入参数执行行为
playwright_mcp_extracturl_or_query: string, max_chars?: numberOfficial Microsoft Playwright MCP server driving headless or headed Chromium/Firefox/WebKit via structured ARIA accessibility trees ins.
playwright_mcp_metadatatarget: stringReturns structured page headings, canonical links, and HTTP response diagnostics.