@playwright/mcp
MCP server for browser automation that lets LLMs interact with web pages through structured accessibility snapshots, bypassing the need for screenshots.
浏览器自动化
npm 0 个平台
0 项功能
安装
npx -y @playwright/mcp
把上面的配置写入 MCP 客户端的配置文件(Claude Desktop 为 claude_desktop_config.json),重启客户端后生效。
{
"mcpServers": {
"playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
],
"env": {
"PLAYWRIGHT_MCP_CAPS": "<PLAYWRIGHT_MCP_CAPS>",
"PLAYWRIGHT_MCP_HOST": "<PLAYWRIGHT_MCP_HOST>",
"PLAYWRIGHT_MCP_PORT": "<PLAYWRIGHT_MCP_PORT>",
"PLAYWRIGHT_MCP_CONFIG": "<PLAYWRIGHT_MCP_CONFIG>",
"PLAYWRIGHT_MCP_DEVICE": "<PLAYWRIGHT_MCP_DEVICE>",
"PLAYWRIGHT_MCP_BROWSER": "<PLAYWRIGHT_MCP_BROWSER>",
"PLAYWRIGHT_MCP_CODEGEN": "<PLAYWRIGHT_MCP_CODEGEN>",
"PLAYWRIGHT_MCP_SANDBOX": "<PLAYWRIGHT_MCP_SANDBOX>"
}
}
}
}把上面的配置写入 MCP 客户端的配置文件(Claude Desktop 为 claude_desktop_config.json),重启客户端后生效。
数据来源:公开的 MCP Server 目录。本站为独立第三方目录,与各 MCP Server 维护方均无隶属或背书关系;名称与简介如实标注,介绍文案由本站再加工。