Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.microsoft/playwright-mcp

NPM · @PLAYWRIGHT/MCP · SCANNED SEP 20

Playwright Tools for MCP

Available components

+9 this week 92 Trust /100
Trust breakdown (7 categories)

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
Install

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

# add to Claude Code
claude mcp add microsoft-playwright-mcp -- npx -y @playwright/mcp
// .cursor/mcp.json
{
  "mcpServers": {
    "microsoft-playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "microsoft-playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add microsoft-playwright-mcp -- npx -y @playwright/mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "microsoft-playwright-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@playwright/mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add microsoft-playwright-mcp --command npx --arg -y --arg @playwright/mcp
# ~/.hermes/config.yaml
mcp_servers:
  microsoft-playwright-mcp:
    command: "npx"
    args: ["-y", "@playwright/mcp"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "microsoft-playwright-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}
# add to Vellum
assistant mcp add microsoft-playwright-mcp -t stdio -c npx -a -y @playwright/mcp
// mcp.json
{
  "mcpServers": {
    "microsoft-playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}
Changelog

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
Diagnostics

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 →

MCP tools · 25 exposed · ~2,228 tokens

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 →

Tool Tokens
browser_click ~100

Perform click on a web page

NameTypeReqDescription
buttonstringButton to click, defaults to left
doubleClickbooleanWhether to perform a double click instead of a single click
elementstringHuman-readable element description used to obtain permission to interact with the element
modifiersarrayModifier keys to press
targetstringyesExact 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

NameTypeReqDescription
allbooleanReturn all console messages since the beginning of the session, not just since the last navigation. Defaults to false.
filenamestringFile name to save the console messages to. Relative file names are resolved against the workspace root. If not provided, messages are returned as text.
levelstringyesLevel 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

NameTypeReqDescription
endElementstringHuman-readable target element description used to obtain the permission to interact with the element
endTargetstringyesExact target element reference from the page snapshot, or a unique element selector
startElementstringHuman-readable source element description used to obtain the permission to interact with the element
startTargetstringyesExact 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.

NameTypeReqDescription
dataobjectData to drop, as a map of MIME type to string value (e.g. {"text/plain": "hello", "text/uri-list": "https://example.com"}).
elementstringHuman-readable element description used to obtain permission to interact with the element
pathsarrayAbsolute paths to files to drop onto the element.
targetstringyesExact 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.

NameTypeReqDescription
colorSchemeEmulates the prefers-color-scheme media feature
contrastEmulates the prefers-contrast media feature
forcedColorsEmulates the forced-colors media feature
mediaChanges the CSS media type of the page
reducedMotionEmulates the prefers-reduced-motion media feature

No output schema declared.

No examples provided.

browser_evaluate ~121

Evaluate JavaScript expression on page or element

NameTypeReqDescription
elementstringHuman-readable element description used to obtain permission to interact with the element
filenamestringFile name to save the result to. Relative file names are resolved against the workspace root. If not provided, result is returned as text.
functionstringyes() => { /* code */ } or (element) => { /* code */ } when element is provided
targetstringExact 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

NameTypeReqDescription
pathsarrayThe 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

NameTypeReqDescription
fieldsarrayyesFields 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.

NameTypeReqDescription
regexstringRegular 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…
textstringPlain 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

NameTypeReqDescription
acceptbooleanyesWhether to accept the dialog.
promptTextstringThe 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

NameTypeReqDescription
elementstringHuman-readable element description used to obtain permission to interact with the element
targetstringyesExact 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

NameTypeReqDescription
urlstringyesThe 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.

NameTypeReqDescription
filenamestringFile name to save the result to. Relative file names are resolved against the workspace root. If not provided, output is returned as text.
indexintegeryes1-based index of the request, as printed by browser_network_requests.
partstringReturn 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.

NameTypeReqDescription
filenamestringFile name to save the network requests to. Relative file names are resolved against the workspace root. If not provided, requests are returned as text.
filterstringOnly return requests whose URL matches this regexp (e.g. "/api/.*user").
staticbooleanyesWhether 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

NameTypeReqDescription
keystringyesName 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

NameTypeReqDescription
heightnumberyesHeight of the browser window
widthnumberyesWidth 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.

NameTypeReqDescription
codestringA 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…
filenamestringLoad 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

NameTypeReqDescription
elementstringHuman-readable element description used to obtain permission to interact with the element
targetstringyesExact target element reference from the page snapshot, or a unique element selector
valuesarrayyesArray 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

NameTypeReqDescription
boxesbooleanInclude each element's bounding box as [box=x,y,width,height] in the snapshot. Coordinates are viewport-relative, in CSS pixels (Element.getBoundingClientRect)
depthnumberLimit the depth of the snapshot tree
filenamestringSave snapshot to a file instead of returning it in the response. Relative file names are resolved against the workspace root.
targetstringExact 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.

NameTypeReqDescription
actionstringyesOperation to perform
indexnumberTab index, used for close/select. If omitted for close, current tab is closed.
urlstringURL 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.

NameTypeReqDescription
elementstringHuman-readable element description used to obtain permission to interact with the element
filenamestringFile 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…
fullPagebooleanWhen true, takes a screenshot of the full scrollable page, instead of the currently visible viewport. Cannot be used with element screenshots.
scalestringyesImage 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…
targetstringExact target element reference from the page snapshot, or a unique element selector
typestringImage 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

NameTypeReqDescription
elementstringHuman-readable element description used to obtain permission to interact with the element
slowlybooleanWhether to type one character at a time. Useful for triggering key handlers in the page. By default entire text is filled in at once.
submitbooleanWhether to submit entered text (press Enter after)
targetstringyesExact target element reference from the page snapshot, or a unique element selector
textstringyesText 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

NameTypeReqDescription
textstringThe text to wait for
textGonestringThe text to wait for to disappear
timenumberThe time to wait in seconds

No output schema declared.

No examples provided.

Common questions

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.