devtools-mcp
@stefanli
关于 devtools-mcp
A MCP server that provides Chrome DevTools Protocol access to LLMs
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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).
其他 分类下的更多 MCP 服务器
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Codelf
unbugA search tool helps dev to solve the naming things problem.
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
评论