Plugins and integrationsReviewed · Microsoft

Playwright MCP

Playwright MCP is an open-source server, licensed Apache-2.0, that lets an AI assistant or coding agent open and control a web browser; it is for developers and testers who already use an MCP-compatible AI client, and its main catch is a default tool that runs arbitrary JavaScript inside the server process, with the project stating that it is not a security boundary. Technically it is the npm package @playwright/mcp at version 0.0.85, which speaks MCP over stdio by default or over HTTP with --port, exposes 25 default browser tools that act on a text accessibility snapshot of each page, and depends on pinned alpha builds of Playwright.

Researched 12 Nov 2026

In short.

Playwright MCP is an open-source server that gives an AI assistant or coding agent a real browser to read and control, aimed at developers and testers who accept that it is not a security boundary; its main catch is that it ships a default tool, browser_run_code_unsafe, which the README says executes arbitrary JavaScript in the Playwright server process and is RCE-equivalent. The reviewed revision is 78eca85361efb545a4c0f59b6140aef0721c5412, which is @playwright/mcp 0.0.85: two small entry points (cli.js and index.js) load the MCP tool bundle of the pinned playwright-core, the server runs over stdio or HTTP, and tool results carry accessibility-snapshot text with element refs plus the equivalent Playwright code. The captured scope is 44 files (43 selected plus the Apache-2.0 LICENSE) covering the wrapper, documentation, typings, CI, release and Docker files and five test specs. The tool implementation, dependency code, published npm package and container image were not captured, so tool behaviour is described only from the README, typings and tests. Nothing was run, built, installed or tested for this report.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is the complete selected scope of the repository at revision 78eca85361efb545a4c0f59b6140aef0721c5412 as captured: 43 files plus the LICENSE notice, 44 in all, each with a SHA-256 checksum in the capture manifest. Excluded by the scope: linked pages (the CLA portal, npm and MCR pages, GitHub issues and pull requests, the microsoft/playwright monorepo, and the internal bot repository), other folders, and dependency code. Untested: no command, test, build, Docker image, npm package or tool call was run. The behaviour of each tool is described only from README text, config typings and in-scope test assertions. Related notices: LICENSE (Apache-2.0) is the only standalone notice file. Captured source files also carry embedded copyright headers, including the Copyright 2017 Google Inc. notice and the Microsoft modifications notice in tests/testserver/index.ts. SECURITY.md and CONTRIBUTING.md are included as project documents. The CLA and Code of Conduct are referenced but not captured.

The overview

Identity

The resource is the npm package @playwright/mcp, version 0.0.85, from the microsoft/playwright-mcp repository at revision 78eca85361efb545a4c0f59b6140aef0721c5412. package.json declares the licence Apache-2.0, and package.json and server.json both declare version 0.0.85. server.json declares the MCP registry name io.github.microsoft/playwright-mcp. server.json contains no licence declaration, and the evidence does not show whether registration in the MCP registry has been completed.

In plain terms, it is a Model Context Protocol (MCP) server. MCP is a standard that lets AI clients such as coding assistants discover and call named tools. Here the tools open pages, click, type, take screenshots and read network requests in a browser that Playwright controls.

The captured pipeline and scripts describe how it is distributed. On npm, a GitHub release publishes to the latest tag, and manual canary runs publish a dated alpha to the next tag. A Docker image is pushed to Azure Container Registry and mirrored to mcr.microsoft.com/playwright/mcp, with v-version and latest tags for stable builds. Most of the implementation lives elsewhere. AGENTS.md and CONTRIBUTING.md say the MCP server code is in the microsoft/playwright monorepo under packages/playwright-core/src/tools, and this repository ships a wrapper that runs the pinned playwright-core. The exact behaviour of each tool is unknown here, because that source was not captured.

Assessment

This is a substantive wrapper rather than a placeholder. It has a typed configuration schema (config.d.ts). Its README option and tool reference is generated from code by update-readme.js, and CI fails if regeneration changes the file. It has cross-platform test jobs and a Docker test job, plus automated publishing to npm, Docker and the MCP registry (evidence_75eccc1a-1f6f-425d-a28e-f2747928240c, evidence_a758e291-8984-4c12-8bac-d84a9aaae0f9, evidence_ba66d2bf-5d13-459b-9a7e-cc16eff7aa77, evidence_f6efc782-361a-4aae-a591-47079e457473, evidence_2d95ce38-a7d3-448d-91ee-bcf00dde2ba5).

The main caveat is security. The README says the project is not a security boundary. The default tool browser_run_code_unsafe runs arbitrary JavaScript in the Playwright server process, and the README calls this RCE-equivalent (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4, evidence_5c6b8097-f75a-44b7-83ee-be89af8b3fd1). Options such as origin lists and secret redaction are documented as conveniences rather than guarantees (evidence_75eccc1a-1f6f-425d-a28e-f2747928240c).

The second caveat is that the captured scope shows only the wrapper. Tool logic, most of the server test suite (which AGENTS.md places upstream) and the Playwright dependency code were not captured, so this assessment does not rate the depth of tool quality. The pinned Playwright builds are alpha versions, and roll.js pulls playwright@next by default, so engine stability is not assessed (evidence_fc2c4efd-3fa7-4fd0-8b4e-19848f6730e1, evidence_215980bb-618d-477d-a845-97680b39b81e, evidence_c5501256-9e8b-4831-9c68-6a96d08f4af2). Treat this as a developer tool with a documented security caveat, not as a sandbox.

Users

Beginners: if you want an AI assistant to click through a website or check a web app, this server gives it a browser. You need Node.js, an MCP-capable AI client and a browser. The default is a visible (headed) window, so you will see the browser open (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Developers and testers: the README gives setup steps for 20 clients, including Claude Code, Codex, Cursor, VS Code, Copilot CLI, Gemini CLI and Claude Desktop (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4). Test authors can opt into verification and locator tools (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4). Agent builders can embed the server with createConnection, or serve it over HTTP (evidence_74b0ccab-5703-4b55-bbd5-42ff02a267a9, evidence_dc9ce128-3726-41ee-af92-b26e5b0b0e27).

Poor fit as-is: anyone who needs a hard sandbox for untrusted prompts or pages, or who needs to remove powerful tools from a deployment. The README says the project is not a security boundary (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4). For coding-agent users, the README points to the Playwright CLI with skills as a more token-efficient option. That is the README's claim; token use was not measured here (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Capabilities

By default the server exposes 25 tools. The in-scope test that checks the default tool list asserts exactly these names: browser_click, browser_close, browser_console_messages, browser_drag, browser_drop, browser_emulate_media, browser_evaluate, browser_file_upload, browser_fill_form, browser_find, browser_handle_dialog, browser_hover, browser_navigate, browser_navigate_back, browser_network_request, browser_network_requests, browser_press_key, browser_resize, browser_run_code_unsafe, browser_select_option, browser_snapshot, browser_tabs, browser_take_screenshot, browser_type and browser_wait_for (evidence_5c6b8097-f75a-44b7-83ee-be89af8b3fd1).

Opt-in groups are added with --caps or the config capabilities list. They are network (route mocking and offline mode), storage, devtools (tracing, video, recording, highlight overlays and paused-script stepping), vision (coordinate-based mouse tools), pdf (save as PDF), testing (verify and locator tools) and config (show the resolved config). The storage group covers getting, setting, listing, deleting and clearing cookies and localStorage items, and saving or restoring cookies and localStorage through a storage-state file (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4). The tests check the pdf and vision groups and the legacy --vision flag (evidence_5c6b8097-f75a-44b7-83ee-be89af8b3fd1).

These notes on behaviour come from README text, not from observed runs. browser_find searches the snapshot and returns matches with context, which the README says is cheaper than a full snapshot. browser_snapshot returns the accessibility tree. browser_take_screenshot defaults to CSS-pixel scale. --codegen chooses typescript (the default), python, java, csharp or none for the Playwright code shown in responses. There is a documentation gap: the --caps help text lists only vision, pdf and devtools, while README sections also name network, storage, testing and config (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Using it

Requirements

Node.js: README.md and package.json declare Node 18 or newer (package.json engines >=18) (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4, evidence_69ae82b5-bc86-46b0-931b-6a5034d7346a). The pinned runtime dependencies, playwright and playwright-core 1.66.0-alpha-2026-11-09, declare Node 20 or newer in package-lock.json (engines >=20), so the package's declared minimum conflicts with what its dependencies require. CI tests on Node 20, and the publish workflow uses Node 24 (evidence_fc2c4efd-3fa7-4fd0-8b4e-19848f6730e1, evidence_ba66d2bf-5d13-459b-9a7e-cc16eff7aa77, evidence_f6efc782-361a-4aae-a591-47079e457473). Use Node 20 or newer to meet the dependencies' requirement. Whether the package works on any particular Node version was not tested.

Browsers: the server drives a Playwright-managed browser. CI installs browsers with npx playwright install --with-deps, and cli.js has an install-browser command (evidence_ba66d2bf-5d13-459b-9a7e-cc16eff7aa77, evidence_5098651d-ff77-4774-8a30-02e6c8a594a8). The default is headed, so a display is needed unless --headless is set. The README covers machines without a display (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4). The option list and config schema contain no model or API-key setting, so any model access is the connected client's responsibility (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4, evidence_75eccc1a-1f6f-425d-a28e-f2747928240c).

Docker: you need Docker, and the README says the Docker mode supports headless Chromium only. The extension mode needs Edge or Chrome with the separate Playwright Extension installed, also according to the README. The dev container runs privileged and forwards a noVNC desktop on port 6080 (evidence_1d4fe810-b1bf-47ce-81a1-5d52b55ebf02). Support for operating systems beyond the CI matrix (Ubuntu, macOS 15 and Windows) is unknown.

Mechanism

Entry points: cli.js loads playwright-core's bundled tools and attaches the MCP command to a command-line program. It also has an install-browser command (evidence_5098651d-ff77-4774-8a30-02e6c8a594a8). index.js exports createConnection from the same bundle, and index.d.ts gives its signature: createConnection takes an optional config and an optional browser-context getter, and returns an MCP Server (evidence_74b0ccab-5703-4b55-bbd5-42ff02a267a9, evidence_dc9ce128-3726-41ee-af92-b26e5b0b0e27).

Transports: by default the server uses standard input and output, which desktop clients usually expect. With --port it listens for HTTP; the README example endpoint is http://localhost:8931/mcp. The README's programmatic example uses an SSE transport (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Snapshots and refs: tools return an accessibility snapshot, a text outline of the page structure in which elements carry refs such as e2. A later call passes that ref, or a unique selector, as the target. Responses are split into named sections, such as Ran Playwright code, Snapshot, Page state, Open tabs, New console messages, Modal state and Downloads (evidence_50ab8449-2cc0-49f3-8bd1-1cd4c354016b, evidence_01c80582-2e52-4299-a700-acac095e5c9f, evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Browser state: by default a persistent profile is kept per workspace (on Linux under ~/.cache/ms-playwright/mcp-{channel}-{workspace-hash}). --isolated keeps the profile in memory, and state is lost when the browser is closed. --extension attaches to a running Chrome or Edge through the Playwright Extension (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Timers: the action timeout defaults to 5 seconds, navigation to 60 seconds, and the post-action settle wait to 500 ms. config.d.ts and the README document the same idle timeout. If a headless browser that Playwright launched gets no tool call for one hour, it is closed and then relaunched on the next tool call. Headed or attached browsers have no default idle timeout, and 0 disables the timeout. config.d.ts adds that 'the CLI shuts the whole session down instead of relaunching'. The evidence does not say which CLI this means or whether it applies to this package's cli.js, so that is unknown (evidence_75eccc1a-1f6f-425d-a28e-f2747928240c, evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Page-registered tools: config.d.ts says the server collects and exposes tools that a web page registers through the experimental WebMCP API, and that this is enabled by default. --no-webmcp (environment PLAYWRIGHT_MCP_WEBMCP=false) turns it off. The evidence does not describe how such page tools are authorised or checked (evidence_75eccc1a-1f6f-425d-a28e-f2747928240c, evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Setup

The standard setup, given in the README, adds the server to an MCP client configuration with the command npx and the argument @playwright/mcp@latest. Some clients have their own steps, for example claude mcp add playwright npx @playwright/mcp@latest for Claude Code, and a codex mcp add command for Codex (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Pinning: the release notes template says configurations using @latest pick up a new release on the next client restart. If you want a fixed version, pin it yourself, for example npx @playwright/mcp@0.0.85 (evidence_95469b5d-4dc5-4cde-a492-e9bc0c6199a3, evidence_69ae82b5-bc86-46b0-931b-6a5034d7346a).

Other setups in the README: --isolated with --storage-state for a session that starts logged in; --config with a JSON file that follows config.d.ts; HTTP mode with --port 8931 and a client URL of http://localhost:8931/mcp; and Docker with docker run -i --rm --init --pull=always mcr.microsoft.com/playwright/mcp (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4, evidence_b31b0b62-f8a4-46c9-9372-385796d9d8e7).

Contributors: CONTRIBUTING.md requires a corresponding issue for every contribution except minor documentation fixes. If no issue exists, file one first and say whether you intend to work on it. After triage and approval, maintainers decide whether the core team, an automated agent or a community contributor handles the work. Open a pull request only once the issue has been assigned to you or approved for community contribution; a linked issue alone is not enough. Both CONTRIBUTING.md and AGENTS.md say fixes to server behaviour belong upstream in microsoft/playwright. For this repository, AGENTS.md gives npm ci, npx playwright install --with-deps and npm test, and says there is no build step (evidence_4f81ba51-2881-4d68-9946-605d6302d8fa, evidence_c5501256-9e8b-4831-9c68-6a96d08f4af2). The dev container uses the image mcr.microsoft.com/playwright:v1.61.0-noble, which differs from the pinned alpha build (evidence_1d4fe810-b1bf-47ce-81a1-5d52b55ebf02, evidence_fc2c4efd-3fa7-4fd0-8b4e-19848f6730e1).

Example

The clearest example in the evidence is the browser_click test (tests/click.spec.ts). A page has a button labelled Submit. After browser_navigate, the response snapshot includes the line - button "Submit" [ref=e2]. A browser_click call with element 'Submit button' and target 'e2' returns the code await page.getByRole('button', { name: 'Submit' }).click(); and a snapshot showing the button as active. The test asserts this; it was not run for this report (evidence_50ab8449-2cc0-49f3-8bd1-1cd4c354016b).

The navigation test loads a hello-world page and asserts a snapshot line of generic [active] [ref=e1]: Hello, world! together with the code await page.goto(...) (evidence_a0a4bf7a-5103-442f-837d-d61ec99b8f9b).

A configuration example from the README runs an isolated session with saved state. Its args are @playwright/mcp@latest, --isolated and --storage-state pointing at a file you supply (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Assessment & evidence

Limitations

Security is the main limit. The README says the project is not a security boundary. It says the origin allow and block lists do not serve as a security boundary and do not affect redirects. Secret replacement and URL-parameter redaction are described as conveniences, not security features (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4, evidence_75eccc1a-1f6f-425d-a28e-f2747928240c).

The default tool browser_run_code_unsafe runs caller-supplied JavaScript inside the Playwright server process, and the README calls this RCE-equivalent. It is in the default set (evidence_5c6b8097-f75a-44b7-83ee-be89af8b3fd1). --caps only adds groups, and the option table shows no way to remove core tools. The evidence therefore shows no per-tool switch to keep this tool off; check the options of the release you run.

Page-registered tools are collected and exposed by default through the experimental WebMCP API. --no-webmcp turns this off (evidence_75eccc1a-1f6f-425d-a28e-f2747928240c, evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Network and file defaults: origins are allowed by default. File access is limited to workspace roots by default, and file:// navigation is blocked. The HTTP listener checks hosts against an allowed list that defaults to localhost. The README's standalone Docker example binds 0.0.0.0, publishes port 8931 and says it can be reached by any MCP client. The option table shows no authentication setting for HTTP mode (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Docker: the image supports headless Chromium only. Its entrypoint passes --no-sandbox to Chromium, which turns off that browser's sandbox. The image runs as the node user, and the evidence does not assess the combined risk. The image is built from the floating node:lts-slim tag and runs apt-get upgrade during the build, so rebuilds may differ (evidence_b31b0b62-f8a4-46c9-9372-385796d9d8e7).

Pre-release engine: the dependencies pin 1.66.0-alpha-2026-11-09 builds of Playwright, and roll.js pulls the next tag by default, so users run an alpha build of the engine. Stability is not assessed (evidence_69ae82b5-bc86-46b0-931b-6a5034d7346a, evidence_215980bb-618d-477d-a845-97680b39b81e).

Documentation mismatches to check: README.md and package.json declare Node 18 or newer, but the lock file records Node 20 or newer for the pinned Playwright packages. The --caps help text lists fewer groups than the README sections. The dev container image is Playwright 1.61.0, while the package pins an alpha (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4, evidence_fc2c4efd-3fa7-4fd0-8b4e-19848f6730e1, evidence_75eccc1a-1f6f-425d-a28e-f2747928240c, evidence_1d4fe810-b1bf-47ce-81a1-5d52b55ebf02).

Profile conflict: a persistent profile can be used by only one browser instance at a time. Concurrent clients in the same workspace therefore conflict unless they use --isolated or a different --user-data-dir (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Release and build tooling: the stable-channel ref check in the image pipeline only warns, and its comment says no release tag contains the pipeline yet (evidence_2d95ce38-a7d3-448d-91ee-bcf00dde2ba5). publish_docker.sh runs docker system prune -fa, which removes all unused images on the host, so it should not be run on a shared machine. It also attaches a lifecycle annotation whose end-of-life date is the publish date; the evidence does not say how consumers should read it (evidence_f0cd4401-8aef-4a1c-b559-2012548f2aa3).

Scope of testing: five spec files and the fixtures are captured. AGENTS.md places the server's main tests upstream. None of the tests were run for this report (evidence_c5501256-9e8b-4831-9c68-6a96d08f4af2, evidence_702e98fb-3dd7-4feb-bc9a-5e89a8cf7cd0, evidence_7c8a87ed-87b6-4535-970f-ef7d037fcb79).

Reasoning

The classification rests on three points. The README states the purpose: an MCP server for LLM-driven browser automation. The repository has real code paths, tests and release machinery. Nothing in the evidence marks it as deprecated or superseded. The README's pointer to the Playwright CLI and the move of core code upstream are treated as positioning and repository layout, not as supersession (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4, evidence_5c6b8097-f75a-44b7-83ee-be89af8b3fd1, evidence_4f81ba51-2881-4d68-9946-605d6302d8fa).

The safety conclusion comes directly from the README wording and from the default tool list that the in-scope test asserts. The usability conclusion relies on README setup steps and on tests that were not run. Where the source is a README claim, such as the token-efficiency comparison or the benefits of accessibility-tree input, the analysis labels it as a claim.

The fit conclusion: the resource suits a developer who wants a browser tool inside an MCP client and accepts the README's statement that it is not a security boundary. Common precautions each have a narrow purpose. --isolated keeps the browser profile in memory so session state is not saved to disk. Keeping sensitive logins out of the browser limits which accounts a session can act on. Pinning a version makes behaviour repeatable. Binding to localhost, the default host, keeps the HTTP listener off other interfaces, and config.d.ts describes the allowed-hosts list as DNS rebinding protection. None of these measures contains browser_run_code_unsafe, which runs arbitrary JavaScript in the server process. config.d.ts calls its file-access guardrail a convenience rather than a secure boundary and says to always rely on client-level permissions for true security. The resource is a weaker fit for unattended agents on sensitive sites, and for teams that need to remove specific tools, because the evidence shows no per-tool switch (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4, evidence_75eccc1a-1f6f-425d-a28e-f2747928240c, evidence_5c6b8097-f75a-44b7-83ee-be89af8b3fd1).

Alternatives

The README names the Playwright CLI with skills (microsoft/playwright-cli) as an alternative for coding agents. It claims the CLI avoids loading large tool schemas and accessibility trees into model context (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4). That CLI was not captured or assessed here.

Using Playwright directly, through its library or its test runner, avoids the MCP layer. The test fixtures in this repository import chromium from playwright and the test runner from @playwright/test (evidence_01c80582-2e52-4299-a700-acac095e5c9f, evidence_fc2c4efd-3fa7-4fd0-8b4e-19848f6730e1). How well that route fits a given task is not assessed here.

The evidence does not cover any other browser-automation servers, so no comparison is made.

Evidence

The analysis relies on 44 captured files: 43 selected files and one notice (LICENSE). They cover the GitHub and Azure pipeline files, the Docker and publish scripts, the dev container and ignore files, the README and root documents, the package metadata and lock file, the CLI and index entry points and their typings, the five test specs, the test fixtures, the test-server certificate material, and the update and roll scripts. Every captured file was read in full.

Nothing was executed, installed, built or tested. No command in the README, AGENTS.md or CONTRIBUTING.md was run, and no tool was called. Statements about test results describe what the tests assert, not what they returned.

Not captured: the microsoft/playwright monorepo source (packages/playwright-core/src/tools and tests/mcp), dependency source code, the published npm tarball, the Docker and MCR images, the browser extension, and earlier release notes apart from a reference to v0.0.82 in release.md. Tool behaviour beyond what the README, typings and in-scope tests state is unknown.

Access & freshness

Costs

Licence cost: the Apache-2.0 licence grants a no-charge, royalty-free licence to use the work (evidence_90ab32e5-debf-4bf2-9208-a6d15ff15a6f). The evidence states no price for any hosted or paid use.

Unknown costs: the evidence does not state the cost of model tokens used by a connected client, the compute or browser runtime cost on a user's machine, the cost of pulling the mcr.microsoft.com image, or any Docker hosting cost. The README says the MCP approach loads large tool schemas and accessibility trees into the model's context, and that the CLI is more token-efficient for coding agents (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4). That is a README claim. Token use was not measured, so the size of any difference is unknown.

Build-side cost, if you rebuild the image yourself: the publish pipeline cross-builds the arm64 image under QEMU emulation and sets a 360-minute job timeout (evidence_2d95ce38-a7d3-448d-91ee-bcf00dde2ba5). The evidence does not give the cost of that build.

Rights

The standalone LICENSE file is the Apache License, Version 2.0, and ends with a Copyright (c) Microsoft Corporation notice. package.json declares Apache-2.0 (evidence_90ab32e5-debf-4bf2-9208-a6d15ff15a6f, evidence_69ae82b5-bc86-46b0-931b-6a5034d7346a). Under section 4 of the licence, anyone redistributing must give recipients a copy of the licence and mark modified files. Redistributed source must also keep the copyright, patent, trademark and attribution notices from the source files.

LICENSE is the only standalone licence or notice file captured, and no NOTICE file appears. Section 6 does not grant permission to use the trade names, trademarks or product names of the licensor, beyond reasonable and customary use in describing the origin of the work. Section 3 grants a patent licence that ends if you sue over patent infringement by the work (evidence_90ab32e5-debf-4bf2-9208-a6d15ff15a6f).

Embedded notices: source files carry their own copyright headers, separate from the LICENSE file. Several captured files, such as cli.js, index.js and config.d.ts, carry Apache-2.0 headers naming Microsoft Corporation (evidence_5098651d-ff77-4774-8a30-02e6c8a594a8, evidence_74b0ccab-5703-4b55-bbd5-42ff02a267a9, evidence_75eccc1a-1f6f-425d-a28e-f2747928240c). tests/testserver/index.ts carries 'Copyright 2017 Google Inc. All rights reserved.' with 'Modifications copyright (c) Microsoft Corporation.' (evidence_9564b8d4-90c0-4219-b3ab-ce6f3a085cda). The Microsoft notice in LICENSE is therefore not the complete attribution inventory. Redistribution must keep the applicable source notices, including the Google and Microsoft notices in that file.

Dependencies: package-lock.json lists licences of MIT, ISC, BSD-2-Clause and BSD-3-Clause for locked packages, and Apache-2.0 for the Playwright packages. Their licence texts are not in scope and are not assessed (evidence_fc2c4efd-3fa7-4fd0-8b4e-19848f6730e1).

Contributions: CONTRIBUTING.md says most contributions need a Contributor License Agreement through the Microsoft CLA portal, and that the project follows the Microsoft Open Source Code of Conduct (evidence_4f81ba51-2881-4d68-9946-605d6302d8fa). Security issues should go to the Microsoft Security Response Center, not public issues (evidence_4e6caf35-c6c1-4f61-8345-d87d66ed2db0).

Test material: tests/testserver includes a self-signed certificate and a private key for localhost tests. The certificate's subject is playwright-test, with localhost, 127.0.0.1 and ::1 as alternative names (evidence_15a059f3-7742-4625-ad84-7c22ab64fc26, evidence_43ad8b3d-f4a2-47ab-a21e-f141e73825ef, evidence_83f7ea24-3f0f-4b82-bfe2-a42dc53ae985). The evidence does not say whether they are used outside tests, so treat them as test fixtures.

Freshness

Snapshot: captured 2026-11-12T06:56:37.691Z from revision 78eca85361efb545a4c0f59b6140aef0721c5412, with content checksum 0d988e262ed19216910450cf47584f77a72b59e3de7c283bfc9a1bd4796d090e. Later revisions may change any finding here.

Dates in the evidence: the pinned Playwright alpha is named 1.66.0-alpha-2026-11-09, so its build date appears in the version string. The dev container uses Playwright v1.61.0. release.md cites v0.0.82 as the reference release, and the publish pipeline comment says v0.0.81 predates that pipeline (evidence_fc2c4efd-3fa7-4fd0-8b4e-19848f6730e1, evidence_1d4fe810-b1bf-47ce-81a1-5d52b55ebf02, evidence_95469b5d-4dc5-4cde-a492-e9bc0c6199a3, evidence_2d95ce38-a7d3-448d-91ee-bcf00dde2ba5). The evidence has no commit dates, release dates or check of the latest published version. How current 0.0.85 is relative to the registry is therefore unknown and is not judged here.

AGENTS.md says the pinned Playwright is older than the tip of upstream main, so the server behaviour a user sees can differ from the upstream tip (evidence_c5501256-9e8b-4831-9c68-6a96d08f4af2). The repository also has workflows that hand roll and release tasks to an automated Playwright agent, which runs from another repository and opens pull requests (evidence_9ade1369-51e9-4970-abbf-ab125be5c336, evidence_9c0e9209-2549-4371-a92a-2b7f411a1e33).

Actions

If you use it: pin the version (for example npx @playwright/mcp@0.0.85) rather than @latest if you need repeatable behaviour (evidence_95469b5d-4dc5-4cde-a492-e9bc0c6199a3, evidence_69ae82b5-bc86-46b0-931b-6a5034d7346a). Use Node 20 or newer (evidence_fc2c4efd-3fa7-4fd0-8b4e-19848f6730e1). Start with --isolated for sessions that do not need saved logins (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Before connecting it to a model that reads untrusted pages, decide whether browser_run_code_unsafe and page-registered WebMCP tools should be available. The evidence shows --no-webmcp as the only switch for page-registered tools and shows no switch to remove browser_run_code_unsafe. Check the current release options before deciding (evidence_75eccc1a-1f6f-425d-a28e-f2747928240c, evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4, evidence_5c6b8097-f75a-44b7-83ee-be89af8b3fd1).

If you run HTTP mode, or the Docker example that binds 0.0.0.0, restrict who can reach the port. The option table shows no authentication setting for HTTP mode (evidence_e61b1ed0-686b-42a8-984b-9d100dbda0f4).

Contributors: read CONTRIBUTING.md first. It requires a corresponding issue for every contribution except minor documentation fixes. Open a pull request only once that issue has been assigned to you or approved for community contribution; a linked issue alone is not enough. Pull requests submitted without a linked issue or prior approval will be closed, and low-quality AI contributions that lack human oversight will be closed without explanation. Changes to tool behaviour belong upstream in microsoft/playwright (evidence_4f81ba51-2881-4d68-9946-605d6302d8fa, evidence_c5501256-9e8b-4831-9c68-6a96d08f4af2). Issues and pull requests labelled agent-triage, agent-implement or agent-review are handed to an automated agent run from another repository (evidence_c001bdee-4fd5-4ab8-8216-b4f2cd5c38d5, evidence_5105cd96-f062-44c7-b220-b06c17793534, evidence_7dd28d1e-a0c1-4eb3-9baf-53439001033b).

What would change this assessment: access to the upstream tool source, a run of the test suites, a check of the published npm package and container image, and a measurement of token use. None of these were in the evidence.

Evidence for this report

.azure-pipelines/publish-docker.ymlselected · checked 2026-11-12
.claude/skills/release.mdselected · checked 2026-11-12
.devcontainer/devcontainer.jsonselected · checked 2026-11-12
.dockerignoreselected · checked 2026-11-12
.github/dependabot.ymlselected · checked 2026-11-12
.github/workflows/agent-release.ymlselected · checked 2026-11-12
.github/workflows/agent-review.ymlselected · checked 2026-11-12
.github/workflows/agent-roll.ymlselected · checked 2026-11-12
.github/workflows/agent-task.ymlselected · checked 2026-11-12
.github/workflows/agent-triage.ymlselected · checked 2026-11-12
.github/workflows/ci.ymlselected · checked 2026-11-12
.github/workflows/publish.ymlselected · checked 2026-11-12
.gitignoreselected · checked 2026-11-12
.npmignoreselected · checked 2026-11-12
AGENTS.mdselected · checked 2026-11-12
CONTRIBUTING.mdselected · checked 2026-11-12
Dockerfileselected · checked 2026-11-12
LICENSEnotice · checked 2026-11-12
README.mdselected · checked 2026-11-12
SECURITY.mdselected · checked 2026-11-12
cli.jsselected · checked 2026-11-12
config.d.tsselected · checked 2026-11-12
index.d.tsselected · checked 2026-11-12
index.jsselected · checked 2026-11-12
package-lock.jsonselected · checked 2026-11-12
package.jsonselected · checked 2026-11-12
playwright.config.tsselected · checked 2026-11-12
roll.jsselected · checked 2026-11-12
server.jsonselected · checked 2026-11-12
src/README.mdselected · checked 2026-11-12
tests/capabilities.spec.tsselected · checked 2026-11-12
tests/cli.spec.tsselected · checked 2026-11-12
tests/click.spec.tsselected · checked 2026-11-12
tests/core.spec.tsselected · checked 2026-11-12
tests/fixtures.tsselected · checked 2026-11-12
tests/library.spec.tsselected · checked 2026-11-12
tests/testserver/cert.pemselected · checked 2026-11-12
tests/testserver/index.tsselected · checked 2026-11-12
tests/testserver/key.pemselected · checked 2026-11-12
tests/testserver/san.cnfselected · checked 2026-11-12
update-readme.jsselected · checked 2026-11-12
utils/docker/.gitignoreselected · checked 2026-11-12
utils/docker/build.shselected · checked 2026-11-12
utils/docker/publish_docker.shselected · checked 2026-11-12