io.github.microsoft/playwright-mcp
NPM · @PLAYWRIGHT/MCP · SCANNED SEP 20
Playwright Tools for MCP
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security100
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- 0 of 2 dependencies flagged as unhealthy. View diagnostics → Pass
Provenance & Transparency100
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to microsoft/playwright-mcp). View diagnostics → Pass
- Clear OSI-approved license (Apache-2.0).Pass
- Actively maintained (last published 1 days ago).Pass
- Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability76
- AI-judged instruction clarity (good).Pass
- Tool/resource definitions use about 2228 tokens (~89/item across 25 items; 25 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management77
- Stability observed for 23 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- All 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.Pass
- An AI judge read all 25 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
How do I install the io.github.microsoft/playwright-mcp server?
io.github.microsoft/playwright-mcp runs locally as an npm package, launched with npx -y @playwright/mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · @playwright/mcp
claude mcp add microsoft-playwright-mcp -- npx -y @playwright/mcp
{
"mcpServers": {
"microsoft-playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
} {
"servers": {
"microsoft-playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
} codex mcp add microsoft-playwright-mcp -- npx -y @playwright/mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"microsoft-playwright-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"@playwright/mcp"
],
"enabled": true
}
}
} openclaw mcp add microsoft-playwright-mcp --command npx --arg -y --arg @playwright/mcp
mcp_servers:
microsoft-playwright-mcp:
command: "npx"
args: ["-y", "@playwright/mcp"] {
"McpServers": {
"microsoft-playwright-mcp": {
"Transport": "stdio",
"Command": "npx",
"Arguments": [
"-y",
"@playwright/mcp"
]
}
}
} assistant mcp add microsoft-playwright-mcp -t stdio -c npx -a -y @playwright/mcp
{
"mcpServers": {
"microsoft-playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 20 Sept 26 +11
- Malware scan: unverified → pass ▲ security
- Stability: pass → 0.77 functional
- 19 Sept 26 −14
- Malware scan: pass → unverified ▼ security
- Stability: 0.97 → pass security
- Package version: 0.0.81 → 0.0.82 functional
- 17 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 90 to 93. That category is still filling its 30-day observation window: 27 days of observed history at the previous scan, 28 at this one. The score rises as the window fills, whether or not the server changes.
- 15 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 83 to 87. That category is still filling its 30-day observation window: 25 days of observed history at the previous scan, 26 at this one. The score rises as the window fills, whether or not the server changes.
- 14 Sept 26 +10
- Stability: 0.80 → unverified ▼ security
- Tool safety: pass → unverified ▼ security
- Provenance: fail → pass ▲ security
- The attested source repository moved: microsoft/playwright-mcp security
- Capabilities: pass → unverified ▼ functional
- Tool coverage: 100 → unverified ▼ functional
- Schema quality: excellent → good functional
- Package version: 0.0.80 → 0.0.81 functional
- 13 Sept 26 −2
- Stability: pass → 0.80 functional
- 12 Sept 26 0
- Stability: 0.97 → pass security
- 11 Sept 26 −10
- Stability: 0.93 → unverified ▼ security
- Tool safety: pass → unverified ▼ security
- Provenance: pass → fail ▼ security
- The attested source repository moved: microsoft/playwright-mcp security
- Capabilities: pass → unverified ▼ functional
- Tool coverage: 100 → unverified ▼ functional
- Dependency health: 0.90 → 1.00 ▲ functional
- Package version: 0.0.79 → 0.0.80 functional
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 20 Sept 2026 · Analysed npm/@playwright/mcp@0.0.82
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | npm |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | microsoft/playwright-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/microsoft/playwright-mcp/.github/workflows/publish.yml@refs/tags/v0.0.82 |
| Rekor log index | 2888715569 |
| Predicate type | https://slsa.dev/provenance/v1 |
| Subject digest | sha512:382a9fb5f6fc1f8767aa6fe78db4c1464dec794bd43edb4e9495310ad1335c611360e9511f942dddb6d722399922e580c43f5117eca0d404ab3de5ef9 |
Background: How many MCP packages publish verified provenance →
Dependencies 2 packages
| Packages resolved | 2 |
|---|---|
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
browser_click ~100
Perform click on a web page
| Name | Type | Req | Description |
|---|---|---|---|
| button | string | – | Button to click, defaults to left |
| doubleClick | boolean | – | Whether to perform a double click instead of a single click |
| element | string | – | Human-readable element description used to obtain permission to interact with the element |
| modifiers | array | – | Modifier keys to press |
| target | string | yes | Exact target element reference from the page snapshot, or a unique element selector |
No output schema declared.
No examples provided.
browser_close ~12
Close the page
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
browser_console_messages ~106
Returns all console messages
| Name | Type | Req | Description |
|---|---|---|---|
| all | boolean | – | Return all console messages since the beginning of the session, not just since the last navigation. Defaults to false. |
| filename | string | – | File name to save the console messages to. Relative file names are resolved against the workspace root. If not provided, messages are returned as text. |
| level | string | yes | Level of the console messages to return. Each level includes the messages of more severe levels. Defaults to "info". |
No output schema declared.
No examples provided.
browser_drag ~106
Perform drag and drop between two elements
| Name | Type | Req | Description |
|---|---|---|---|
| endElement | string | – | Human-readable target element description used to obtain the permission to interact with the element |
| endTarget | string | yes | Exact target element reference from the page snapshot, or a unique element selector |
| startElement | string | – | Human-readable source element description used to obtain the permission to interact with the element |
| startTarget | string | yes | Exact target element reference from the page snapshot, or a unique element selector |
No output schema declared.
No examples provided.
browser_drop ~142
Drop 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.
| Name | Type | Req | Description |
|---|---|---|---|
| data | object | – | Data to drop, as a map of MIME type to string value (e.g. {"text/plain": "hello", "text/uri-list": "https://example.com"}). |
| element | string | – | Human-readable element description used to obtain permission to interact with the element |
| paths | array | – | Absolute paths to files to drop onto the element. |
| target | string | yes | Exact target element reference from the page snapshot, or a unique element selector |
No output schema declared.
No examples provided.
browser_emulate_media ~112
Emulate 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.
| Name | Type | Req | Description |
|---|---|---|---|
| colorScheme | – | – | Emulates the prefers-color-scheme media feature |
| contrast | – | – | Emulates the prefers-contrast media feature |
| forcedColors | – | – | Emulates the forced-colors media feature |
| media | – | – | Changes the CSS media type of the page |
| reducedMotion | – | – | Emulates the prefers-reduced-motion media feature |
No output schema declared.
No examples provided.
browser_evaluate ~121
Evaluate JavaScript expression on page or element
| Name | Type | Req | Description |
|---|---|---|---|
| element | string | – | Human-readable element description used to obtain permission to interact with the element |
| filename | string | – | File name to save the result to. Relative file names are resolved against the workspace root. If not provided, result is returned as text. |
| function | string | yes | () => { /* code */ } or (element) => { /* code */ } when element is provided |
| target | string | – | Exact target element reference from the page snapshot, or a unique element selector |
No output schema declared.
No examples provided.
browser_file_upload ~46
Upload one or multiple files
| Name | Type | Req | Description |
|---|---|---|---|
| paths | array | – | The absolute paths to the files to upload. Can be single file or multiple files. If omitted, file chooser is cancelled. |
No output schema declared.
No examples provided.
browser_fill_form ~25
Fill multiple form fields
| Name | Type | Req | Description |
|---|---|---|---|
| fields | array | yes | Fields to fill in |
No output schema declared.
No examples provided.
browser_find ~156
Search 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 only need to locate an element and its ref.
| Name | Type | Req | Description |
|---|---|---|---|
| regex | string | – | Regular expression to search for in the page snapshot. Matching is case-sensitive by default; wrap the pattern in slashes to add flags, e.g. "/error/i" for case-insensitive. Provide either text or re… |
| text | string | – | Plain text to search for in the page snapshot (case-insensitive substring match). Provide either text or regex, not both. |
No output schema declared.
No examples provided.
browser_handle_dialog ~44
Handle a dialog
| Name | Type | Req | Description |
|---|---|---|---|
| accept | boolean | yes | Whether to accept the dialog. |
| promptText | string | – | The text of the prompt in case of a prompt dialog. |
No output schema declared.
No examples provided.
browser_hover ~55
Hover over element on page
| Name | Type | Req | Description |
|---|---|---|---|
| element | string | – | Human-readable element description used to obtain permission to interact with the element |
| target | string | yes | Exact target element reference from the page snapshot, or a unique element selector |
No output schema declared.
No examples provided.
browser_navigate ~26
Navigate to a URL
| Name | Type | Req | Description |
|---|---|---|---|
| url | string | yes | The URL to navigate to |
No output schema declared.
No examples provided.
browser_navigate_back ~20
Go back to the previous page in the history
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
browser_network_request ~118
Returns 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.
| Name | Type | Req | Description |
|---|---|---|---|
| filename | string | – | File name to save the result to. Relative file names are resolved against the workspace root. If not provided, output is returned as text. |
| index | integer | yes | 1-based index of the request, as printed by browser_network_requests. |
| part | string | – | Return only this part of the request. Omit to return full details. |
No output schema declared.
No examples provided.
browser_network_requests ~117
Returns a numbered list of network requests since loading the page. Use browser_network_request with the number to get full details.
| Name | Type | Req | Description |
|---|---|---|---|
| filename | string | – | File name to save the network requests to. Relative file names are resolved against the workspace root. If not provided, requests are returned as text. |
| filter | string | – | Only return requests whose URL matches this regexp (e.g. "/api/.*user"). |
| static | boolean | yes | Whether to include successful static resources like images, fonts, scripts, etc. Defaults to false. |
No output schema declared.
No examples provided.
browser_press_key ~44
Press a key on the keyboard
| Name | Type | Req | Description |
|---|---|---|---|
| key | string | yes | Name of the key to press or a character to generate, such as `ArrowLeft` or `a` |
No output schema declared.
No examples provided.
browser_resize ~37
Resize the browser window
| Name | Type | Req | Description |
|---|---|---|---|
| height | number | yes | Height of the browser window |
| width | number | yes | Width of the browser window |
No output schema declared.
No examples provided.
browser_run_code_unsafe ~144
Run a Playwright code snippet. Unsafe: executes arbitrary JavaScript in the Playwright server process and is RCE-equivalent.
| Name | Type | Req | Description |
|---|---|---|---|
| code | string | – | A JavaScript function containing Playwright code to execute. It will be invoked with a single argument, page, which you can use for any page interaction. For example: `async (page) => { await page.ge… |
| filename | string | – | Load code from the specified file. Relative file names are resolved against the workspace root. If both code and filename are provided, code will be ignored. |
No output schema declared.
No examples provided.
browser_select_option ~82
Select an option in a dropdown
| Name | Type | Req | Description |
|---|---|---|---|
| element | string | – | Human-readable element description used to obtain permission to interact with the element |
| target | string | yes | Exact target element reference from the page snapshot, or a unique element selector |
| values | array | yes | Array of values to select in the dropdown. This can be a single value or multiple values. |
No output schema declared.
No examples provided.
browser_snapshot ~125
Capture accessibility snapshot of the current page, this is better than screenshot
| Name | Type | Req | Description |
|---|---|---|---|
| boxes | boolean | – | Include each element's bounding box as [box=x,y,width,height] in the snapshot. Coordinates are viewport-relative, in CSS pixels (Element.getBoundingClientRect) |
| depth | number | – | Limit the depth of the snapshot tree |
| filename | string | – | Save snapshot to a file instead of returning it in the response. Relative file names are resolved against the workspace root. |
| target | string | – | Exact target element reference from the page snapshot, or a unique element selector |
No output schema declared.
No examples provided.
browser_tabs ~73
List, create, close, or select a browser tab.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | Operation to perform |
| index | number | – | Tab index, used for close/select. If omitted for close, current tab is closed. |
| url | string | – | URL to navigate to in the new tab, used for new. |
No output schema declared.
No examples provided.
browser_take_screenshot ~236
Take a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.
| Name | Type | Req | Description |
|---|---|---|---|
| element | string | – | Human-readable element description used to obtain permission to interact with the element |
| filename | string | – | File name to save the screenshot to. Relative file names are resolved against the workspace root. If not specified, the screenshot is saved into the output directory as `page-{timestamp}.{png|jpeg|we… |
| fullPage | boolean | – | When true, takes a screenshot of the full scrollable page, instead of the currently visible viewport. Cannot be used with element screenshots. |
| scale | string | yes | Image resolution scale. "css" produces a screenshot sized in CSS pixels (smaller, consistent across devices). "device" produces a high-resolution screenshot using device pixels (larger, accounts for… |
| target | string | – | Exact target element reference from the page snapshot, or a unique element selector |
| type | string | – | Image format for the screenshot. If unset, inferred from the filename extension, otherwise png. |
No output schema declared.
No examples provided.
browser_type ~118
Type text into editable element
| Name | Type | Req | Description |
|---|---|---|---|
| element | string | – | Human-readable element description used to obtain permission to interact with the element |
| slowly | boolean | – | Whether to type one character at a time. Useful for triggering key handlers in the page. By default entire text is filled in at once. |
| submit | boolean | – | Whether to submit entered text (press Enter after) |
| target | string | yes | Exact target element reference from the page snapshot, or a unique element selector |
| text | string | yes | Text to type into the element |
No output schema declared.
No examples provided.
browser_wait_for ~63
Wait for text to appear or disappear or a specified time to pass
| Name | Type | Req | Description |
|---|---|---|---|
| text | string | – | The text to wait for |
| textGone | string | – | The text to wait for to disappear |
| time | number | – | The time to wait in seconds |
No output schema declared.
No examples provided.
What is the io.github.microsoft/playwright-mcp server?
io.github.microsoft/playwright-mcp is listed in the public MCP registry as io.github.microsoft/playwright-mcp. Playwright Tools for MCP. This page covers its npm package (@playwright/mcp).
Is the io.github.microsoft/playwright-mcp server safe to use?
io.github.microsoft/playwright-mcp scores 92 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 20 September 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the io.github.microsoft/playwright-mcp server expose?
io.github.microsoft/playwright-mcp exposes 25 tools: browser_close, browser_resize, browser_console_messages, browser_handle_dialog, browser_emulate_media, and 20 more. Their descriptions and schemas cost roughly 2,228 tokens of context every time the server is loaded.
Is the io.github.microsoft/playwright-mcp server still maintained?
io.github.microsoft/playwright-mcp is still listed as active in the MCP registry. We last reached this channel on 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the io.github.microsoft/playwright-mcp server under?
io.github.microsoft/playwright-mcp declares the Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.