drio
Open app

Chrome API MCP Server

Source

A Chrome browser control MCP server for AI assistants to directly interact with and control Chrome via Chrome DevTools Protocol

Catalog onlyCatalog onlySTDIO

Overview

Chrome Control API is a streamlined API designed for controlling the Chrome browser via the Chrome DevTools Protocol, enabling AI assistants to interact directly with Chrome.

To use the Chrome Control API, import the API in your JavaScript project, create an instance of the ChromeAPI class, and utilize its methods to manage tabs, navigate, interact with the DOM, and analyze page content.

  • Tab management (create, list, close) - Navigation (go to URL, back, forward, reload) - DOM interaction (find elements, click, type text) - Page content analysis (extract structure, find content sections) - Intelligent search handling (automatically find and use search fields) - Screenshot capture (full page or specific elements) - JavaScript execution - Network traffic monitoring
  1. Automating web testing and interactions for applications.
  2. Building AI assistants that can navigate and extract information from web pages.
  3. Enhancing browser automation tasks for developers and testers.

Add to your AI client

Use these steps to connect Chrome API MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "chrome-control-mcp-needsupport": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-chrome-control-mcp-needsupport"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "chrome-control-mcp-needsupport": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-chrome-control-mcp-needsupport"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "chrome-control-mcp-needsupport": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-chrome-control-mcp-needsupport"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "chrome-control-mcp-needsupport": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-chrome-control-mcp-needsupport"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "chrome-control-mcp-needsupport": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-chrome-control-mcp-needsupport"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "chrome-control-mcp-needsupport": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-chrome-control-mcp-needsupport"
      ]
    }
  }
}

FAQ

Can I control multiple tabs at once?

Yes! The API allows you to manage multiple tabs simultaneously.

Is the Chrome Control API free to use?

Yes! The API is open-source and free to use.

What programming language is required?

The API is designed for use with JavaScript and TypeScript.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2914,"uuid":"b38b7cc8-f120-41fc-b1d2-06f42f733043","name":"chrome-control-mcp","title":"Chrome API MCP Server","description":"A Chrome browser control MCP server for AI assistants to directly interact with and control Chrome via Chrome DevTools Protocol","avatar_url":"https://avatars.githubusercontent.com/u/116121446?v=4","created_at":"2025-03-16T04:07:57.024Z","updated_at":"2025-03-16T04:13:37.070Z","status":"created","author_name":"needsupport","author_avatar_url":"https://avatars.githubusercontent.com/u/116121446?v=4","tags":"[]","category":"browser-automation","is_featured":false,"sort":1,"url":"https://github.com/needsupport/chrome-control-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-18 12:23:56\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]

Chrome API MCP Server — MCP Registry