devtools-mcp
@stefanli
About devtools-mcp
A MCP server that provides Chrome DevTools Protocol access to LLMs
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is devtools-mcp?
devtools-mcp is an MCP server that provides LLMs with access to Chrome DevTools Protocol (CDP) commands, enabling browser automation and inspection through a natural language interface. It is intended for developers integrating LLMs with browser debugging and control.
How to use devtools-mcp?
Start Chrome with remote debugging on port 9222, install dependencies with npm install, then add the server as a local MCP server (e.g., with Claude Code using claude mcp add). The server exposes a single cdp_command tool that accepts a CDP method and optional parameters, and automatically saves binary output (screenshots, PDFs) to the ./cdp-output/ directory.
Key features of devtools-mcp
- Execute any CDP command through the
cdp_commandtool - Automatic binary data handling with file path references
- Seamless integration with LLM-based clients
- Supports all Chrome DevTools Protocol methods
Use cases of devtools-mcp
- Navigating pages and evaluating JavaScript via LLMs
- Taking screenshots and capturing PDFs during automated testing
- Debugging web applications through conversational AI assistants
FAQ from devtools-mcp
What is the cdp_command tool?
It is the single tool exposed by the server. It takes a method (required) and params (optional JSON string) to execute any Chrome DevTools Protocol command.
How is binary data handled?
Large binary responses (e.g., screenshots, PDFs) are automatically saved to the ./cdp-output/ directory. The tool returns a file path reference instead of raw binary data.
What runtime or dependencies are required?
Node.js and Chrome (or Chromium) running with remote debugging enabled on port 9222. Install npm dependencies via npm install.
How is the server started or configured?
You add it as a local MCP server in your client (e.g., Claude Code). The example command is claude mcp add devtools-server -- npx tsx ~/projects/devtools-mcp/src/index.ts.
What transport or authentication does it use?
The README does not specify authentication or transport details. It communicates with a locally running Chrome instance over HTTP (CDP via WebSocket).
More Other MCP servers
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,

EverArt
modelcontextprotocolModel Context Protocol Servers
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Comments