Chrome Control Logo

Browser Automation for AI Assistants

Control Chrome directly through JSON-RPC and MCP for seamless AI-driven browser automation

Key Features

🧠

AI-Optimized

Designed specifically for AI assistants with token-efficient responses and structured data extraction.

👁️

Visual Feedback

Option to run in windowed mode for users to see AI actions in real-time with screenshot capabilities.

🛡️

Bot-Detection Avoidance

Stealth features to navigate modern websites without being detected as an automated system.

🔄

Session Persistence

Support for user profiles to maintain login sessions and cookies between runs.

Action Chaining

Execute multiple browser operations in a single request for efficient automation.

📊

DOM Filtering

Extract only relevant elements and attributes from pages for focused data processing.

Quick Start

Installation

# Install globally
npm install -g mcp-chrome-control

# Or use without installation via npx
npx mcp-chrome-control

MCP Integration

// Add to your .mcp.json file:
{
  "chrome": {
    "type": "stdio",
    "command": "npx",
    "args": ["mcp-chrome-control"],
    "env": {}
  }
}

Direct Client Usage

import { ChromeControlClient } from 'mcp-chrome-control/client';

async function runDemo() {
  const client = new ChromeControlClient();
  await client.start();
  
  // Create a browser (visible to user)
  const browserId = await client.createBrowser({ 
    headless: false 
  });
  
  // Navigate and interact
  await client.navigate('https://example.com', browserId);
  await client.screenshot(browserId, { 
    path: 'screenshot.png' 
  });
  
  // Clean up
  await client.closeBrowser(browserId);
  await client.stop();
}

Documentation & Resources

Full Documentation

Comprehensive guides, API reference, and tutorials for using Chrome Control.

View Documentation

Example Scripts

Browse example scripts for common automation tasks and AI integrations.

View Examples

API Reference

Detailed reference of all available tools, methods, and parameters.

View API Reference

Ready to supercharge your AI with web automation?

Start using Chrome Control today to enable your AI assistants to interact with the web.

Get Started