MCP·2A0F83
M

playwright-mcp

By microsoft·Visit Source
通过大型语言模型实现浏览器自动化的Playwright MCP
2025年4月16日
2 months ago
2 Clicks
About playwright-mcp

通过大型语言模型实现浏览器自动化的Playwright MCP. playwright-mcp is a Model Context Protocol (MCP) server maintained by microsoft. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It is categorized under Tool/Playwright, AI/Automation and Tool/VSCode.

什么是MCP

Playwright MCP是一种模型上下文协议服务器,它使大型语言模型能够通过结构化的无障碍快照(而非基于像素的输入)与网页进行交互。该协议利用Playwright的无障碍树提供浏览器自动化功能。

如何使用MCP

MCP可通过VS Code的CLI或扩展按钮安装,支持JSON配置,提供快照(默认)和视觉两种模式。包含点击、输入、导航、标签页管理等多种交互指令。

MCP的用途

本协议特别适用于网页导航、表单填写、数据提取、自动化测试以及AI代理的常规浏览器交互。对于需要确定性网页交互但无需视觉模型的大型语言模型工作流尤为实用。

Repository Info
Stars:
31510
Forks:
2572
Watchers:
31510
Last Updated: 2 months ago

AIMCP authority

DR and traffic signal for the AIMCP public domain.

FAQ

Frequently asked questions

What is the playwright-mcp MCP server?

playwright-mcp is a Model Context Protocol server from microsoft. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.

How do I connect playwright-mcp to my AI client?

Add playwright-mcp to your MCP client configuration (Claude Desktop, Cursor, or Cline) as a stdio or SSE server, then restart the client so it picks up the new server.

Is playwright-mcp free to use?

playwright-mcp is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.

Sponsored

Vernclaw Plugins for OpenClaw

Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.