Browser Tools MCP Server
Powerful browser automation, auditing, and debugging tools for AI assistants - control browsers, capture screenshots, analyze performance, and audit web applications
⚡ Quick Install with Claude Code MCP Guide
Connect Claude Code to any remote MCP server with one simple command. Choose between direct HTTP connections or a universal bridge - all configured automatically with our setup wizard.
Get the Claude Code MCP Setup Guide →🔌 Test MCP Server Connection
Test your connection to the MCP wrapper server using your x-api-key. This validates that your MCP server credentials are configured correctly.
🚀 Test Full Browser Connection
Test both your MCP server connection AND your browser configuration. This ensures your complete browser automation setup is working correctly.
📡 API Endpoint & Required Headers
Required HTTP Headers:
🛠️ Available Tools
⚠️ Common Errors & Solutions
🌐 Browser Configuration
This MCP server uses Puppeteer to control a headless Chrome browser. The server handles browser management automatically, but you can customize browser behavior through configuration.
{
"headless": true,
"defaultViewport": {
"width": 1920,
"height": 1080
},
"args": [
"--no-sandbox",
"--disable-setuid-sandbox",
"--disable-dev-shm-usage"
],
"timeout": 30000,
"waitForSelector": 5000,
"screenshotOptions": {
"type": "png",
"fullPage": false,
"quality": 90
}
}
Configuration Options:
- headless: Run browser in headless mode (true/false)
- defaultViewport: Set browser window dimensions
- timeout: Page load timeout in milliseconds
- waitForSelector: Element wait timeout in milliseconds
- screenshotOptions: Screenshot format and quality settings
🏥 Service Health Check
Configuration
// Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) // Windows: %APPDATA%\Claude\claude_desktop_config.json { "mcpServers": { "browser-tools": { "command": "npx", "args": [ "-y", "@agentdeskai/browser-tools-mcp@latest" ] } } }
Features
Comprehensive browser automation and web analysis tools for AI assistants
Screenshots
Capture full page or element-specific screenshots with customizable options.
Element Interaction
Click, fill forms, and interact with web elements using CSS selectors.
Lighthouse Audits
Run performance, accessibility, and SEO audits using Google Lighthouse.
Console Logs
Monitor JavaScript errors, warnings, and console output.
Network Analysis
Track HTTP requests, responses, and network performance.
Device Emulation
Test websites on different devices and screen sizes.
📋 Recent Updates from GitHub
- Feature: Enhanced screenshot capabilities with element targeting
- Fix: Improved browser instance lifecycle management
- Feature: Added Lighthouse audit integration
- Enhancement: Better error handling for network timeouts
- Feature: Console log monitoring and filtering
- Fix: Resolved element selector timeout issues
- Enhancement: Improved form filling capabilities
- Feature: Network request/response monitoring
- Feature: Added text extraction from page elements
- Fix: Browser configuration parsing improvements
- Feature: Initial browser automation framework
- Docs: Added comprehensive API documentation