Playwright MCP
Playwright MCP server
Playwright MCP is an open-source mcp server by microsoft, written mainly in TypeScript, with 38,930 GitHub stars and the Apache-2.0 license. Its code was last updated Oct 31, 2026. The latest npm release is @playwright/mcp 0.0.85, published Nov 9, 2026, with 10,815,609 downloads last week.
Scan summary: scanned Nov 5, 2026 at commit 50b004f. Seen able to run shell commands, run dynamic code, read environment and secrets, control a web browser. 1 published advisory for its package. Scan policy
How to install Playwright MCP
Built from the start command in the project's README: npx @playwright/mcp@latest. Check the README for required keys or settings.
claude mcp add playwright-mcp -- npx @playwright/mcp@latest{
"mcpServers": {
"playwright-mcp": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
}
}
}{
"mcpServers": {
"playwright-mcp": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
}
}
}code --add-mcp '{"name":"playwright-mcp","command":"npx","args":["@playwright/mcp@latest"]}'What Playwright MCP can touch
- Seen in this scan, either in the code or while it ran.Run shell commandsFound in the code by our scan
- The server lists a tool that does this.Run dynamic codeListed as a tool: browser_evaluate
- Our checks did not find this. The tool may still do it.Read or write filesNot seen in this scan
- Seen in this scan, either in the code or while it ran.Read environment and secretsFound in the code by our scan
- The server lists a tool that does this.Control a web browserListed as a tool: browser_close
- Our checks did not find this. The tool may still do it.Connect to databasesNot seen in this scan
- Our checks did not find this. The tool may still do it.Read or send messagesNot seen in this scan
- Our checks did not find this. The tool may still do it.Touch money or tradingNot seen in this scan
- Our checks did not find this. The tool may still do it.Connect to the internetNo connections seen while running
"Not seen" means our checks did not find it, and the tool may still do it. Covers commit 50b004f, Nov 5, 2026. See the scan policy.
Before you install Playwright MCP
AgenticMart scanned Playwright MCP on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What it can access
- An MCP server is a program your AI app starts and talks to. A local one runs with your user's permissions: it can see the files, environment variables and network your account can.
- Based on its description and topics, it likely needs to control a web browser (visit sites, fill in and submit forms).
Before you install
- Run it in a separate browser profile without your logged-in accounts.
- Pin the version you reviewed instead of always installing the latest release.
- Read the tool list or scripts before the first run, and keep approval prompts on for actions that write, send or delete.
- Maintained by microsoft on GitHub, 38,930 stars and 3,359 forks. Popularity is not proof of safety.
- Last code change: Oct 31, 2026.
- Open-source license: Apache-2.0.
Published advisories for @playwright/mcp
From the OSV database, for this npm package. Check that your installed version is past any fix.
- CVE-2025-9611Microsoft Playwright MCP Server vulnerable to DNS Rebinding Attack; Allows Attackers Access to All Server ToolsFixed in 0.0.40.
Tools Playwright MCP exposes (25)
Listed by the server itself during our scan of commit 50b004f.
browser_closeClose the page
browser_resizeResize the browser window
browser_console_messagesReturns all console messages
browser_handle_dialogHandle a dialog
browser_emulate_mediaEmulate CSS media features for the page, for example switch between the light and dark color scheme. Omitted parameters are left unchanged; null clears an override.
browser_evaluateEvaluate JavaScript expression on page or element
browser_file_uploadUpload one or multiple files
browser_dropDrop 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.
browser_findSearch 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 onl
browser_fill_formFill multiple form fields
browser_press_keyPress a key on the keyboard
browser_typeType text into editable element
browser_navigateNavigate to a URL
browser_navigate_backGo back to the previous page in the history
browser_network_requestsReturns a numbered list of network requests since loading the page. Use browser_network_request with the number to get full details.
browser_network_requestReturns 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.
browser_run_code_unsafeRun a Playwright code snippet. Unsafe: executes arbitrary JavaScript in the Playwright server process and is RCE-equivalent.
browser_take_screenshotTake a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.
browser_snapshotCapture accessibility snapshot of the current page, this is better than screenshot
browser_clickPerform click on a web page
browser_dragPerform drag and drop between two elements
browser_hoverHover over element on page
browser_select_optionSelect an option in a dropdown
browser_tabsList, create, close, or select a browser tab.
browser_wait_forWait for text to appear or disappear or a specified time to pass. When both text and textGone are provided, waits for the first one to happen
Playwright MCP is an open-source mcp server by microsoft, written mainly in TypeScript. Playwright MCP server
At a glance
- Stars
- 39k
- Forks
- 3.4k
- Language
- TypeScript
- License
- Apache-2.0
- Created
- Mar 2025
- Last update
- Oct 31, 2026
- Type
- MCP Server
- Price
- Free
Topics
Questions about Playwright MCP
What is Playwright MCP?
Playwright MCP server
Who maintains Playwright MCP?
Playwright MCP is maintained by microsoft on GitHub (microsoft/playwright-mcp). AgenticMart lists it from public repository data.
Is Playwright MCP safe to use?
AgenticMart scanned Playwright MCP on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What license does Playwright MCP use?
It is published under the Apache-2.0 license.
Playwright MCP alternatives
View more →Similar mcp servers in Browser Automation, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.
| Name | Stars | Licence | Last updated | Scan |
|---|---|---|---|---|
| Playwright MCP (this page) microsoft | 39k | Apache-2.0 | Oct 31, 2026 | Scanned, no flagged issues |
| Chrome Devtools MCP ChromeDevTools | 55k | Apache-2.0 | Nov 1, 2026 | Scanned, no flagged issues |
| MCP Chrome hangwin | 13k | MIT | Jan 6, 2026 | Scanned, no flagged issues |
| Browser Tools MCP AgentDeskAI | 7.3k | MIT | Oct 28, 2026 | Scanned, no flagged issues |
| MCP BrowserMCP | 7.3k | Apache-2.0 | Oct 30, 2026 | Scanned, no flagged issues |
| MCP Playwright executeautomation | 5.7k | MIT | Dec 13, 2025 | Scanned, no flagged issues |