chrome-tools-MCP

chrome-tools-MCP

26

Chrome Tools MCP Server provides a suite of tools for remote interaction with Google Chrome through the DevTools Protocol. It allows users to manage Chrome tabs and perform actions like executing scripts and capturing network events. A notable feature is its ability to optimize screenshots for AI consumption.

Chrome Tools MCP Server

An MCP server providing tools for interacting with Chrome via the DevTools Protocol. It offers features like remote control of Chrome tabs, executing JavaScript, capturing screenshots, and monitoring network traffic.

Features

  • List Chrome tabs
  • Execute JavaScript in tabs
  • Capture screenshots
  • Monitor network traffic
  • Navigate tabs to URLs
  • Query DOM elements
  • Click elements with console output capture

Setup Guide

  • Native Setup: Enable remote debugging on Chrome for Windows, Mac, or Linux.
  • WSL Setup: Set up an SSH tunnel from Windows to WSL.
  • Docker Setup: Run Chrome in a Docker container and configure settings.

Tools

  • list_tabs: List all Chrome tabs.
  • execute_script: Run JS in a tab.
  • capture_screenshot: Capture tab screenshot optimized for AI.
  • capture_network_events: Monitor network events.
  • load_url: Navigate tab to a URL.
  • query_dom_elements: Retrieve DOM element details.
  • click_element: Click an element and capture console output.