@playwright/mcp 0.0.54 → 0.0.55

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 (3) hide show
  1. package/README.md +46 -0
  2. package/config.d.ts +6 -0
  3. package/package.json +4 -5
package/README.md CHANGED
@@ -81,6 +81,38 @@ Follow the MCP install [guide](https://modelcontextprotocol.io/quickstart/user),
81
81
 
82
82
  </details>
83
83
 
84
+ <details>
85
+ <summary>Cline</summary>
86
+
87
+ Follow the instruction in the section [MCP Integration](https://docs.cline.bot/mcp/mcp-overview)
88
+
89
+ Connection Types
90
+ Local (stdio): Cline runs the server as a local process.
91
+ Remote (streamableHttp): hosted/cloud environments.
92
+ Legacy (sse): Only use if the host doesn't support the modern streamableHttp protocol.
93
+
94
+ Example: Local Setup
95
+ Add the following to your cline_mcp_settings.json file:
96
+
97
+ ```json
98
+ {
99
+ "mcpServers": {
100
+ "playwright": {
101
+ "type": "stdio",
102
+ "command": "npx",
103
+ "timeout": 30,
104
+ "args": [
105
+ "-y",
106
+ "@playwright/mcp@latest"
107
+ ],
108
+ "disabled": false
109
+ }
110
+ }
111
+ }
112
+ ```
113
+
114
+ </details>
115
+
84
116
  <details>
85
117
  <summary>Codex</summary>
86
118
 
@@ -308,6 +340,14 @@ Playwright MCP server supports following arguments. They can be provided in the
308
340
  Important: *does not* serve as a
309
341
  security boundary and *does not* affect
310
342
  redirects.
343
+ --allow-unrestricted-file-access allow access to files outside of the
344
+ workspace roots. Also allows
345
+ unrestricted access to file:// URLs. By
346
+ default access to file system is
347
+ restricted to workspace root directories
348
+ (or cwd if no roots are configured)
349
+ only, and navigation to file:// URLs is
350
+ blocked.
311
351
  --blocked-origins <origins> semicolon-separated list of origins to
312
352
  block the browser from requesting.
313
353
  Blocklist is evaluated before allowlist.
@@ -665,6 +705,12 @@ npx @playwright/mcp@latest --config path/to/config.json
665
705
  */
666
706
  mode?: 'incremental' | 'full' | 'none';
667
707
  }
708
+
709
+ /**
710
+ * Whether to allow file uploads from anywhere on the file system.
711
+ * By default (false), file uploads are restricted to paths within the MCP roots only.
712
+ */
713
+ allowUnrestrictedFileAccess?: boolean;
668
714
  }
669
715
  ```
670
716
 
package/config.d.ts CHANGED
@@ -189,4 +189,10 @@ export type Config = {
189
189
  */
190
190
  mode?: 'incremental' | 'full' | 'none';
191
191
  }
192
+
193
+ /**
194
+ * Whether to allow file uploads from anywhere on the file system.
195
+ * By default (false), file uploads are restricted to paths within the MCP roots only.
196
+ */
197
+ allowUnrestrictedFileAccess?: boolean;
192
198
  };
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@playwright/mcp",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "description": "Playwright Tools for MCP",
5
- "mcpName": "com.microsoft/playwright-mcp",
6
5
  "repository": {
7
6
  "type": "git",
8
7
  "url": "git+https://github.com/microsoft/playwright-mcp.git"
@@ -38,15 +37,15 @@
38
37
  }
39
38
  },
40
39
  "dependencies": {
41
- "playwright": "1.58.0-alpha-2025-12-29",
42
- "playwright-core": "1.58.0-alpha-2025-12-29"
40
+ "playwright": "1.58.0-alpha-2026-01-07",
41
+ "playwright-core": "1.58.0-alpha-2026-01-07"
43
42
  },
44
43
  "bin": {
45
44
  "mcp-server-playwright": "cli.js"
46
45
  },
47
46
  "devDependencies": {
48
47
  "@modelcontextprotocol/sdk": "^1.24.0",
49
- "@playwright/test": "1.58.0-alpha-2025-12-29",
48
+ "@playwright/test": "1.58.0-alpha-2026-01-07",
50
49
  "@types/node": "^24.3.0"
51
50
  }
52
51
  }