### Install MCP Server via npm Source: https://github.com/ofershap/real-browser-mcp/blob/main/README.md Install the Real Browser MCP server package globally using npm. This command is used for manual setup or integration with other MCP clients. ```bash npx -y real-browser-mcp ``` -------------------------------- ### Clone and Build Project Source: https://github.com/ofershap/real-browser-mcp/blob/main/README.md Standard development setup instructions for cloning the repository, installing dependencies, and building the project. Includes commands for running tests and type checking. ```bash git clone https://github.com/ofershap/real-browser-mcp.git cd real-browser-mcp npm install npm run build npm test ``` -------------------------------- ### Setup Cursor Agent Workflow Source: https://github.com/ofershap/real-browser-mcp/blob/main/README.md Installs the snapshot-first workflow rules and the /check-browser command for Cursor. This enhances the agent's ability to interact with web pages. ```bash npx real-browser-mcp --setup cursor ``` -------------------------------- ### Quick Setup for Real Browser MCP Source: https://github.com/ofershap/real-browser-mcp/blob/main/agent-config/README.md Use these commands to automatically install agent configurations for Cursor, Claude Code, or both. This enables your agent to interact with your browser. ```bash npx real-browser-mcp --setup cursor ``` ```bash npx real-browser-mcp --setup claude ``` ```bash npx real-browser-mcp --setup all ``` -------------------------------- ### Setup Claude Code Agent Source: https://github.com/ofershap/real-browser-mcp/blob/main/README.md Installs an AGENTS.md file for Claude Code to auto-discover, enabling it to use the real-browser-mcp tools. ```bash npx real-browser-mcp --setup claude ``` -------------------------------- ### Clone Repository and Install Dependencies Source: https://github.com/ofershap/real-browser-mcp/blob/main/CONTRIBUTING.md Clone the repository and install project dependencies using npm. ```bash git clone https://github.com/ofershap/real-browser-mcp.git cd real-browser-mcp npm install ``` -------------------------------- ### Clone Repository for Source Installation Source: https://github.com/ofershap/real-browser-mcp/blob/main/README.md Clone the Real Browser MCP repository from GitHub to manually install the Chrome extension from source. This is an alternative to installing from the Chrome Web Store. ```bash git clone https://github.com/ofershap/real-browser-mcp.git ``` -------------------------------- ### Development Commands Source: https://github.com/ofershap/real-browser-mcp/blob/main/CONTRIBUTING.md Common npm scripts for development, including building, watching for changes, running tests, and type checking. ```bash npm run build # Compile TypeScript npm run dev # Watch mode npm test # Run tests npm run typecheck # Type check without emitting ``` -------------------------------- ### Run Type Check, Tests, and Build Source: https://github.com/ofershap/real-browser-mcp/blob/main/CONTRIBUTING.md Before submitting a pull request, ensure code passes type checking, tests, and builds successfully. ```bash npm run typecheck && npm test && npm run build ``` -------------------------------- ### Configure Multiple Chrome Profiles Source: https://github.com/ofershap/real-browser-mcp/blob/main/README.md Sets up multiple instances of the real-browser-mcp server to manage different Chrome profiles simultaneously. Each instance requires a unique WebSocket port. ```json { "mcpServers": { "browser-work": { "command": "npx", "args": ["-y", "real-browser-mcp"] }, "browser-personal": { "command": "npx", "args": ["-y", "real-browser-mcp"], "env": { "WS_PORT": "9333" } } } } ``` -------------------------------- ### Create Feature Branch Source: https://github.com/ofershap/real-browser-mcp/blob/main/CONTRIBUTING.md Create a new branch for your feature using Git. ```bash git checkout -b feat/my-feature ``` -------------------------------- ### Add MCP Server to Cursor Source: https://github.com/ofershap/real-browser-mcp/blob/main/README.md Configure the MCP server within Cursor IDE for seamless integration. This JSON snippet should be added to your Cursor settings. ```json { "mcpServers": { "real-browser": { "command": "npx", "args": ["-y", "real-browser-mcp"] } } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.