fix: chrome dev tools mcp
This commit is contained in:
parent
5e259e0b42
commit
fccec6d87c
2 changed files with 19 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ in {
|
|||
# Browser must be running with remote debugging on 127.0.0.1:9222.
|
||||
if ${config.home.homeDirectory}/.nix-profile/bin/claude mcp add --help >/dev/null 2>&1; then
|
||||
${config.home.homeDirectory}/.nix-profile/bin/claude mcp add --scope user chrome-devtools \
|
||||
-- npx -y chrome-devtools-mcp --browserUrl=http://127.0.0.1:9222 || true
|
||||
-- npx -y chrome-devtools-mcp --executablePath=${pkgs.ungoogled-chromium}/bin/chromium --isolated=true --headless=true --chromeArg=--ozone-platform=wayland --chromeArg=--enable-features=UseOzonePlatform --chromeArg=--force-device-scale-factor=1 || true
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue