Hi Derek,

Thank you for your work on delve, it is an excellent debugger for Go.

mcp-dap-server looks very interesting, I have long been wondering if it 
would be possible to have the LLM use the debugger to diagnose bugs 
autonomously. It seems like this paired with rr for record + replay (an 
existing feature in Delve) would be an ideal setup. There are many bugs 
that are simply impossible to debug without a tool like Delve + rr, so this 
should be a big leap forward in LLM capability for software bugfixing.

Thanks!
Christian Stewart
https://github.com/paralin

On Wednesday, July 16, 2025 at 5:14:38 PM UTC-7 Derek Parker wrote:

> Hey all, I wanted to share something I started working on recently: 
> https://github.com/go-delve/mcp-dap-server. 
> <https://github.com/go-delve/mcp-dap-server>
>
> It's an MCP (Model Context Protocol) server that can connect to a DAP 
> (Debug Adapter Protocol) server in order to have an AI Agent drive a 
> debugger. The project is very new and as such still has room for 
> improvements and fixes, but it works very well already. Currently the only 
> debugger supported is Delve, but it can easily be modified to connect to 
> any DAP server to drive not just Delve but also gdb, lldb, and anything 
> else that speaks DAP.
>
> Here are some demos of the MCP server being used from Claude Code:
>
> Basic demo with multiple prompts 
> <https://youtu.be/q0pNfhxWAWk?si=hzJWCyXnNsVKZ3Z4>
> Autonomous agentic debugging pt.1 
> <https://youtu.be/k5Z51et_rog?si=Z7VZWK8QQ94Pzptu>
> Autonomous agentic debugging pt.2 
> <https://youtu.be/8PcfLbU_EQM?si=I8y_RLjaWeT3B4I8>
>
> I'm happy to answer any questions and as always, contributions are very 
> welcome! Happy debugging!

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/c63e9213-d54f-446c-836a-350a50bf3b20n%40googlegroups.com.

Reply via email to