
MCP-Server-Playwright
MCP server giving AI assistants browser automation via Playwright for web tasks
MCP-Server-Playwright is an open-source MCP server for browser automation. It is available on CLI, Linux, macOS and Windows.
- Pricing
- Open source
- Platforms
- CLI, Linux, macOS
- GitHub stars
- 297
- Last commit
- Language
- JavaScript
Similar MCP servers
About MCP-Server-Playwright
Exposes a headless-capable Playwright browser to AI clients over the Model Context Protocol. An assistant can open pages, click or hover on elements by CSS selector or visible text, fill inputs, choose dropdown options, and run JavaScript in the page context.
The server also records browser console output and makes captured screenshots readable as resources, so an assistant can inspect what happened on a page after an action. Screenshots can cover the full page or a single element, and are referenced by a name chosen at capture time.
It suits developers and power users who want an AI client such as Claude Desktop or Cursor to test flows, check page state, or gather visual evidence from a real browser. Setup runs through npx, with an automated installer for Claude Desktop and Smithery-based installs for other clients.
Tools this server provides (10)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 10 names don't say.
From the server's own tool labels and tool names; not verified by us.
- browser_navigate
- Navigate to any URL in the browser
- browser_screenshot
- Capture screenshots of the entire page or specific elements
- browser_click
- Click elements on the page using CSS selector
- browser_click_text
- Click elements on the page by their text content
- browser_hover
- Hover over elements on the page using CSS selector
- browser_hover_text
- Hover over elements on the page by their text content
- browser_fill
- Fill out input fields
- browser_select
- Select an option in a SELECT element using CSS selector
- browser_select_text
- Select an option in a SELECT element by its text content
- browser_evaluate
- Execute JavaScript in the browser console
What it does
- Page navigation and interaction
- Load URLs and click, hover, or fill elements located by selector or text.
- Form and dropdown control
- Enter values into input fields and pick options in select menus.
- Element and full-page screenshots
- Capture the whole page or one element and retrieve the image by name.
- Console log monitoring
- Read browser console messages as a resource for debugging page behaviour.
- In-page JavaScript execution
- Run a script in the browser context and return the result to the assistant.
- Automatic client setup
- An installer writes the Claude Desktop configuration entry for you.
Good for
- Testing a web app flow by letting an assistant click through forms and menus
- Capturing full-page or element screenshots to document a UI state
- Debugging a page by reading console output and running small scripts in it
- Scraping text or checking page titles during an AI-assisted coding session
Pricing
Open source
MCP-Server-Playwright FAQ
How is the server installed?
It runs with npx using the package name, and an installer can add the entry to the Claude Desktop config file. Cursor setup uses Smithery and requires Node.js with npx on the PATH.
Which browser engine does MCP-Server-Playwright use?
It is built on Playwright, so it drives the browsers Playwright installs, which you set up with npx playwright install.
Is MCP-Server-Playwright free to use?
The project is published under the MIT License and is open source.
What are the best alternatives to MCP-Server-Playwright?
The closest alternatives to MCP-Server-Playwright are mcp-playwright, Playwright MCP, playwright-plus-python-mcp, mcp-browser-agent and Playwright MCP.
Where this comes from
- Description: written from the project's README.



