mcp-go-debugger

mcp-go-debugger

2

The MCP Go Debugger is a tool for debugging Go programs with Model Context Protocol support. It features breakpoint setting, code stepping, and variable evaluation, integrated with Delve's API. It is designed for seamless use with MCP-compatible clients.

MCP Go Debugger

A debugger interface for Go programs that integrates with the Model Context Protocol (MCP).

Features

  • Launch and debug Go applications
  • Attach to existing Go processes
  • Set breakpoints, step through code
  • Eval variables and view stack traces
  • Native integration with Delve debugger API types

Installation

  • Requires Go 1.20 or higher
  • Install with go install or build from source

Usage

  • Integrated with MCP-compatible clients
  • Commands: launch, attach, debug, set_breakpoint
  • Debugging support for test functions and inspecting data structures

Integration

  • Configuration for Cursor and Claude Desktop available