A
securityA
licenseA
qualityTypeScript-based MCP server designed to enhance code editing experiences by providing features such as hover information, code completion, and diagnostics.
Last updated -
3
13
MIT License
用于 Delve 调试器集成的 MCP 服务器
这是一个基于 TypeScript 的 MCP 服务器,为 Go 程序的 Delve 调试器提供了完整的接口。它通过 MCP 工具实现了所有主要的 Delve 命令和功能。
delve://
URI 列出并访问调试会话使用以下工具调试、跟踪和分析 Go 程序:
debug
、 attach
、 exec
、 test
)rr
重放调试continue
、 step
、 next
)native
、 lldb
、 rr
)服务器要求:
go install github.com/go-delve/delve/cmd/dlv@latest
)rr
( https://github.com/mozilla/rr )要安装 Delve MCP 服务器:
安装依赖项:
构建服务器:
对于使用自动重建的开发:
要与 Claude Desktop 一起使用,请添加服务器配置:
~/.config/Claude/claude_desktop_config.json
。~/Library/Application Support/Claude/claude_desktop_config.json
。%APPDATA%/Claude/claude_desktop_config.json
。debug
- 调试当前目录或指定包中的 Go 包attach
-通过 PID 附加到正在运行的进程exec
**执行并调试预编译的二进制文件test
-在当前包或指定包中调试测试core
- 检查与可执行文件相关的核心转储文件dap
- 启动调试适配器协议(DAP)服务器replay
- 重放 rr 跟踪记录trace
- 使用函数匹配来跟踪程序执行setBreakpoint
- 设置带有可选条件的断点removeBreakpoint
**删除现有断点continue
**继续程序执行next
**跳到下一行step
**单步执行函数调用stepout
**跳出当前函数variables
- 列出当前范围内的局部变量evaluate
-评估当前范围内的表达式version
- 获取 Delve 版本信息setBackend
- 配置调试后端( native
、 lldb
、 rr
)configureLogging
- 配置调试日志组件麻省理工学院。
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
基于 TypeScript 的 MCP 服务器为 Go 程序的 Delve 调试器提供完整的接口,支持通过自然语言命令调试、跟踪和分析 Go 代码。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dwisiswant0/delve-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server