mcp-go-debugger

mcp-go-debugger

3.3

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

  1. ping

    Test connection to the debugger

  2. status

    Check debugger status and server running time

  3. launch

    Start a Go program for debugging

  4. attach

    Attach to a running Go process

  5. debug

    Debug a Go source file directly

  6. debug_test

    Debug a specific Go test function

  7. set_breakpoint

    Set breakpoints in specific files and lines

  8. list_breakpoints

    List all current breakpoints

  9. remove_breakpoint

    Remove a breakpoint

  10. Continue continue

    Continue to execute until the next breakpoint or program ends

  11. step

    Step into the next function call

  12. step_over

    Step by next function call

  13. step_out

    Step out the current function

  14. eval_variable

    Evaluate the value of a variable, configurable depth

  15. list_scope_variables

    List all variables (local, parameter, package) in the current scope

  16. get_execution_position

    Get the current execution location (file, line, function)

  17. get_debugger_output

    Retrieve captured stdout and stderr from debugged programs

  18. Close

    Close the current debugging session