Playwright MCP Server

local-only server

The server can only run on the client’s local machine because it depends on local resources.

剧作家 MCP 服务器

一个使用 Playwright 提供浏览器自动化功能的模型上下文协议 (MLM) 服务器。该服务器使 LLM 能够在真实的浏览器环境中与网页交互、截取屏幕截图并执行 JavaScript。

截屏

文档| API 参考

安装

您可以使用 npm、mcp-get 或 Smithery 安装该软件包:

使用 npm:

npm install -g @executeautomation/playwright-mcp-server

使用 mcp-get:

npx @michaellatman/mcp-get@latest install @executeautomation/playwright-mcp-server

使用 Smithery

要通过Smithery自动为 Claude Desktop 安装 Playwright MCP:

npx @smithery/cli install @executeautomation/playwright-mcp-server --client claude

使用 Playwright Server 的配置

以下是使用 Playwright 服务器的 Claude Desktop 配置:

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

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

使用 Playwright 实现浏览器自动化的服务器,允许与网页交互、捕获屏幕截图以及通过 LLM 在浏览器环境中执行 JavaScript。

  1. Screenshot
    1. Documentation | API reference
      1. Installation
        1. Configuration to use Playwright Server
          ID: wtpg84vbx5