Use Microsoft’s Playwright MCP server to navigate pages, inspect accessibility snapshots, fill forms and capture browser screenshots.
The Playwright MCP server lets an assistant operate a browser through Microsoft’s Playwright tools. It reads structured accessibility snapshots to identify page controls, then uses tools to navigate, click, type or inspect the result. Screenshots are available when the visual appearance matters.
A useful first task is to open a staging page, follow a navigation path and check the resulting page. Include the starting URL, expected text and stopping point. For a form, inspect the fields before entering values and check the confirmation afterward. These observations can help reproduce a problem; they do not replace assertions in a maintained test suite.
Install the npm package with Node.js 18 or later and register it as a stdio server. Playwright opens a headed browser by default; add --headless to hide the window. The --isolated option keeps the session profile in memory, which is useful for an independent test run. The repository documents persistent profiles, extensions and remote connections separately.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| browser_navigate | Open a URL in the browser. |
| browser_snapshot | Read the current accessibility snapshot. |
| browser_click | Click an identified page element. |
| browser_fill_form | Fill several form fields. |
| browser_take_screenshot | Capture the browser view. |
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp@latest",
"--isolated"
]
}
}
}Remove --isolated if you need the documented persistent browser profile.
Node.js 18 or later. The browser installation and session options are documented in the Microsoft README.
The original Chromium automation reference server — simple, screenshot-driven browser control.
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Self-hosted Chrome for AI agents, with a live noVNC view a human can take over.
Model Context Protocol server for desktop automation
Let any MCP-capable agent (Claude Code, Claude Desktop, and friends) play FluxDots — a free browser strategy game where humans and AI agents compete on one ranked Elo ladder. Agents are badged 🤖…
A FastMCP server that enables browser automation through natural language commands. This server allows Language Models to browse the web, fill out forms, click buttons, and perform other web-based…