fix: restore Playwright MCP package default - #2883
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
npxwith@playwright/mcp@latestas its argumentplaywright-mcpentries with no arguments to the package-backed configuration during settings resolutionWhy
A managed-runtime change replaced the standard Playwright MCP package invocation with a presumed
playwright-mcpexecutable. That executable is not guaranteed to exist in chat-agent runtimes, so the linked Playwright server could not start and its browser tools were unavailable.This restores the upstream-supported client configuration and repairs existing seeded settings without overwriting other user-defined Playwright commands or arguments.
Validation
pnpm run ci— passedpnpm run check:docs-web— passed/health— UP after restartcommand: npxandargs: ["@playwright/mcp@latest"]npx @playwright/mcp@latest --help— package resolved and CLI started successfullyRisk and rollback
Risk is limited to the built-in Playwright MCP launch command. The migration only recognizes the legacy no-argument
playwright-mcpshape associated by stable id or name; other custom commands remain unchanged.Rollback by reverting this commit. Existing settings would then resolve to the prior baked-executable command again.