Cloud browser automation with anti-detection
## Hyperbrowser MCP Server: AI-Powered Browser Automation The **Hyperbrowser MCP Server** provides intelligent browser automation for Google Antigravity, enabling developers to automate web interactions with AI-powered element detection and natural language commands. ### Why Hyperbrowser MCP? - **AI element detection** - Smart element finding - **Natural language** - Command browsers with text - **Session management** - Persistent browser sessions - **Anti-detection** - Built-in bot protection bypass - **Parallel execution** - Run multiple browsers ### Key Features #### 1. Session Management ```python # Create browser session session = await mcp.call("hyperbrowser", "create_session", { "browser": "chrome", "stealth": True, "viewport": {"width": 1920, "height": 1080} }) print(f"Session: {session[\"id\"]}") # Navigate await mcp.call("hyperbrowser", "navigate", { "session_id": session["id"], "url": "https://example.com" }) ``` #### 2. AI-Powered Interaction ```python # Click using natural language await mcp.call("hyperbrowser", "ai_click", { "session_id": session["id"], "target": "the blue login button" }) # Type using AI detection await mcp.call("hyperbrowser", "ai_type", { "session_id": session["id"], "target": "email input field", "text": "user@example.com" }) # Extract using natural language data = await mcp.call("hyperbrowser", "ai_extract", { "session_id": session["id"], "query": "all product names and prices on the page" }) ``` #### 3. Visual Actions ```python # Screenshot screenshot = await mcp.call("hyperbrowser", "screenshot", { "session_id": session["id"], "full_page": True }) # Wait for visual element await mcp.call("hyperbrowser", "wait_for_visual", { "session_id": session["id"], "description": "loading spinner to disappear" }) ``` #### 4. Form Automation ```python # Fill entire form with AI await mcp.call("hyperbrowser", "ai_fill_form", { "session_id": session["id"], "data": { "name": "John Doe", "email": "john@example.com", "message": "Hello world" } }) # Submit form await mcp.call("hyperbrowser", "ai_click", { "session_id": session["id"], "target": "submit button" }) ``` ### Configuration ```json { "mcpServers": { "hyperbrowser": { "command": "npx", "args": ["-y", "@anthropic/mcp-hyperbrowser"], "env": { "HYPERBROWSER_API_KEY": "your-api-key" } } } } ``` ### Use Cases **Smart Scraping**: AI-powered data extraction. **Form Testing**: Automated form filling. **E2E Testing**: Natural language test scripts. **Bot Automation**: Bypass bot detection. The Hyperbrowser MCP Server enables AI-powered browser automation.
{
"mcpServers": {
"hyperbrowser": {
"mcpServers": {
"hyperbrowser": {
"env": {
"HYPERBROWSER_API_KEY": "YOUR_API_KEY"
},
"args": [
"-y",
"@hyperbrowserai/mcp"
],
"command": "npx"
}
}
}
}
}