Debugging MCP Server
Wraps git to retrieve recent commit history, providing contextual version control information to correlate failures with recent codebase changes.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Debugging MCP Serverdebug this TypeError in the authentication module"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Debugging MCP Server
A Model Context Protocol (MCP) server for structured debugging assistance. This server exposes tools, resources, and prompts that help an LLM host automatically diagnose errors, search the codebase, and correlate failures.
Features
This server provides a strict, safe, and context-rich environment for an LLM to investigate coding issues.
🛠️ Tools (Actions)
initialize_session: Auto-detects the framework, log paths, test runners, and tech stack.search_codebase: Fast search usingripgrep(fallback to fs walk).run_tests: Executes the workspace's test suite (requires explicitconfirm=trueflag for safety).get_recent_commits: Wrapsgitfor contextual history.Debugger Integration (DAP & V8 CDP):
connect_dap: Connects to a running debugger. Automatically detects and switches between DAP (TCP) and V8 Inspector (WebSocket) protocols!inspect_runtime_state: Retrieves live threads, call stack, scopes, and variables.step_debugger: Controls execution flow (continue,next,stepIn,stepOut) while preserving safe execution synchronization.evaluate_expression: Evaluates expressions safely (restricted tohoverandwatchcontexts).disconnect_dap: Cleanly disconnects from the remote session.
📁 Resources (Context)
workspace://structure: A dynamic map of the repository structure.workspace://logs: Tail common workspace log files.
💬 Prompts (Workflows)
debug-error: Orchestrates the LLM to use the tools to find root causes of an error.explain-stacktrace: Analyzes a provided stack trace using codebase search.correlate-failure: Links recent commits to a current failure state.
Related MCP server: Advanced MCP Server
Installation & Build
# Install dependencies
npm install
# Build the TypeScript code
npm run buildUsage
You can run the server directly via stdio:
npm startUsing the MCP Inspector
To test the server locally, use the official MCP Inspector:
npm run inspectSecurity & Architecture
This server is built with safety in mind. All command execution (like run_tests) is gated by a Policy Layer (src/server/policy.ts) that guarantees:
No destructive shell commands can be run.
File access is strictly locked to the workspace root.
DAP code evaluation is restricted from executing arbitrary mutations (no Repl context).
Safety flags (like
confirm: true) are required for active agents.
For deeper technical details and usage examples, refer to the GUIDE.md.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityFmaintenanceUnleashes LLM-powered agents to autonomously execute and debug web apps directly in your code editor, with features like webapp navigation, network traffic capture, and console error collection.Last updated21,240Apache 2.0
- Flicense-qualityCmaintenanceProvides AI coding agents with a secure, sandboxed environment for executing coding tasks including file operations, command execution, and testing. Features session management, policy enforcement, and Docker-based sandboxing for safe code execution and development workflows.Last updated
- Alicense-qualityDmaintenanceProvides intelligent error detection and debugging capabilities across multiple programming languages with real-time monitoring of build, lint, runtime, console, and test errors. Offers AI-enhanced error analysis with automated resolution suggestions and context-aware debugging.Last updatedMIT
- Alicense-qualityDmaintenanceEnables AI agents to analyze Windows crash dumps by providing structured data on exceptions, threads, modules, and source context, with safe patch, build, and test execution.Last updated5MIT
Related MCP Connectors
Browser-backed QA with evidence and fix-ready reports for coding agents.
Shared debugging memory for AI coding agents
Lints + auto-fixes how AI coding agents discover any new product. 24 rules, 6 tools, score 0-100.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/luischang07/debugging-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server