MCP.so
ログイン

Go Delve Debugger MCP Server

@xhd2015

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

xhd2015

Go Delve Debugger MCP Server について

MCP Server that exposes Golang's Delve Debugger, enable AI to self-debug

Go Delve Debugger MCP Server の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

Go Delve Debugger MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Go Delve Debugger MCP Server?

An MCP (Model Context Protocol) server that integrates with the Delve Go debugger, enabling AI assistants to start, control, and interact with debug sessions for Go applications. It exposes a set of tools for debugging Go programs via any MCP client.

How to use Go Delve Debugger MCP Server?

Install Go 1.21+ and Delve (go install github.com/go-delve/delve/cmd/dlv@latest), then install the server with go install github.com/xhd2015/dlv-mcp/cmd/dlv-mcp@latest. Start the server using dlv-mcp --listen :9097 and configure your MCP client to connect at http://localhost:9097/sse. Available tools include start_debug, set_breakpoint, continue, next, step_in, step_out, evaluate, and session management commands.

Key features of Go Delve Debugger MCP Server

  • Start debug sessions for Go programs
  • Set breakpoints in source code
  • Step through code: next, step in, step out
  • Evaluate expressions in debug context
  • Inspect variables and stack traces
  • Manage multiple concurrent debug sessions

Use cases of Go Delve Debugger MCP Server

  • Debugging Go applications interactively with an AI assistant
  • Automating debugging workflows through MCP client tools
  • Debugging Go tests by starting sessions in test mode
  • Remotely controlling a debug session from any MCP-compatible interface

よくある質問

1

What are the prerequisites for using this server?

Go 1.21 or higher and the Delve debugger (`dlv`) must be installed on the system.

2

How do I start the Go Delve Debugger MCP Server?

Run `dlv-mcp --listen :9097` from the command line, then point your MCP client to `http://localhost:9097/sse`.

3

How do I set a breakpoint?

Use the `set_breakpoint` tool with the session ID, absolute file path, and line number.

4

Can I manage multiple debug sessions at once?

Yes – the server supports session IDs and provides a `list_debug_sessions` tool to view active sessions.

5

What transport protocol does the server use?

It uses Server‑Sent Events (SSE) on the specified listen address.

コメント

「その他」の他のコンテンツ