mcps / playwright
MCPExplorer Verified

Playwright MCP server

Give your agent a real browser.

Browserby Microsoftdestructive capableFree · open-source

01What it is

Microsoft's Playwright MCP server drives a real browser via structured accessibility snapshots (no screenshots needed): navigate, click, fill forms, and extract content — deterministic web automation for agents.

Who it’s for: Anyone who needs an agent to reliably drive web apps — testing, scraping, or task automation.


02Highlights
Accessibility-first
Acts on the accessibility tree, so automation is fast and reliable — not pixel-guessing.
Full web control
Navigate, click, type, and read pages to automate any web app.

03Add it to your agent

Local MCP server — runs on your machine via the command below.

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

05What it can do · 24 tools

The real tool surface, each labeled by risk. Full trust breakdown on the server page · safety review: Is Playwright MCP safe?.

ToolRisk
browser_fill_form
Fill multiple form fields
unknown
browser_select_option
Select an option in a dropdown
unknown
browser_network_request
Returns full details (headers and body) of a single network request, or a single part if `part` is set. Use the number from browser_network_requests.
read
browser_network_requests
Returns a numbered list of network requests since loading the page. Use browser_network_request with the number to get full details.
read
browser_find
Search the accessibility snapshot of the current page for text or a regular expression. Returns matching snapshot nodes with a few lines of surrounding context (like search snippets), each shown under its path from the root of the tree, which is cheaper than capturing the whole snapshot when you only need to locate an element and its ref.
read
browser_tabs
List, create, close, or select a browser tab.
read
browser_navigate
Navigate to a URL
unknown
browser_navigate_back
Go back to the previous page in the history
unknown
browser_press_key
Press a key on the keyboard
unknown
browser_handle_dialog
Handle a dialog
unknown
browser_file_upload
Upload one or multiple files
write
browser_resize
Resize the browser window
unknown
browser_close
Close the page
unknown
browser_drop
Drop files or MIME-typed data onto an element, as if dragged from outside the page. At least one of "paths" or "data" must be provided.
destructive
browser_wait_for
Wait for text to appear or disappear or a specified time to pass
unknown
browser_snapshot
Capture accessibility snapshot of the current page, this is better than screenshot
unknown
browser_console_messages
Returns all console messages
read
browser_type
Type text into editable element
unknown
browser_run_code_unsafe
Run a Playwright code snippet. Unsafe: executes arbitrary JavaScript in the Playwright server process and is RCE-equivalent.
write
browser_evaluate
Evaluate JavaScript expression on page or element
unknown
browser_click
Perform click on a web page
unknown
browser_take_screenshot
Take a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.
unknown
browser_drag
Perform drag and drop between two elements
unknown
browser_hover
Hover over element on page
unknown

06Access

The write/destructive access this server can exercise, from its verified tools.

Browser automation · writeExecute code · write

07FAQ
What is Playwright MCP?

Microsoft's Playwright MCP server drives a real browser via structured accessibility snapshots (no screenshots needed): navigate, click, fill forms, and extract content — deterministic web automation for agents.

Who is Playwright for?

Anyone who needs an agent to reliably drive web apps — testing, scraping, or task automation.

What tools does Playwright expose?

Playwright exposes 24 verified tools, including browser_fill_form, browser_select_option, browser_network_request, browser_network_requests, browser_find, browser_tabs. Each is labeled by read / write / destructive risk on this page.

How do I connect Playwright to my agent?

Playwright runs locally over stdio. Add it to your MCP client config: claude mcp add playwright -- npx -y @playwright/mcp.

How much does Playwright cost?

Free · open-source.

Is Playwright verified on MCPExplorer?

Yes — Playwright is hand-checked and featured on MCPExplorer. We pull its real tool surface, required scopes, and risk labels from the live index so you can see exactly what it does before connecting.


08Similar MCPs

Other MCP servers worth a look.

ChatSEO
SEO & content
An AI SEO agent inside your MCP client.
Apex
LinkedIn & outbound
Governed LinkedIn hands for your AI agent.
FullEnrich
Sales & enrichment
B2B contact enrichment for your agent.
CompanyEnrich
Company data
Real-time company & people intelligence.

09Badge

Playwright is featured on MCPExplorer. Add this badge to Playwright’s site or README — it links back to this page.

Playwright MCP — as seen on mcpexplorer.com

HTML — for your website

<a href="https://mcpexplorer.com/mcps/playwright" target="_blank" rel="noopener"><img src="https://mcpexplorer.com/badge/playwright.svg" alt="Playwright MCP — as seen on mcpexplorer.com" height="20" /></a>

Markdown — for a README

[![Playwright MCP — as seen on mcpexplorer.com](https://mcpexplorer.com/badge/playwright.svg)](https://mcpexplorer.com/mcps/playwright)

Get started

Set up Playwright and put it to work — Free · open-source. Or see its full verified profile.