mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2026-02-05 21:43:09 +00:00
Compare commits
3 Commits
v0.0.59
...
44fa8026c9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44fa8026c9 | ||
|
|
d6414a6426 | ||
|
|
c8a520fc48 |
@@ -2,6 +2,14 @@
|
|||||||
|
|
||||||
A Model Context Protocol (MCP) server that provides browser automation capabilities using [Playwright](https://playwright.dev). This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.
|
A Model Context Protocol (MCP) server that provides browser automation capabilities using [Playwright](https://playwright.dev). This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.
|
||||||
|
|
||||||
|
### Playwright MCP vs Playwright CLI
|
||||||
|
|
||||||
|
This package provides MCP interface into Playwright. If you are using a **coding agent**, you might benefit from using the [CLI+SKILLS](https://github.com/microsoft/playwright-cli) instead.
|
||||||
|
|
||||||
|
- **CLI**: Modern **coding agents** increasingly favor CLI–based workflows exposed as SKILLs over MCP because CLI invocations are more token-efficient: they avoid loading large tool schemas and verbose accessibility trees into the model context, allowing agents to act through concise, purpose-built commands. This makes CLI + SKILLs better suited for high-throughput coding agents that must balance browser automation with large codebases, tests, and reasoning within limited context windows.<br>**Learn more about [Playwright CLI with SKILLS](https://github.com/microsoft/playwright-cli)**.
|
||||||
|
|
||||||
|
- **MCP**: MCP remains relevant for specialized agentic loops that benefit from persistent state, rich introspection, and iterative reasoning over page structure, such as exploratory automation, self-healing tests, or long-running autonomous workflows where maintaining continuous browser context outweighs token cost concerns.
|
||||||
|
|
||||||
### Key Features
|
### Key Features
|
||||||
|
|
||||||
- **Fast and lightweight**. Uses Playwright's accessibility tree, not pixel-based input.
|
- **Fast and lightweight**. Uses Playwright's accessibility tree, not pixel-based input.
|
||||||
|
|||||||
Reference in New Issue
Block a user