cdp-tools-mcp
by InDate
Overview
A comprehensive debugging and automation tool for web development, designed to validate capabilities of the Model Context Protocol (MCP) by interacting with browser and Node.js runtimes.
Installation
node build/index.jsEnvironment Variables
- CDP_TOOLS_DIR
- MCP_DEBUG_PORT
- PORT
Security Notes
The server inherently exposes high-risk capabilities necessary for its debugging and development automation functions. It utilizes `Runtime.evaluate` (for arbitrary JavaScript execution in browser/Node.js contexts) and `child_process.spawn` (for running external commands like `weasyprint` and managing development servers via native, Docker, or Docker Compose runners). While `download-tools.ts` implements some file-system security (filename validation, content type checks, size limits, quarantining suspicious files, and removing executable permissions), the ability to execute arbitrary commands and code makes the server critically unsafe if exposed to unconstrained or malicious input from an AI agent. It relies on a trusted user context and external safeguards for safe operation.
Similar Servers
chrome-devtools-mcp
Control and inspect a live Chrome browser programmatically via an MCP server, enabling AI coding agents to perform reliable automation, in-depth debugging, and performance analysis.
mcp-chrome
Transforms the Chrome browser into an AI-controlled automation tool, enabling large language models to interact with web pages, analyze content, and manage browser functions.
CodeGraphContext
This MCP Server acts as an expert AI pair programmer's backend, providing real-time, accurate code analysis, indexing, and relationship information from a local codebase to assist with understanding, writing, and refactoring code.
figma-console-mcp
Provides AI assistants with real-time console access, visual debugging, design system extraction, and design creation capabilities for Figma.