Back to Home
InDate icon

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

Run Command
node build/index.js

Environment 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

Stats

Interest Score15
Security Score3
Cost ClassHigh
Avg Tokens1000
Stars4
Forks1
Last Update2025-12-19

Tags

debuggingweb developmentCDPautomationtesting