microsoft/playwright

MCP Server

Playwright MCP Server - browser automation, screenshots, web scraping

Playwright browser automation MCP server. Navigate, click, fill forms, take screenshots, and interact with web pages.

MCP Server

  • Package: @playwright/mcp
  • Transport: stdio
  • Command: npx @playwright/mcp@latest

Authentication

None required

VariableRequiredDescription
No environment variables required

Available Tools

ToolDescription
browser_navigateNavigate to URL
browser_clickClick element
browser_fillFill form field
browser_screenshotTake screenshot
browser_snapshotAccessibility snapshot
browser_evaluateRun JavaScript
browser_select_optionSelect dropdown

Configuration Example

toml
[[mcp.servers]]
name = "playwright"
type = "stdio"
command = "npx"
args = ["-y", "@playwright/mcp"]
timeout_seconds = 60
tools = []

Notes: Uses accessibility trees — no vision models needed. 60+ CLI options. Supports Chrome, Firefox, WebKit.