Apache-2.0 · Plugins

Playwright MCP

Model Context Protocol server that exposes Playwright browser automation capabilities to AI agents for web interaction and testing.

18K stars 0.6K forks Apache-2.0 license 2026-06-24 verified
bash
$# Playwright MCP
$pip install playwright-mcp
$npx playwright-mcp --help
Open sourceLocal firstSelf-hostedMCP
Overview

What 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.

Ecosystem

Tags & capabilities

pluginprotocolmcpbrowser automationconnectorstool callingopen sourceself hosted
FAQ

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.

Decision brief

Should you use Playwright MCP?

JSON
Best for
  • Developers building browser-based AI agents
  • Teams using MCP-compatible agent hosts for web automation
  • Builders who need visual web interaction in agent workflows
Not for
  • Teams that need only deterministic testing without AI
  • Workflows already using browser-use for LLM-native browser control
Trust and freshness
  • Verified 2026-06-24
  • License: Apache-2.0
  • Repo: microsoft/playwright-mcp
  • Open-source signal
Deployment

self hosted

Permission surface

browser, shell/files, memory, external services

Decision signals

Local first, Self-hostable, MCP, API

Agent packet

Structured decision data for Playwright MCP

This packet is the compact machine-readable view agents should use before following source links or taking action.

Capabilities

plugin, mcp, browser automation, protocol, connectors, tool calling

Constraints

open source, self hosted, mcp compatible

Deployment

self hosted

Permission surface

browser, shell/files, memory, external services

Recommended workflows

Browser automation, Coding agent workflow, Connector or protocol layer

Overview

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.

Facts

Known metadata and operating surface

These fields are separated from editorial interpretation so agents can reason over facts and missing checks.

Resource type plugin
Category Plugins
Maturity active
Difficulty Unknown
License Apache-2.0
Pricing open source
Verified 2026-06-24
Source confidence high
Risk level elevated
Fit matrix

Where Playwright MCP fits in an agent stack

strong

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.
strong

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.
strong

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.
partial

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.
partial

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.
partial

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.
Inputs and outputs

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
Evidence

Sources, claims, and missing checks

Claims are marked separately from source links so future crawlers and reviewers can update them without rewriting the page.

verified

Playwright MCP is listed as open source.

License metadata: Apache-2.0
verified

Playwright MCP has a recorded GitHub repository: microsoft/playwright-mcp.

Resource facts and GitHub source link.
inferred

Playwright MCP supports these recorded deployment modes: self hosted.

OpenAgent decision signal metadata.
inferred

Playwright MCP is tagged with plugin, mcp, browser automation, protocol capabilities.

OpenAgent capability taxonomy.
Missing checks
  • Repository freshness has not been recorded.
Next action

How to start evaluating Playwright MCP

Inspect repository

Check license, recent activity, issues, examples, and security-sensitive code paths.

Open source

Read setup docs

Use docs as the source of truth for installation and supported interfaces.

Open source
Compare

Alternatives and nearby resources

Use related resources to compare category fit, license, deployment model, and first-workflow behavior.

FAQ

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.