Back to Home
johngrimes icon

mcp-js-debugger

by johngrimes

Overview

Enables AI assistants to debug JavaScript and TypeScript applications by exposing Chrome DevTools Protocol capabilities.

Installation

Run Command
npx mcp-js-debugger

Security Notes

The server allows connecting to arbitrary WebSocket URLs via `connect_debugger` and fetching source maps from arbitrary URLs. This presents a severe Server-Side Request Forgery (SSRF) vulnerability, allowing an AI to potentially probe or interact with internal network resources from the host running the MCP server. While the evaluation of expressions is an inherent function of a debugger, the uncontrolled network access for connection and resource fetching is a critical flaw. The design document mentions mitigation strategies (URL validation, allowlists), but these are not implemented in the provided source code.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2025-11-24

Tags

DebuggerJavaScriptTypeScriptCDPAI Assistant