# Playwright MCP
> A local MCP server that lets AI clients automate browsers through Playwright and structured accessibility snapshots.
Canonical: https://www.mcpfolio.com/servers/playwright-browser-automation
Last updated: 2026-10-28
## Catalog record

- Publisher: Microsoft
- Categories: development, productivity, search

## Website

https://playwright.dev/mcp/

## Repository

https://github.com/microsoft/playwright-mcp

## Transports

stdio

## Authentication

None by default. Browser sessions can retain login state and cookies between sessions; the user signs in to websites in the browser when needed.

## Tools

- **browser_navigate**: Navigate to a URL.
- **browser_navigate_back**: Go back in browser history.
- **browser_snapshot**: Capture the page accessibility snapshot.
- **browser_find**: Search the current snapshot for text or a regular expression.
- **browser_click**: Click an element.
- **browser_hover**: Hover over an element.
- **browser_drag**: Drag and drop between elements.
- **browser_drop**: Drop files or MIME-typed data onto an element.
- **browser_type**: Type text into an editable element.
- **browser_fill_form**: Fill multiple form fields.
- **browser_select_option**: Select a dropdown option.
- **browser_press_key**: Press a keyboard key.
- **browser_take_screenshot**: Take a browser screenshot.
- **browser_tabs**: List, create, close, or select browser tabs.
- **browser_handle_dialog**: Handle a browser dialog.
- **browser_file_upload**: Upload files through a file chooser.
- **browser_console_messages**: Read browser console messages.
- **browser_network_requests**: List network requests.
- **browser_network_request**: Inspect one network request.
- **browser_evaluate**: Evaluate JavaScript on a page or element.
- **browser_run_code_unsafe**: Run a Playwright code snippet; explicitly documented as unsafe.
- **browser_wait_for**: Wait for text to appear/disappear or for a time interval.
- **browser_close**: Close the browser page.
- **browser_resize**: Resize the browser viewport.

## Sources

- [official_tool_reference](https://playwright.dev/mcp/introduction)
- [official_documentation](https://github.com/microsoft/playwright-mcp)

## Setup

Use the interactive setup panel on [the detail page](https://www.mcpfolio.com/servers/playwright-browser-automation) to view instructions for each supported client.