@playwright/mcp 0.0.48 → 0.0.49

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 +18 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -451,6 +451,8 @@ npx @playwright/mcp@latest --config path/to/config.json
451
451
  <details>
452
452
  <summary>Configuration file schema</summary>
453
453
 
454
+ <!--- Config generated by update-readme.js -->
455
+
454
456
  ```typescript
455
457
  {
456
458
  /**
@@ -576,6 +578,18 @@ npx @playwright/mcp@latest --config path/to/config.json
576
578
  */
577
579
  outputDir?: string;
578
580
 
581
+ network?: {
582
+ /**
583
+ * List of origins to allow the browser to request. Default is to allow all. Origins matching both `allowedOrigins` and `blockedOrigins` will be blocked.
584
+ */
585
+ allowedOrigins?: string[];
586
+
587
+ /**
588
+ * List of origins to block the browser to request. Origins matching both `allowedOrigins` and `blockedOrigins` will be blocked.
589
+ */
590
+ blockedOrigins?: string[];
591
+ };
592
+
579
593
  /**
580
594
  * Specify the attribute to use for test ids, defaults to "data-testid".
581
595
  */
@@ -597,8 +611,11 @@ npx @playwright/mcp@latest --config path/to/config.json
597
611
  * Whether to send image responses to the client. Can be "allow", "omit", or "auto". Defaults to "auto", which sends images if the client can display them.
598
612
  */
599
613
  imageResponses?: 'allow' | 'omit';
600
- };
614
+ }
601
615
  ```
616
+
617
+ <!--- End of config generated section -->
618
+
602
619
  </details>
603
620
 
604
621
  ### Standalone MCP server
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playwright/mcp",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "description": "Playwright Tools for MCP",
5
5
  "mcpName": "com.microsoft/playwright-mcp",
6
6
  "repository": {
@@ -38,15 +38,15 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "playwright": "1.58.0-alpha-1763757971000",
42
- "playwright-core": "1.58.0-alpha-1763757971000"
41
+ "playwright": "1.58.0-alpha-2025-11-30",
42
+ "playwright-core": "1.58.0-alpha-2025-11-30"
43
43
  },
44
44
  "bin": {
45
45
  "mcp-server-playwright": "cli.js"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@modelcontextprotocol/sdk": "^1.17.5",
49
- "@playwright/test": "1.58.0-alpha-1763757971000",
49
+ "@playwright/test": "1.58.0-alpha-2025-11-30",
50
50
  "@types/node": "^24.3.0",
51
51
  "zod-to-json-schema": "^3.24.6"
52
52
  }