mcp-go-debugger
If you are the rightful owner of mcp-go-debugger and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
MCP Go Debugger is a debugger interface for Go programs that integrates with the Model Context Protocol (MCP).
The MCP Go Debugger is a powerful tool designed to facilitate the debugging of Go applications by integrating with the Model Context Protocol (MCP). It provides a comprehensive set of features that allow developers to launch and debug Go applications, attach to existing processes, and set breakpoints. The debugger supports stepping through code, evaluating variables, viewing stack traces, and inspecting variables in detail. It is natively integrated with the Delve debugger API, ensuring robust and efficient debugging capabilities. The tool also supports debugging individual test functions and capturing program output, making it an essential tool for Go developers looking to streamline their debugging process.
Features
- Launch and debug Go applications
- Attach to existing Go processes
- Set breakpoints and step through code
- Eval variables and view stack traces
- Native integration with Delve debugger API
Tools
ping
Test connection to the debugger
status
Check debugger status and server running time
launch
Start a Go program for debugging
attach
Attach to a running Go process
debug
Debug a Go source file directly
debug_test
Debug a specific Go test function
set_breakpoint
Set breakpoints in specific files and lines
list_breakpoints
List all current breakpoints
remove_breakpoint
Remove a breakpoint
Continue continue
Continue to execute until the next breakpoint or program ends
step
Step into the next function call
step_over
Step by next function call
step_out
Step out the current function
eval_variable
Evaluate the value of a variable, configurable depth
list_scope_variables
List all variables (local, parameter, package) in the current scope
get_execution_position
Get the current execution location (file, line, function)
get_debugger_output
Retrieve captured stdout and stderr from debugged programs
Close
Close the current debugging session