Repository navigation
fix(claude-code): patch Playwright MCP plugin to use chromium on ARM64 - #65
Merged
Merged
Conversation
#64) - @playwright/mcp defaults to --browser chrome, which has no ARM64 Linux builds - Patch plugin .mcp.json to use --browser chromium on aarch64 after install
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.
Summary
Closes #64
@playwright/mcp) defaults to--browser chrome, which has no Linux ARM64 builds.mcp.jsonconfig to use--browser chromiumon ARM64 after plugin installationChanges
Single file:
claude-code/.devcontainer/init-plugins.sh— adds an ARM64-only post-install patch after the plugin install loop.The fix uses
jqto replace only theargsarray (preserving other config keys), guarded byuname -m=aarch64and a file-existence check. Follows the same atomic-write pattern (jq > /tmp && mv) used for the onboarding patch above it.Test plan
bash .devcontainer/init-plugins.sh, verify.mcp.jsoncontains"--browser", "chromium".mcp.jsonis unchanged (no--browserflag)browser_navigate) — should work without the "chrome not found" error