@playwright/mcp
0.0.86 · 18 Nov 2026Apache-2.011.3M / weekRepositoryHomepagenpmAtom feed
Your version
0.0.86 is the newest release of 0.0.x.
In short
3 new3 fixed
Security
Fixes 1 advisory that affected 0.0.39
- HighMicrosoft Playwright MCP Server vulnerable to DNS Rebinding Attack; Allows Attackers Access to All Server ToolsGHSA-6fg3-hvw7-2fwq · 7 Jan 2026Fixed in 0.0.40
Release note
Features
c813e9c feat(mcp): allow saving videos for sessions #37531
# video is saved from the creation of the page to the closure of the context (browser_close call). npx @playwright/mcp --save-video=800x600
fff0658 feat(mcp): add --init-script option #37507
# the code in web-mocks.js will run on page initialization npx @playwright/mcp --init-script=./web-mocks.js
1313fbd chore(mcp): introduce allowed-hosts #37541
# Runs MCP server only accessible on 192.168.1.10, defense from DNS rebind npx @playwright/mcp --allowed-hosts=192.168.1.10:8080 --port=8080
Bugfixes
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.