Home/Developer Tools/playwright-mcp
playwright-mcp logo

playwright-mcp

microsoft/playwright-mcp

Playwright MCP server

GraphCanon updated today · GitHub synced today · 28 views this month

36k stars3.1k forksLast push 4d TypeScript Apache-2.0

Decision brief

Playwright MCP server implementation in TypeScript under Apache-2.0 license.

Good fit when

  • Need a TypeScript-based Playwright MCP server to scale your automated browser testing.
  • Looking for Playwright integration that supports the MCP (Multi-client Protocol) for better scalability and client-server architecture.

Avoid when

  • Don't require TypeScript or are looking for a different language implementation of playwright MCP services.
  • Do not need multi-client support or can manage with single-client interactions without needing an MCP server setup.

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Adoption

Package downloads where a registry match exists. GitHub stars (36,452) are secondary evidence.

npm downloads (30d)
24,599,365·npm downloads API·today

Maintenance and security

Full trust report
Maintenance
Very active (3d since push)
As of today
Provenance
Not a fork · Organization account
As of today
Security (OSV)
No MCP manifest
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Backing

Company context for Microsoft. Display-only - separate from trust and ranking.

Company
Microsoft·GitHub org profile·1mo
Employees
221,000·Wikidata (P1128 employees)·1mo
Commercial model
Pure OSS·GitHub org profile (public repos)·1mo

Install

npm install playwright-mcp
npm

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A repository focused on the Playwright MCP server implementation.

Capability facts

Deploy
Self-host

Source: dockerfile:Dockerfile · Aug 25, 2026

Docker
Dockerfile present

Source: dockerfile:Dockerfile · Aug 25, 2026

CLI
CLI entrypoint

Source: package.json:bin|scripts · Aug 25, 2026

MCP server
Ships MCP server

Source: package.json:@modelcontextprotocol/* · Aug 25, 2026

Languages
typescript, javascript

Source: github.language+package.json · Aug 25, 2026

Categories

Graph entities

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Node.js runtimeNode.js

Source: README excerpt (regex_v1, Aug 25, 2026)

- Node.js 18 or newer
Source link
stdio transportstdio

Source: README excerpt (regex_v1, Aug 25, 2026)

"type": "stdio",
Source link
Works with Claude DesktopClaude Desktop

Source: README excerpt (regex_v1, Aug 25, 2026)

- VS Code, Cursor, Windsurf, Claude Desktop, Goose, Grok, Junie or any other MCP client
Source link

Tags

README

Requirements

  • Node.js 18 or newer
  • VS Code, Cursor, Windsurf, Claude Desktop, Goose, Grok, Junie or any other MCP client

Getting started

First, install the Playwright MCP server with your client.

Standard config works in most of the tools:

{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "@playwright/mcp@latest"
      ]
    }
  }
}

Install in VS Code Install in VS Code Insiders

Amp

Add via the Amp VS Code extension settings screen or by updating your settings.json file:

"amp.mcpServers": {
  "playwright": {
    "command": "npx",
    "args": [
      "@playwright/mcp@latest"
    ]
  }
}

Amp CLI Setup:

Add via the amp mcp add command below

amp mcp add playwright -- npx @playwright/mcp@latest
Antigravity

Add via the Antigravity settings or by updating your configuration file:

{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "@playwright/mcp@latest"
      ]
    }
  }
}
Claude Code

Use the Claude Code CLI to add the Playwright MCP server:

claude mcp add playwright npx @playwright/mcp@latest
Claude Desktop

Follow the MCP install guide, use the standard config above.

Cline

Follow the instruction in the section Configuring MCP Servers

Example: Local Setup

Add the following to your cline_mcp_settings.json file:

{
  "mcpServers": {
    "playwright": {
      "type": "stdio",
      "command": "npx",
      "timeout": 30,
      "args": [
        "-y",
        "@playwright/mcp@latest"
      ],
      "disabled": false
    }
  }
}
Codex

Use the Codex CLI to add the Playwright MCP server:

codex mcp add playwright npx "@playwright/mcp@latest"

Alternatively, create or edit the configuration file ~/.codex/config.toml and add:

[mcp_servers.playwright]
command = "npx"
args = ["@playwright/mcp@latest"]

For more information, see the Codex MCP documentation.

Copilot

Use the Copilot CLI to interactively add the Playwright MCP server:

/mcp add

Alternatively, create or edit the configuration file ~/.copilot/mcp-config.json and add:

{
  "mcpServers": {
    "playwright": {
      "type": "local",
      "command": "npx",
      "tools": [
        "*"
      ],
      "args": [
        "@playwright/mcp@latest"
      ]
    }
  }
}

For more information, see the Copilot CLI documentation.

Cursor

Click the button to install:

[Install in Cursor](https://cursor.com/en/install-m

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.