Playwright MCP server
Give your agent a real browser.
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.
Local MCP server — runs on your machine via the command below.
The real tool surface, each labeled by risk. Full trust breakdown on the server page · safety review: Is Playwright MCP safe?.
| Tool | Risk |
|---|---|
| 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 |
The write/destructive access this server can exercise, from its verified tools.
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.
Other MCP servers worth a look.
Playwright is featured on MCPExplorer. Add this badge to Playwright’s site or README — it links back to this page.
HTML — for your website
Markdown — for a README
Set up Playwright and put it to work — Free · open-source. Or see its full verified profile.