chrome-mcp

chrome-mcp

19

The Chrome MCP Server is designed to give users detailed control over a Chrome browser through the Model Context Protocol. It supports various browser automation tools and integrates seamlessly with Roo Code for enhanced development capabilities.

Chrome MCP Server

A Model Context Protocol (MCP) server that provides fine-grained control over a Chrome browser instance through the Chrome DevTools Protocol (CDP).

Prerequisites

  • Bun (recommended) or Node.js (v14 or higher)
  • Chrome browser with remote debugging enabled

Setup

  • Install Bun or Node.js
  • Start Chrome with remote debugging
  • Install dependencies
  • Start the server

Configuring Roo Code

  • Configure Roo Code MCP settings to use the Chrome MCP server

Available Tools

  • Navigate to URL
  • Click at coordinates
  • Type text
  • Click element by index
  • Get text content by CSS selector
  • Get page info and state

Usage

  • Implements MCP with SSE transport
  • Connect at: http://localhost:3000/sse

Development

  • Run server in development mode with hot reloading