Chrome Tools MCP Server

Enables remote control of Chrome tabs through the DevTools Protocol for tasks like executing JavaScript, capturing screenshots, and monitoring

Local serverstdio★ 53

What is the Chrome Tools MCP Server?

Enables remote control of Chrome tabs through the DevTools Protocol for tasks like executing JavaScript, capturing screenshots, and monitoring network traffic.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_tabs
execute_scriptExecutes JavaScript code in a specified tab. Parameters: - tabId: ID of the Chrome tab - script: JavaScript code to execute
capture_screenshotCaptures a screenshot of a specified tab, automatically optimizing it for AI model consumption. Parameters: - tabId: ID of the Chrome tab - format: Image format (jpeg/png) - Note: This is only for initial capture. Final
capture_network_eventsMonitors and captures network events from a specified tab. Parameters: - tabId: ID of the Chrome tab - duration: Duration in seconds to capture - filters: Optional type and URL pattern filters
load_urlNavigates a tab to a specified URL. Parameters: - tabId: ID of the Chrome tab - url: URL to load
query_dom_elementsQueries and retrieves detailed information about DOM elements matching a CSS selector. Parameters: - tabId: ID of the Chrome tab - selector: CSS selector to find elements Returns: - Array of DOM elements with properties
click_elementClicks on a DOM element and captures any console output triggered by the click. Parameters: - tabId: ID of the Chrome tab - selector: CSS selector to find the element to click Returns: - Object containing: - message: Suc

How to install the Chrome Tools MCP Server

{
  "mcpServers": {
    "chrome-tools": {
      "command": "npx",
      "args": ["-y", "@nicholmikey/chrome-tools"],
      "env": {
        "CHROME_DEBUG_URL": "your-value",
        "CHROME_CONNECTION_TYPE": "your-value",
        "CHROME_ERROR_HELP": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
CHROME_DEBUG_URLEndpoint or connection string the server talks to.Yes
CHROME_CONNECTION_TYPEConfiguration value read at startup.Optional
CHROME_ERROR_HELPConfiguration value read at startup.Optional

Example prompts to try

  • “Use Chrome Tools to list tabs.”
  • “Use Chrome Tools to execute script.”
  • “Use Chrome Tools to capture screenshot.”

Frequently asked questions

You can automate browser interactions, capture screenshots optimized for AI, monitor network events, query DOM elements, and generally control Chrome for testing, data extraction, or other automation needs.