Playwright MCP server
About Playwright MCP
Playwright MCP is Microsoft's open-source MCP server for browser automation. Instead of sending screenshots to a vision model, it gives a model structured accessibility snapshots of a page, built from the browser's accessibility tree, so the model can read what elements do and act on them by reference.
Tools cover navigating, clicking, typing, filling forms, selecting options, hovering, pressing keys and dragging, and it can run JavaScript and Playwright code and watch network requests and console messages. Snapshot mode is the default, and a vision mode based on screenshots is available through a flag. It needs Node.js 18 or newer and is typically started with npx.
Microsoft's Playwright documentation notes that for coding agents working in large codebases, a companion Playwright CLI is more efficient in tokens, while the MCP server remains well suited to exploratory automation and specialised agent loops.
Key features
- Browser automation through an MCP server
- Accessibility snapshots instead of screenshots
- Click, type, fill forms, hover and drag
- Run JavaScript and Playwright code
- Network and console monitoring
- Optional vision mode
- Needs Node.js 18 or newer
Links
More from Microsoft
A programming framework for agentic AI
UFO³: Weaving the Digital Agent Galaxy
Microsoft Foundry Full-stack AI platform with agent capabilities.
Low-code agent builder. Integrates with M365, Dynamics, Power Platform.
JARVIS, a system to connect LLMs with ML community. Paper: https://arxiv.org/pdf/2303.17580.pdf
A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Python and .NET.
Integrate cutting-edge LLM technology quickly and easily into your apps
A guidance language for controlling large language models.
TypeChat is a library that makes it easy to build natural language interfaces using types.
Microsoft's AI assistant across Windows and Office.
All content and agents from Microsoft
Frequently asked questions about Playwright MCP
- What is Playwright MCP?
- Playwright MCP server. It is listed on botshub under agent infrastructure and tools.
- Who makes Playwright MCP?
- Playwright MCP is made by Microsoft, a company based in United States.
- Is Playwright MCP free or open source?
- Playwright MCP is tagged as open source on botshub. Check the official site for current terms.
- What can Playwright MCP do?
- Key features include browser automation through an MCP server, accessibility snapshots instead of screenshots, click, type, fill forms, hover and drag, run JavaScript and Playwright code and network and console monitoring.
- What are alternatives to Playwright MCP?
- Other agent infrastructure and tools on botshub include Browser Use, Guardrails, Stagehand and Letta. See all alternatives to Playwright MCP.
