@playwright/mcp 0.0.59 → 0.0.61-alpha-2026-01-27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -186,8 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Portions Copyright (c) Microsoft Corporation.
190
- Portions Copyright 2017 Google Inc.
189
+ Copyright (c) Microsoft Corporation.
191
190
 
192
191
  Licensed under the Apache License, Version 2.0 (the "License");
193
192
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  A Model Context Protocol (MCP) server that provides browser automation capabilities using [Playwright](https://playwright.dev). This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.
4
4
 
5
+ ### Playwright MCP vs Playwright CLI
6
+
7
+ This package provides MCP interface into Playwright. If you are using a **coding agent**, you might benefit from using the [CLI+SKILLS](https://github.com/microsoft/playwright-cli) instead.
8
+
9
+ - **CLI**: Modern **coding agents** increasingly favor CLI–based workflows exposed as SKILLs over MCP because CLI invocations are more token-efficient: they avoid loading large tool schemas and verbose accessibility trees into the model context, allowing agents to act through concise, purpose-built commands. This makes CLI + SKILLs better suited for high-throughput coding agents that must balance browser automation with large codebases, tests, and reasoning within limited context windows.<br>**Learn more about [Playwright CLI with SKILLS](https://github.com/microsoft/playwright-cli)**.
10
+
11
+ - **MCP**: MCP remains relevant for specialized agentic loops that benefit from persistent state, rich introspection, and iterative reasoning over page structure, such as exploratory automation, self-healing tests, or long-running autonomous workflows where maintaining continuous browser context outweighs token cost concerns.
12
+
5
13
  ### Key Features
6
14
 
7
15
  - **Fast and lightweight**. Uses Playwright's accessibility tree, not pixel-based input.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playwright/mcp",
3
- "version": "0.0.59",
3
+ "version": "0.0.61-alpha-2026-01-27",
4
4
  "description": "Playwright Tools for MCP",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,12 +34,10 @@
34
34
  }
35
35
  },
36
36
  "dependencies": {
37
- "minimist": "^1.2.5",
38
- "playwright": "1.59.0-alpha-1769364499000",
39
- "playwright-core": "1.59.0-alpha-1769364499000"
37
+ "playwright": "1.59.0-alpha-1769452054000",
38
+ "playwright-core": "1.59.0-alpha-1769452054000"
40
39
  },
41
40
  "bin": {
42
- "mcp": "cli.js",
43
- "playwright-cli": "./playwright-cli.js"
41
+ "playwright-mcp": "cli.js"
44
42
  }
45
43
  }
package/playwright-cli.js DELETED
@@ -1,23 +0,0 @@
1
- #!/usr/bin/env node
2
- /**
3
- * Copyright (c) Microsoft Corporation.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
-
18
- const { program } = require('playwright/lib/mcp/terminal/program');
19
- const packageJSON = require('./package.json');
20
- program({ version: packageJSON.version }).catch(e => {
21
- console.error(e.message);
22
- process.exit(1);
23
- });