Skip to main content

VS Code

一键安装

🌐 One-click install

点击下面的其中一个按钮直接安装:

🌐 Click one of the buttons below to install directly:

Install in VS Code Install in VS Code Insiders

命令行接口安装

🌐 CLI install

code --add-mcp '{"name":"playwright","command":"npx","args":["@playwright/mcp@latest"]}'

手动设置

🌐 Manual setup

按照 MCP 安装指南 并使用标准配置

🌐 Follow the MCP install guide and use the standard configuration.

安装完成后,Playwright MCP 服务器将可以与你在 VS Code 中的 GitHub Copilot 代理一起使用。

🌐 After installation, the Playwright MCP server will be available for use with your GitHub Copilot agent in VS Code.