Skip to content

Commit d47197f

Browse files
authored
chore: roll 1.58.0-alpha-2026-01-07 (#1300)
1 parent dba2fd0 commit d47197f

4 files changed

Lines changed: 37 additions & 17 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,14 @@ Playwright MCP server supports following arguments. They can be provided in the
308308
Important: *does not* serve as a
309309
security boundary and *does not* affect
310310
redirects.
311+
--allow-unrestricted-file-access allow access to files outside of the
312+
workspace roots. Also allows
313+
unrestricted access to file:// URLs. By
314+
default access to file system is
315+
restricted to workspace root directories
316+
(or cwd if no roots are configured)
317+
only, and navigation to file:// URLs is
318+
blocked.
311319
--blocked-origins <origins> semicolon-separated list of origins to
312320
block the browser from requesting.
313321
Blocklist is evaluated before allowlist.
@@ -665,6 +673,12 @@ npx @playwright/mcp@latest --config path/to/config.json
665673
*/
666674
mode?: 'incremental' | 'full' | 'none';
667675
}
676+
677+
/**
678+
* Whether to allow file uploads from anywhere on the file system.
679+
* By default (false), file uploads are restricted to paths within the MCP roots only.
680+
*/
681+
allowUnrestrictedFileAccess?: boolean;
668682
}
669683
```
670684

config.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,10 @@ export type Config = {
189189
*/
190190
mode?: 'incremental' | 'full' | 'none';
191191
}
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;
192198
};

package-lock.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@
3737
}
3838
},
3939
"dependencies": {
40-
"playwright": "1.58.0-alpha-2025-12-29",
41-
"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"
4242
},
4343
"bin": {
4444
"mcp-server-playwright": "cli.js"
4545
},
4646
"devDependencies": {
4747
"@modelcontextprotocol/sdk": "^1.24.0",
48-
"@playwright/test": "1.58.0-alpha-2025-12-29",
48+
"@playwright/test": "1.58.0-alpha-2026-01-07",
4949
"@types/node": "^24.3.0"
5050
}
5151
}

0 commit comments

Comments
 (0)