MCP Debugger
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CODELLDB_PATH | No | Path to an existing CodeLLDB installation (required on macOS or Windows, as the published npm bundle only ships Linux x64 CodeLLDB runtime) | |
| SKIP_ADAPTER_VENDOR | No | Set to 'true' in CI environments to skip vendoring debug adapters during installation |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_debug_sessionB | Create a new debugging session. Provide host and port to attach to a running process; omit them for launch mode |
| list_supported_languagesA | List all supported debugging languages with metadata |
| list_debug_sessionsA | List all active debugging sessions |
| set_breakpointA | Set a breakpoint. Setting breakpoints on non-executable lines (structural, declarative) may lead to unexpected behavior |
| start_debuggingC | Start debugging a script |
| attach_to_processC | Attach to a running process for debugging |
| detach_from_processA | Detach from the debugged process without terminating it |
| close_debug_sessionC | Close a debugging session |
| step_overD | Step over |
| step_intoD | Step into |
| step_outD | Step out |
| continue_executionD | Continue execution |
| pause_executionC | Pause a running program |
| list_threadsC | List all threads in the debugged process |
| get_variablesC | Get variables (scope is variablesReference: number) |
| get_local_variablesA | Get local variables for the current stack frame. This is a convenience tool that returns just the local variables without needing to traverse stack->scopes->variables manually |
| get_stack_traceC | Get stack trace |
| get_scopesC | Get scopes for a stack frame |
| evaluate_expressionC | Evaluate expression in the current debug context. Expressions can read and modify program state |
| get_source_contextC | Get source context around a specific line in a file |
| redefine_classesA | Hot-swap changed Java classes into a running JVM. Scans a classes directory for .class files modified after sinceTimestamp, matches them against loaded classes in the target JVM, and redefines them using JDI. Returns which classes were redefined and the newest file timestamp (pass as sinceTimestamp on next call for incremental updates). Only works with Java debug sessions. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
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/debugmcp/mcp-debugger'
If you have feedback or need assistance with the MCP directory API, please join our Discord server