Playwright MCP

by @microsoft · io.github.microsoft/playwright-mcp

Playwright Tools for MCP

Verified makerRuns on your machineLocal
Category
Browser automation
Connection
Local (npm)
Tools
Shown after install
Status
Runs on your computer

Connect it to your AI

Claude Code (npm)

claude mcp add playwright-mcp -- npx -y @playwright/mcp@0.0.84

Cursor, VS Code and other apps (mcp.json)

{
  "mcpServers": {
    "playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp@0.0.84"
      ]
    }
  }
}

Questions

What is the Playwright MCP server?

Playwright Tools for MCP. It is made by @microsoft and listed in the official MCP Registry as io.github.microsoft/playwright-mcp. MCP (Model Context Protocol) is the open standard that lets AI apps like Claude, ChatGPT and Cursor use outside tools.

How do I add Playwright to Claude?

In Claude Code, run: claude mcp add playwright-mcp -- npx -y @playwright/mcp@0.0.84

How do I add Playwright to ChatGPT?

ChatGPT only connects to remote MCP servers, and Playwright runs on your own computer. Use it from Claude, Cursor or another app that runs local servers.

How do I add Playwright to Cursor?

Open Cursor settings, go to MCP, choose "Add new MCP server" (or edit ~/.cursor/mcp.json) and add: { "mcpServers": { "playwright-mcp": { "command": "npx", "args": [ "-y", "@playwright/mcp@0.0.84" ] } } }

Does Playwright work right now?

It runs on your own computer, so it works once you install it. There is no remote server for us to check.

Is this your server? Get the badge for your README
chen.media/mcp badge

Markdown (GitHub README)

[![Verified maker on chen.media/mcp](https://chen.media/mcp/badge/github-microsoft-playwright-mcp.svg?type=verified)](https://chen.media/mcp/github-microsoft-playwright-mcp)

HTML (switches to dark mode on its own)

<a href="https://chen.media/mcp/github-microsoft-playwright-mcp"><picture><source media="(prefers-color-scheme: dark)" srcset="https://chen.media/mcp/badge/github-microsoft-playwright-mcp.svg?type=verified&theme=dark"><img src="https://chen.media/mcp/badge/github-microsoft-playwright-mcp.svg?type=verified" alt="Verified maker on chen.media/mcp" height="40"></picture></a>

More in Browser automation

See all