DevTools Debugger

Browser automationDeveloper tools

An MCP server exposing full Chrome DevTools Protocol debugging: breakpoints, step/run, call stacks, eval, and source maps.

Your AI app calls the DevTools Debugger MCP server, which does the work through tools like start_node_debug, stop_debug_session, set_breakpoint and set_breakpoint_condition and sends the result back to the chat.

About DevTools Debugger

DevTools Debugger is a community MCP server from ScriptedAlchemy, filed in our directory under browser automation and developer tools. An MCP server exposing full Chrome DevTools Protocol debugging: breakpoints, step/run, call stacks, eval, and source maps.

The README for DevTools Debugger lists tools such as start_node_debug, stop_debug_session, set_breakpoint and set_breakpoint_condition, which your AI app can call once the server is connected.

At a glance

Publisher
ScriptedAlchemy (community)
Runs
See the README for setup
Written in
JavaScript
License
MIT
GitHub stars
351

Tools DevTools Debugger gives your AI app

  • start_node_debugLaunch a Node.js script with debugging enabled.
  • stop_debug_sessionTerminate the debugging session and clean up.
  • set_breakpointSet a breakpoint at a specific file and line.
  • set_breakpoint_conditionSet a conditional breakpoint or breakpoint by URL regex.
  • add_logpointAdd a logpoint that logs messages when hit.
  • set_exception_breakpointsConfigure pause-on-exception behavior.
  • resume_executionContinue execution to the next breakpoint or completion.
  • step_overStep over the current line.
  • step_intoStep into function calls.
  • step_outStep out of the current function.
  • continue_to_locationRun until reaching a specific location.
  • restart_frameRestart execution from a specific call frame.
  • inspect_scopesExamine local variables, closures, and this context.
  • evaluate_expressionEvaluate JavaScript expressions in the current context.
  • get_object_propertiesDrill down into object properties.
  • list_call_stackView the current call stack.
  • get_pause_infoGet information about the current pause state.
  • list_scriptsList all loaded scripts.
  • get_script_sourceRetrieve source code for scripts.
  • blackbox_scriptsConfigure scripts to skip during debugging.
  • read_consoleRead console output captured during debugging.

Tool names as the DevTools Debugger README lists them. Your AI app shows the live list once DevTools Debugger is connected.

How to set up DevTools Debugger

  1. Follow the install steps in the DevTools Debugger README; it is written in JavaScript, so have that toolchain ready.
  2. Check the DevTools Debugger README for keys or settings; the registry lists none that DevTools Debugger requires.
  3. Add DevTools Debugger to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the DevTools Debugger tools to confirm the connection.
  5. Run one read-only task with DevTools Debugger first, such as a call to start_node_debug, before you allow anything that writes or sends.

DevTools Debugger compared with similar servers

  • Moling by gojue has fewer GitHub stars than DevTools Debugger (341 against 351); both are community servers, and both run locally.
  • Browser Control by eyalzh has more GitHub stars than DevTools Debugger (361 against 351); both are community servers, and both run locally.
  • Nuphus by mrpulor-gh has fewer GitHub stars than DevTools Debugger (339 against 351); both are community servers, and both run locally.

Before you connect DevTools Debugger

  • Give DevTools Debugger its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each DevTools Debugger tool call until you trust what it does with them.
  • Treat text that DevTools Debugger fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for DevTools Debugger on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for DevTools Debugger

How marketing and sales teams put DevTools Debugger to work, by company size. Pick the size closest to yours and start DevTools Debugger on one use case.

Small business

  • A small business can use DevTools Debugger to check its own site after every change: forms submit, links work and checkout still loads.
  • Owners can have DevTools Debugger collect competitor prices or offers from public pages once a week, instead of doing it by hand.
  • A small business with a developer can use DevTools Debugger to ship site and tracking fixes faster, with the AI reading the code it changes.
  • DevTools Debugger runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can run DevTools Debugger to test landing pages and signup flows on every release, catching a broken form before paid traffic hits it.
  • Growth teams can use DevTools Debugger to capture screenshots of ads and pages across markets for reviews and audits.
  • Growth engineers can use DevTools Debugger to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Start with start_node_debug and stop_debug_session, the tools DevTools Debugger lists first, and add more once the team trusts the results.

Enterprise

  • Enterprises can run DevTools Debugger in isolated environments with allow-listed sites, so browsing agents never reach internal or unknown pages.
  • Large web teams can use DevTools Debugger for regression checks across many locales and devices, feeding results into release gates.
  • Enterprise engineering teams can roll out DevTools Debugger with repo scopes and audit logs, so agents work only where they are allowed.
  • DevTools Debugger is a community server, so have security review the code and pin a version before DevTools Debugger touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

DevTools Debugger README

From ScriptedAlchemy/devtools-debugger-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Node.js Debugger MCP

An MCP server that provides comprehensive Node.js debugging capabilities using the Chrome DevTools Protocol. This server enables AI assistants to debug Node.js applications with full access to breakpoints, stepping, variable inspection, call stacks, expression evaluation, and source maps.

Why use this MCP server?

This MCP server is useful when you need AI assistance with debugging Node.js applications. It provides programmatic access to all the debugging features you'd find in Chrome DevTools or VS Code, allowing AI assistants to help you set breakpoints, inspect variables, step through code, and analyze runtime behavior.

Features

  • Full Node.js debugger: Set breakpoints, conditional breakpoints, logpoints, and pause-on-exceptions
  • Stepping controls: Step over/into/out, continue to location, restart frame
  • Variable inspection: Explore locals/closure scopes, this preview, and drill down into object properties
  • Expression evaluation: Evaluate JavaScript expressions in the current call frame with console output capture
  • Call stack analysis: Inspect call stacks and pause-state information
  • Source map support: Debug TypeScript and other transpiled code with full source map support
  • Console monitoring: Capture and review console output during debugging sessions

Installation

npm install devtools-debugger-mcp

Configuration

Add the server to your MCP settings configuration:

{
  "devtools-debugger-mcp": {
    "command": "node",
    "args": ["path/to/devtools-debugger-mcp/dist/index.js"]
  }
}

Alternatively, if installed globally, you can use the CLI binary:

{
  "devtools-debugger-mcp": {
    "command": "devtools-debugger-mcp"
  }
}

Node.js Debugging

This MCP server can debug Node.js programs by launching your script with the built‑in inspector (--inspect-brk=0) and speaking the Chrome DevTools Protocol (CDP).

How it works

  • start_node_debug spawns node --inspect-brk=0 your-script.js, waits for the inspector WebSocket, attaches, and returns the initial pause (first line) with a pauseId and top call frame.
  • You can then set breakpoints (by file path or URL regex), choose pause-on-exceptions, and resume/step. At each pause, tools can inspect scopes, evaluate expressions, and read console output captured since the last step/resume.
  • When the process exits, the server cleans up the CDP session and resets its state.

Quickstart (from an MCP-enabled client)

  1. Start a debug session
{ "tool": "start_node_debug", "params": { "scriptPath": "/absolute/path/to/app.js" } }
  1. Set a breakpoint (file path + 1-based line)
{ "tool": "set_breakpoint", "params": { "filePath": "/absolute/path/to/app.js", "line": 42 } }
  1. Run to next pause (optionally include console/stack)
{ "tool": "resume_execution", "params": { "includeConsole": true, "includeStack": true } }
  1. Inspect at a pause
{ "tool": "inspect_scopes", "params": { "maxProps": 15 } }
{ "tool": "evaluate_expression", "params": { "expr": "user.name" } }
  1. Step
{ "tool": "step_over" }
{ "tool": "step_into" }
{ "tool": "step_out" }
  1. Finish
{ "tool": "stop_debug_session" }

Node.js tool reference (summary)

  • start_node_debug({ scriptPath, format? }), Launches Node with inspector and returns initial pause.
  • set_breakpoint({ filePath, line }), Breakpoint by file path (1-based line).
  • set_breakpoint_condition({ filePath?, urlRegex?, line, column?, condition, format? }), Conditional breakpoint or by URL regex.
  • add_logpoint({ filePath?, urlRegex?, line, column?, message, format? }), Logpoint via conditional breakpoint that logs and returns false.
  • set_exception_breakpoints({ state }), none | uncaught | all.
  • blackbox_scripts({ patterns }), Ignore frames from matching script URLs.
  • list_scripts() / get_script_source({ scriptId? | url? }), Discover and fetch script sources.
  • continue_to_location({ filePath, line, column? }), Run until a specific source location.
  • restart_frame({ frameIndex, pauseId?, format? }), Re-run the selected frame.
  • resume_execution({ includeScopes?, includeStack?, includeConsole?, format? }), Continue to next pause or exit.
  • step_over|step_into|step_out({ includeScopes?, includeStack?, includeConsole?, format? }), Stepping with optional context in the result.
  • evaluate_expression({ expr, pauseId?, frameIndex?, returnByValue?, format? }), Evaluate in a paused frame; defaults to top frame.
  • inspect_scopes({ maxProps?, pauseId?, frameIndex?, includeThisPreview?, format? }), Locals/closures and this summary.
  • get_object_properties({ objectId, maxProps?, format? }), Drill into object previews.
  • list_call_stack({ depth?, pauseId?, includeThis?, format? }), Top N frames summary.
  • get_pause_info({ pauseId?, format? }), Pause reason/location summary.
  • read_console({ format? }), Console messages since the last step/resume.
  • stop_debug_session(), Kill process and detach.

Notes

  • File paths are converted to file:// URLs internally for CDP compatibility.
  • line is 1-based; CDP is 0-based internally.
  • The server buffers console output between pauses; fetch via includeConsole on step/resume or with read_console.
  • Use set_output_format({ format: 'text' | 'json' | 'both' }) to set default response formatting.

Available Tools

This MCP server provides the following Node.js debugging tools. All tools support optional format parameter ('text' or 'json') to control response formatting.

Session Management
  • start_node_debug - Launch a Node.js script with debugging enabled
  • stop_debug_session - Terminate the debugging session and clean up
Breakpoint Management
  • set_breakpoint - Set a breakpoint at a specific file and line
  • set_breakpoint_condition - Set a conditional breakpoint or breakpoint by URL regex
  • add_logpoint - Add a logpoint that logs messages when hit
  • set_exception_breakpoints - Configure pause-on-exception behavior
Execution Control
  • resume_execution - Continue execution to the next breakpoint or completion
  • step_over - Step over the current line
  • step_into - Step into function calls
  • step_out - Step out of the current function
  • continue_to_location - Run until reaching a specific location
  • restart_frame - Restart execution from a specific call frame
Inspection and Analysis
  • inspect_scopes - Examine local variables, closures, and this context
  • evaluate_expression - Evaluate JavaScript expressions in the current context
  • get_object_properties - Drill down into object properties
  • list_call_stack - View the current call stack
  • get_pause_info - Get information about the current pause state
Utilities
  • list_scripts - List all loaded scripts
  • get_script_source - Retrieve source code for scripts
  • blackbox_scripts - Configure scripts to skip during debugging
  • read_console - Read console output captured during debugging

For detailed usage examples and parameter descriptions, see the "Node.js Debugging" section above.

License

MIT

Questions about DevTools Debugger

What is the DevTools Debugger MCP server?

An MCP server exposing full Chrome DevTools Protocol debugging: breakpoints, step/run, call stacks, eval, and source maps. DevTools Debugger is maintained by ScriptedAlchemy on GitHub at ScriptedAlchemy/devtools-debugger-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the DevTools Debugger MCP server?

DevTools Debugger doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (ScriptedAlchemy/devtools-debugger-mcp). Like most servers, DevTools Debugger ends with a command or URL you paste into your AI app's MCP config.

Does DevTools Debugger need an API key?

The registry lists no required keys for DevTools Debugger. Check the DevTools Debugger README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is DevTools Debugger an official MCP server?

No. DevTools Debugger is a community server maintained by ScriptedAlchemy. Community servers can be excellent; read the code and the open issues before you give DevTools Debugger access to company data.

What license is DevTools Debugger under?

DevTools Debugger is released under the MIT license, according to its GitHub repository. The license covers the code of DevTools Debugger; the service it connects to has its own terms.