@playwright/mcp 0.0.54 → 0.0.55-alpha-2026-01-10
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/README.md +42 -0
- package/config.d.ts +6 -0
- package/package.json +4 -5
package/README.md
CHANGED
|
@@ -81,6 +81,34 @@ 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 [Configuring MCP Servers](https://docs.cline.bot/mcp/configuring-mcp-servers)
|
|
88
|
+
|
|
89
|
+
**Example: Local Setup**
|
|
90
|
+
|
|
91
|
+
Add the following to your [`cline_mcp_settings.json`](https://docs.cline.bot/mcp/configuring-mcp-servers#editing-mcp-settings-files) file:
|
|
92
|
+
|
|
93
|
+
```json
|
|
94
|
+
{
|
|
95
|
+
"mcpServers": {
|
|
96
|
+
"playwright": {
|
|
97
|
+
"type": "stdio",
|
|
98
|
+
"command": "npx",
|
|
99
|
+
"timeout": 30,
|
|
100
|
+
"args": [
|
|
101
|
+
"-y",
|
|
102
|
+
"@playwright/mcp@latest"
|
|
103
|
+
],
|
|
104
|
+
"disabled": false
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
</details>
|
|
111
|
+
|
|
84
112
|
<details>
|
|
85
113
|
<summary>Codex</summary>
|
|
86
114
|
|
|
@@ -308,6 +336,14 @@ Playwright MCP server supports following arguments. They can be provided in the
|
|
|
308
336
|
Important: *does not* serve as a
|
|
309
337
|
security boundary and *does not* affect
|
|
310
338
|
redirects.
|
|
339
|
+
--allow-unrestricted-file-access allow access to files outside of the
|
|
340
|
+
workspace roots. Also allows
|
|
341
|
+
unrestricted access to file:// URLs. By
|
|
342
|
+
default access to file system is
|
|
343
|
+
restricted to workspace root directories
|
|
344
|
+
(or cwd if no roots are configured)
|
|
345
|
+
only, and navigation to file:// URLs is
|
|
346
|
+
blocked.
|
|
311
347
|
--blocked-origins <origins> semicolon-separated list of origins to
|
|
312
348
|
block the browser from requesting.
|
|
313
349
|
Blocklist is evaluated before allowlist.
|
|
@@ -665,6 +701,12 @@ npx @playwright/mcp@latest --config path/to/config.json
|
|
|
665
701
|
*/
|
|
666
702
|
mode?: 'incremental' | 'full' | 'none';
|
|
667
703
|
}
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* Whether to allow file uploads from anywhere on the file system.
|
|
707
|
+
* By default (false), file uploads are restricted to paths within the MCP roots only.
|
|
708
|
+
*/
|
|
709
|
+
allowUnrestrictedFileAccess?: boolean;
|
|
668
710
|
}
|
|
669
711
|
```
|
|
670
712
|
|
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.
|
|
3
|
+
"version": "0.0.55-alpha-2026-01-10",
|
|
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-
|
|
42
|
-
"playwright-core": "1.58.0-alpha-
|
|
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-
|
|
48
|
+
"@playwright/test": "1.58.0-alpha-2026-01-07",
|
|
50
49
|
"@types/node": "^24.3.0"
|
|
51
50
|
}
|
|
52
51
|
}
|