Playwright MCP icon

Playwright MCP

officialstdionpm
32.0kstars
Works withClaude DesktopCursorVS CodeWindsurf

About

Automate web browsers with LLMs using Playwright's accessibility tree.

Features

  • LLM-friendly accessibility tree interaction
  • Fast and lightweight browser automation
  • Deterministic tool application without screenshots
  • No vision models required
  • Supports multiple browser engines (Chromium, Firefox, WebKit)

What This Server Can Do

MCP servers expose three types of capabilities to AI clients. Here's what Playwright MCP supports.

Tools

Supported15 tools

Functions your AI client can call to perform actions — like querying a database, creating a file, or calling an API.

How to use: Tools run automatically when your AI client decides they're needed. Ask your AI assistant to perform a task, and it will invoke the right tool.

Resources

Not available

This server does not expose read-only data resources.

Prompts

Not available

This server does not provide pre-built prompt templates.

For the full list of available tools, resources, and prompts, check the README on GitHub.

Available Tools (5)

navigate

Navigates the browser to a specified URL.

snapshot

Captures a structured accessibility snapshot of the current page.

click

Clicks on an element identified by its selector or accessible name.

type

Types text into an input field or text area.

fill

Fills an input field or text area with a value, clearing existing content.

Alternative Implementations

Other MCP servers for the same service.

View all on service page

Frequently Asked Questions