### Install Project Dependencies and Playwright Browsers Source: https://github.com/anthonybono21-cloud/leapfrog/blob/main/CONTRIBUTING.md Installs all necessary Node.js dependencies and downloads the Chromium browser for Playwright testing. ```bash git clone https://github.com/anthropics/leapfrog.git cd leapfrog npm install npx playwright install chromium npm run build npm test ``` -------------------------------- ### Verify Leapfrog MCP Installation Source: https://github.com/anthonybono21-cloud/leapfrog/blob/main/README.md Run a doctor command to verify that everything is working correctly with your Leapfrog MCP setup. ```bash npx leapfrog-mcp --doctor ``` -------------------------------- ### Leapfrog MCP Configuration Example Source: https://github.com/anthonybono21-cloud/leapfrog/blob/main/README.md Example JSON configuration for Leapfrog MCP, to be added to ~/.mcp.json or your editor's MCP config. Sets maximum sessions, tiling, HUD, and auto-consent. ```json { "leapfrog": { "command": "npx", "args": ["-y", "leapfrog-mcp"], "env": { "LEAP_MAX_SESSIONS": "15", "LEAP_TILE": "true", "LEAP_HUD": "true", "LEAP_AUTO_CONSENT": "true" } } } ``` -------------------------------- ### Install Chromium for Leapfrog MCP Source: https://github.com/anthonybono21-cloud/leapfrog/blob/main/README.md Install the bundled Chromium binary for Leapfrog MCP if you are not using an existing Chrome installation. ```bash npx playwright-core install chromium ``` -------------------------------- ### Install Leapfrog MCP Source: https://github.com/anthonybono21-cloud/leapfrog/blob/main/README.md Install the Leapfrog MCP package using npm. ```bash npm i leapfrog-mcp ``` -------------------------------- ### Install Playwright Chromium Browser Source: https://github.com/anthonybono21-cloud/leapfrog/blob/main/CONTRIBUTING.md Installs the Chromium browser for Playwright if the initial test run fails due to browser issues. ```bash npx playwright install chromium ``` -------------------------------- ### Run Project Tests Source: https://github.com/anthonybono21-cloud/leapfrog/blob/main/README.md Execute the test suite for the Leapfrog project. Ensure Node.js and Chromium are installed. ```bash npm test ``` -------------------------------- ### Print Leapfrog MCP Configuration Source: https://github.com/anthonybono21-cloud/leapfrog/blob/main/README.md Display the current MCP configuration for Leapfrog, which can be pasted into your editor's MCP config. ```bash npx leapfrog-mcp --config ``` -------------------------------- ### Connect to Running Chrome Instance Source: https://github.com/anthonybono21-cloud/leapfrog/blob/main/README.md Configure Leapfrog MCP to connect to an already running Chrome instance by setting the LEAP_CDP_ENDPOINT environment variable. ```bash export LEAP_CDP_ENDPOINT=ws://localhost:9222/devtools/page/... ``` -------------------------------- ### Test Leapfrog MCP Stealth Patches Source: https://github.com/anthonybono21-cloud/leapfrog/blob/main/README.md Execute a command to test all 19 stealth patches provided by Leapfrog MCP. ```bash npx leapfrog-mcp --stealth-audit ``` -------------------------------- ### Disable Stealth for a Specific Session Source: https://github.com/anthonybono21-cloud/leapfrog/blob/main/README.md Disable Leapfrog's stealth features for an individual session by passing `stealth: false` in the `session_create` options. ```javascript await session_create({ stealth: false }); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.