Navigate:
All Reposplaywright-mcp
~$PLAYWR0.5%

Playwright MCP: Browser automation via Model Context Protocol

Accessibility tree-based browser automation for LLMs.

LIVE RANKINGS • 06:51 AM • STEADY
TOP 25TOP 25TOP 25TOP 25TOP 25TOP 25TOP 25TOP 25TOP 25TOP 25TOP 25TOP 25
OVERALL
#11
5
DEVELOPER TOOLS
#4
1
30 DAY RANKING TREND
ovr#11
·Devel#4
STARS
25.3K
FORKS
2.1K
DOWNLOADS
3.2K
7D STARS
+118
7D FORKS
+15
See Repo:
Share:

Learn more about playwright-mcp

Playwright MCP is a Model Context Protocol server that exposes browser automation functionality to LLMs and AI agents. It uses Playwright's accessibility tree to represent page state as structured data, eliminating the need for screenshot analysis or vision models. The server operates deterministically by parsing the accessibility tree into actionable elements, reducing ambiguity in tool application. It runs on Node.js 18+ and integrates with various MCP clients including VS Code, Cursor, Claude Desktop, and other compatible environments.


1

Accessibility Tree Protocol

Exposes browser state as structured accessibility data instead of screenshots. LLMs parse semantic elements directly without vision models, enabling deterministic automation through well-defined DOM properties.

2

Deterministic Element Targeting

Operates on explicit accessibility semantics with defined roles and states. Eliminates ambiguity inherent in pixel-based approaches where visual interpretation can vary across models.

3

Multi-Client MCP Integration

Standard Model Context Protocol implementation works across VS Code, Cursor, Claude Desktop, and Goose. Single configuration enables browser automation in any compatible MCP client.


import { MCPClient } from '@modelcontextprotocol/sdk/client/index.js';

const client = new MCPClient();
await client.connect();

// Navigate to a website and click a button
await client.callTool('playwright_navigate', { url: 'https://example.com' });
await client.callTool('playwright_click', { selector: 'button[aria-label="Sign In"]' });

vv0.0.46

Maintenance release updates Playwright engine and adds debug logging for tool responses.

  • Upgrade to the latest Playwright version for underlying browser automation improvements.
  • Enable tool response logging to aid debugging of MCP server interactions.
vv0.0.45

Maintenance release fixes WSL client compatibility when connecting to Windows servers.

  • Upgrade to resolve connection failures when running MCP clients on WSL against Windows-hosted servers.
  • No breaking changes or new requirements are documented in this release.
vv0.0.44

Maintenance release with no documented changes. Release notes do not specify breaking changes, new features, or bug fixes.

  • Review commit history directly if upgrade impact assessment is required for production systems.
  • No action items are documented; treat as a routine dependency update unless internal testing reveals issues.

See how people are using playwright-mcp

Loading tweets...


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers