- Developers building browser-based AI agents
- Teams using MCP-compatible agent hosts for web automation
- Builders who need visual web interaction in agent workflows
Playwright MCP
Model Context Protocol server that exposes Playwright browser automation capabilities to AI agents for web interaction and testing.
# Playwright MCPpip install playwright-mcpnpx playwright-mcp --helpWhat is Playwright MCP?
Playwright MCP is an open-source Model Context Protocol server from Microsoft that provides AI agents with browser automation capabilities through standardized MCP tools. It enables agents to navigate pages, click elements, fill forms, take screenshots, and run Playwright tests.
Tags & capabilities
Questions
What is Playwright MCP?
Playwright MCP is an open-source Model Context Protocol server from Microsoft that exposes Playwright browser automation capabilities to AI agents, enabling web navigation and interaction through standardized MCP tools.
Is Playwright MCP free?
Yes, Playwright MCP is open-source under the Apache-2.0 license and maintained by Microsoft. It can be self-hosted as a Node.js process.
How does Playwright MCP differ from browser-use?
Playwright MCP provides browser control through the MCP protocol, making it compatible with any MCP-enabled agent host. browser-use is a Python framework designed specifically for LLM-native browser control with natural language goal setting.
Which agents support Playwright MCP?
Any MCP-compatible agent host can use Playwright MCP, including Claude Desktop, OpenClaw, Cline, Continue.dev, and other MCP-enabled tools.
Should you use Playwright MCP?
- Teams that need only deterministic testing without AI
- Workflows already using browser-use for LLM-native browser control
- Verified 2026-06-24
- License: Apache-2.0
- Repo: microsoft/playwright-mcp
- Open-source signal
self hosted
browser, shell/files, memory, external services
Local first, Self-hostable, MCP, API
Structured decision data for Playwright MCP
This packet is the compact machine-readable view agents should use before following source links or taking action.
plugin, mcp, browser automation, protocol, connectors, tool calling
open source, self hosted, mcp compatible
self hosted
browser, shell/files, memory, external services
Browser automation, Coding agent workflow, Connector or protocol layer
What Playwright MCP does
What it is
Playwright MCP is a plugin in the plugins category. Playwright MCP is an open-source Model Context Protocol server from Microsoft that provides AI agents with browser automation capabilities through standardized MCP tools. It enables agents to navigate pages, click elements, fill forms, take screenshots, and run Playwright tests.
Why it matters
Agents that need to interact with web pages currently require custom scraping or API integrations. Playwright MCP gives agents direct browser control through an MCP interface, enabling visual web interaction without custom code.
How to evaluate it
Evaluate Playwright MCP by starting from the official sources, checking its repo, docs, mcp interface surface, and running one narrow workflow before expanding scope.
Known metadata and operating surface
These fields are separated from editorial interpretation so agents can reason over facts and missing checks.
Where Playwright MCP fits in an agent stack
Browser automation
Playwright MCP has multiple signals for browser automation, including matching tags, capabilities, category, or positioning.
- Run one non-sensitive website task and inspect clicks, waits, retries, and changed URLs.
- Confirm official docs, current maintenance, license, and runtime constraints before production use.
Coding agent workflow
Playwright MCP has multiple signals for coding agent workflow, including matching tags, capabilities, category, or positioning.
- Run a small repository change and inspect the diff, tests, and rollback path.
- Confirm official docs, current maintenance, license, and runtime constraints before production use.
Connector or protocol layer
Playwright MCP has multiple signals for connector or protocol layer, including matching tags, capabilities, category, or positioning.
- Connect one low-risk service, then inspect schemas, auth scope, errors, and logs.
- Confirm official docs, current maintenance, license, and runtime constraints before production use.
Evaluation and observability
Playwright MCP has at least one signal for evaluation and observability, but should be checked against a real task before adoption.
- Add one repeatable test case and confirm results can run again in review or CI.
- Confirm official docs, current maintenance, license, and runtime constraints before production use.
Local or private AI stack
Playwright MCP has at least one signal for local or private ai stack, but should be checked against a real task before adoption.
- Verify hardware requirements, data path, storage, and whether all calls stay in your environment.
- Confirm official docs, current maintenance, license, and runtime constraints before production use.
Memory or RAG workflow
Playwright MCP has at least one signal for memory or rag workflow, but should be checked against a real task before adoption.
- Create, update, retrieve, correct, and delete memory or retrieval objects with real data.
- Confirm official docs, current maintenance, license, and runtime constraints before production use.
What an agent should inspect
Likely inputs
- Web pages, DOM state, screenshots, forms, or browser sessions
- Repositories, files, issues, terminal output, and test results
- Tool schemas, API requests, service resources, and auth scopes
- Prompts, messages, documents, images, or model inputs
- Official setup instructions and a small real workflow
Likely outputs
- Action traces, changed pages, extracted data, or completed browser steps
- Diffs, commits, explanations, test results, or review notes
- A decision on whether this resource fits the target workflow
Sources, claims, and missing checks
Claims are marked separately from source links so future crawlers and reviewers can update them without rewriting the page.
Repository source for code, license, issues, releases, and implementation details.
Documentation docsDocumentation source for setup, API shape, and operational behavior.
Playwright MCP is listed as open source.
License metadata: Apache-2.0Playwright MCP has a recorded GitHub repository: microsoft/playwright-mcp.
Resource facts and GitHub source link.Playwright MCP supports these recorded deployment modes: self hosted.
OpenAgent decision signal metadata.Playwright MCP is tagged with plugin, mcp, browser automation, protocol capabilities.
OpenAgent capability taxonomy.- Repository freshness has not been recorded.
How to start evaluating Playwright MCP
Inspect repository
Check license, recent activity, issues, examples, and security-sensitive code paths.
Open sourceRead setup docs
Use docs as the source of truth for installation and supported interfaces.
Open sourceAlternatives and nearby resources
Use related resources to compare category fit, license, deployment model, and first-workflow behavior.
Common questions about Playwright MCP
What is Playwright MCP?
Playwright MCP is an open-source Model Context Protocol server from Microsoft that exposes Playwright browser automation capabilities to AI agents, enabling web navigation and interaction through standardized MCP tools.
Is Playwright MCP free?
Yes, Playwright MCP is open-source under the Apache-2.0 license and maintained by Microsoft. It can be self-hosted as a Node.js process.
How does Playwright MCP differ from browser-use?
Playwright MCP provides browser control through the MCP protocol, making it compatible with any MCP-enabled agent host. browser-use is a Python framework designed specifically for LLM-native browser control with natural language goal setting.
Which agents support Playwright MCP?
Any MCP-compatible agent host can use Playwright MCP, including Claude Desktop, OpenClaw, Cline, Continue.dev, and other MCP-enabled tools.
Can Playwright MCP take screenshots?
Yes. Playwright MCP supports taking screenshots of web pages, filling forms, clicking elements, extracting page content, and running Playwright test scripts through its MCP tool interface.