Playwright MCP

● Active

io.github.microsoft/playwright-mcp

Playwright Tools for MCP

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp@0.0.86"
      ]
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add playwright-mcp -- npx -y @playwright/mcp@0.0.86
OpenAI Codex CLI
codex mcp add playwright-mcp -- npx -y @playwright/mcp@0.0.86
VS Code
code --add-mcp '{"name":"playwright-mcp","type":"stdio","command":"npx","args":["-y","@playwright/mcp@0.0.86"]}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Search & Web
Version
0.0.86
Registry
active
Published
11/18/2026

On GitHub

read Nov 17, 2026
Stars
40k
Forks
3.5k
Last push
Nov 17, 2026
License
Apache-2.0

TypeScriptmcpplaywright

From the README

Playwright MCP A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. 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 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. Learn more about Playwright CLI with SKILLS. • 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 • Fast and lightweight. Uses Playwright's accessibility tree, not pixel-based input. • LLM-friendly.…

Read the full README on GitHub →

Alternatives to Playwright MCP

Best Search & Web servers →

The most-starred Search & Web servers in the index, with their live-check result.

ServerStarsLast pushLive check
Browser Use120,955Nov 2026Working
Scrapling MCP Server102,926Nov 2026Local / not checked
Chrome DevTools MCP58,028Nov 2026Local / not checked
Chrome DevTools MCP58,014Nov 2026Local / not checked
com.puter MCP Server44,182Nov 2026Needs sign-in

Playwright MCP: questions people ask

Is Playwright MCP a remote or a local MCP server?
According to its entry in the official MCP registry, Playwright MCP ships as a local package (npm) that your client starts on your machine.
Is Playwright MCP still maintained?
Active: the repository's last commit 2 days ago. Last push Nov 17, 2026, 39,799 GitHub stars, Apache-2.0 licence. Read from GitHub on Nov 17, 2026.
How do I add Playwright MCP to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
Browse all Search & Web →

Add the badge to your site

Show visitors that Playwright MCP is listed here — it’s also the link we check for a free listing.

Playwright MCP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-microsoft-playwright-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Playwright MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Playwright MCP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-microsoft-playwright-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.