chore: roll 1.58.0-alpha-2026-01-07 (#1300)

This commit is contained in:
Yury Semikhatsky
2026-01-07 09:45:30 -08:00
committed by GitHub
parent dba2fd054d
commit d47197f41f
4 changed files with 37 additions and 17 deletions

View File

@@ -308,6 +308,14 @@ Playwright MCP server supports following arguments. They can be provided in the
Important: *does not* serve as a Important: *does not* serve as a
security boundary and *does not* affect security boundary and *does not* affect
redirects. redirects.
--allow-unrestricted-file-access allow access to files outside of the
workspace roots. Also allows
unrestricted access to file:// URLs. By
default access to file system is
restricted to workspace root directories
(or cwd if no roots are configured)
only, and navigation to file:// URLs is
blocked.
--blocked-origins <origins> semicolon-separated list of origins to --blocked-origins <origins> semicolon-separated list of origins to
block the browser from requesting. block the browser from requesting.
Blocklist is evaluated before allowlist. Blocklist is evaluated before allowlist.
@@ -665,6 +673,12 @@ npx @playwright/mcp@latest --config path/to/config.json
*/ */
mode?: 'incremental' | 'full' | 'none'; mode?: 'incremental' | 'full' | 'none';
} }
/**
* Whether to allow file uploads from anywhere on the file system.
* By default (false), file uploads are restricted to paths within the MCP roots only.
*/
allowUnrestrictedFileAccess?: boolean;
} }
``` ```

6
config.d.ts vendored
View File

@@ -189,4 +189,10 @@ export type Config = {
*/ */
mode?: 'incremental' | 'full' | 'none'; mode?: 'incremental' | 'full' | 'none';
} }
/**
* Whether to allow file uploads from anywhere on the file system.
* By default (false), file uploads are restricted to paths within the MCP roots only.
*/
allowUnrestrictedFileAccess?: boolean;
}; };

28
package-lock.json generated
View File

@@ -9,15 +9,15 @@
"version": "0.0.54", "version": "0.0.54",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright": "1.58.0-alpha-2025-12-29", "playwright": "1.58.0-alpha-2026-01-07",
"playwright-core": "1.58.0-alpha-2025-12-29" "playwright-core": "1.58.0-alpha-2026-01-07"
}, },
"bin": { "bin": {
"mcp-server-playwright": "cli.js" "mcp-server-playwright": "cli.js"
}, },
"devDependencies": { "devDependencies": {
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"@playwright/test": "1.58.0-alpha-2025-12-29", "@playwright/test": "1.58.0-alpha-2026-01-07",
"@types/node": "^24.3.0" "@types/node": "^24.3.0"
}, },
"engines": { "engines": {
@@ -63,13 +63,13 @@
} }
}, },
"node_modules/@playwright/test": { "node_modules/@playwright/test": {
"version": "1.58.0-alpha-2025-12-29", "version": "1.58.0-alpha-2026-01-07",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.58.0-alpha-2025-12-29.tgz", "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.58.0-alpha-2026-01-07.tgz",
"integrity": "sha512-Vi27K0RcCTyiFDnXRfSm2RXQRYcqobva63SkOdslgfSXL+9TA9umZfMNUPxgTzOgXhUu40OghvXeL8ZgBzJZmg==", "integrity": "sha512-57P04rQ8X+9UH3Wl8SDNwi0Rg7yw1jrlD3/BY44VgQn1auUdKzFonL5Nkf4hu3qsrxuSmU3yrI8pS+wMgSJFxA==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright": "1.58.0-alpha-2025-12-29" "playwright": "1.58.0-alpha-2026-01-07"
}, },
"bin": { "bin": {
"playwright": "cli.js" "playwright": "cli.js"
@@ -884,12 +884,12 @@
} }
}, },
"node_modules/playwright": { "node_modules/playwright": {
"version": "1.58.0-alpha-2025-12-29", "version": "1.58.0-alpha-2026-01-07",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.58.0-alpha-2025-12-29.tgz", "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.58.0-alpha-2026-01-07.tgz",
"integrity": "sha512-syUV2eOFrAxG7LKAxI0KeLrwakifVD8Q/a+9uQZqEX7GxPhySHMnZ9wwq1YFco6tztDfWz9//vcCgN/e0wBb7A==", "integrity": "sha512-ToIdvA1wM46BFcVURbbX9HCPNbzY2ugrJe2MUv2h6phkrD+hDD+vxNFkOOo+LLj5sJkiqr+Nwccay21tJj1NGw==",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright-core": "1.58.0-alpha-2025-12-29" "playwright-core": "1.58.0-alpha-2026-01-07"
}, },
"bin": { "bin": {
"playwright": "cli.js" "playwright": "cli.js"
@@ -902,9 +902,9 @@
} }
}, },
"node_modules/playwright-core": { "node_modules/playwright-core": {
"version": "1.58.0-alpha-2025-12-29", "version": "1.58.0-alpha-2026-01-07",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.58.0-alpha-2025-12-29.tgz", "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.58.0-alpha-2026-01-07.tgz",
"integrity": "sha512-nxeyVkzX5EXxOaQFTvS4N6fSzsod06A5CMLOBjsCMUGZkmJF6HO4OXkoSTw6ONsgAzIwqas5DdTDO6QXZbFm1A==", "integrity": "sha512-BV81BlzDg+WWhMut60z+1huVsSZF0O/6OXkwD16NXA6Mul49/yLHLJl4qHODAxAtdG/jxeXvJ87oFr3ERUCK0A==",
"license": "Apache-2.0", "license": "Apache-2.0",
"bin": { "bin": {
"playwright-core": "cli.js" "playwright-core": "cli.js"

View File

@@ -37,15 +37,15 @@
} }
}, },
"dependencies": { "dependencies": {
"playwright": "1.58.0-alpha-2025-12-29", "playwright": "1.58.0-alpha-2026-01-07",
"playwright-core": "1.58.0-alpha-2025-12-29" "playwright-core": "1.58.0-alpha-2026-01-07"
}, },
"bin": { "bin": {
"mcp-server-playwright": "cli.js" "mcp-server-playwright": "cli.js"
}, },
"devDependencies": { "devDependencies": {
"@modelcontextprotocol/sdk": "^1.24.0", "@modelcontextprotocol/sdk": "^1.24.0",
"@playwright/test": "1.58.0-alpha-2025-12-29", "@playwright/test": "1.58.0-alpha-2026-01-07",
"@types/node": "^24.3.0" "@types/node": "^24.3.0"
} }
} }