@playwright/mcp 0.0.40 → 0.0.41-alpha-2025-10-03

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.
Files changed (2) hide show
  1. package/README.md +23 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -165,6 +165,13 @@ code --add-mcp '{"name":"playwright","command":"npx","args":["@playwright/mcp@la
165
165
  After installation, the Playwright MCP server will be available for use with your GitHub Copilot agent in VS Code.
166
166
  </details>
167
167
 
168
+ <details>
169
+ <summary>Warp</summary>
170
+
171
+ Go to `Settings` -> `AI` -> `Manage MCP Servers` -> `+ Add` to [add an MCP Server](https://docs.warp.dev/knowledge-and-collaboration/mcp#adding-an-mcp-server). Use the standard config above.
172
+
173
+ </details>
174
+
168
175
  <details>
169
176
  <summary>Windsurf</summary>
170
177
 
@@ -183,7 +190,7 @@ Playwright MCP server supports following arguments. They can be provided in the
183
190
  --allowed-hosts <hosts...> comma-separated list of hosts this
184
191
  server is allowed to serve from.
185
192
  Defaults to the host the server is bound
186
- to.
193
+ to. Pass '*' to disable the host check.
187
194
  --allowed-origins <origins> semicolon-separated list of origins to
188
195
  allow the browser to request. Default is
189
196
  to allow all.
@@ -434,6 +441,19 @@ And then in MCP client config, set the `url` to the HTTP endpoint:
434
441
  }
435
442
  ```
436
443
 
444
+ Or If you prefer to run the container as a long-lived service instead of letting the MCP client spawn it, use:
445
+
446
+ ```
447
+ docker run -d -i --rm --init --pull=always \
448
+ --entrypoint node \
449
+ --name playwright \
450
+ -p 8931:8931 \
451
+ mcr.microsoft.com/playwright/mcp \
452
+ cli.js --headless --browser chromium --no-sandbox --port 8931
453
+ ```
454
+
455
+ The server will listen on host port **8931** and can be reached by any MCP client.
456
+
437
457
  You can build the Docker image yourself.
438
458
 
439
459
  ```
@@ -496,7 +516,8 @@ http.createServer(async (req, res) => {
496
516
  - **browser_console_messages**
497
517
  - Title: Get console messages
498
518
  - Description: Returns all console messages
499
- - Parameters: None
519
+ - Parameters:
520
+ - `onlyErrors` (boolean, optional): Only return error messages
500
521
  - Read-only: **true**
501
522
 
502
523
  <!-- NOTE: This has been generated via update-readme.js -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playwright/mcp",
3
- "version": "0.0.40",
3
+ "version": "0.0.41-alpha-2025-10-03",
4
4
  "description": "Playwright Tools for MCP",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,15 +35,15 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "playwright": "1.56.0-alpha-1758750661000",
39
- "playwright-core": "1.56.0-alpha-1758750661000"
38
+ "playwright": "1.56.0-alpha-2025-10-01",
39
+ "playwright-core": "1.56.0-alpha-2025-10-01"
40
40
  },
41
41
  "bin": {
42
42
  "mcp-server-playwright": "cli.js"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@modelcontextprotocol/sdk": "^1.17.5",
46
- "@playwright/test": "1.56.0-alpha-1758750661000",
46
+ "@playwright/test": "1.56.0-alpha-2025-10-01",
47
47
  "@types/node": "^24.3.0",
48
48
  "zod-to-json-schema": "^3.24.6"
49
49
  }