Skip to content

fix: restore Playwright MCP package default - #2883

Merged
numnx merged 1 commit into
devfrom
fix/playwright-mcp-default
Jul 11, 2026
Merged

fix: restore Playwright MCP package default#2883
numnx merged 1 commit into
devfrom
fix/playwright-mcp-default

Conversation

@numnx

@numnx numnx commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • restore the built-in Playwright MCP stdio configuration to npx with @playwright/mcp@latest as its argument
  • migrate already-saved untouched playwright-mcp entries with no arguments to the package-backed configuration during settings resolution
  • update provider serialization and migration regression tests
  • document the default and compatibility migration in canonical and published MCP docs

Why

A managed-runtime change replaced the standard Playwright MCP package invocation with a presumed playwright-mcp executable. 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 — passed
    • quality guardrails
    • dependency audit (no known vulnerabilities)
    • strict typecheck/lint
    • backend tests and coverage: 5,105 passed, 7 skipped; 83.52% lines
    • dashboard tests: 1,996 passed, 2 skipped
    • production build
  • pnpm run check:docs-web — passed
  • live runtime /health — UP after restart
  • live system settings expose command: npx and args: ["@playwright/mcp@latest"]
  • npx @playwright/mcp@latest --help — package resolved and CLI started successfully

Risk and rollback

Risk is limited to the built-in Playwright MCP launch command. The migration only recognizes the legacy no-argument playwright-mcp shape 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.

@numnx
numnx marked this pull request as ready for review July 11, 2026 04:40
@numnx
numnx merged commit 055abdc into dev Jul 11, 2026
40 checks passed
@numnx
numnx deleted the fix/playwright-mcp-default branch July 11, 2026 04:45
@numnx numnx mentioned this pull request Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant