devtools-mcp

Author:@stefanli
View on GitHub

Overview

devtools-mcp is a server that provides access to the Chrome DevTools Protocol (CDP) for use with Large Language Models (LLMs).

To use it, start Chrome with remote debugging enabled, install the dependencies, and add it as a local MCP server. You can then interact with Chrome by executing CDP commands through the cdp_command tool.

Its key features include the ability to execute any CDP command via the cdp_command tool. It also automatically handles binary data, saving large responses like screenshots or PDFs to files.

Primary use cases are automating web interactions via CDP commands, integrating LLMs with web debugging tools, and programmatically capturing and processing web page data.

Its purpose is to allow developers to use the Chrome DevTools Protocol to interact with LLMs for automation and data handling. For setup, follow the provided instructions to configure Chrome, install dependencies, and set up the server. It is recommended to use a compatible version of Chrome that supports the necessary CDP features.