LLDB MCP
9 hours ago
- #MCP
- #LLDB
- #Debugging
- LLDB supports the Model Context Protocol (MCP) for AI models to interact with debuggers.
- Start the MCP server with 'protocol-server start MCP listen://localhost:59999' and stop it with 'protocol-server stop MCP'.
- Use 'lldb-mcp' as a helper to bridge stdio to the MCP server socket for client communication.
- LLDB's MCP exposes the 'lldb_command' tool to run commands and resources for debuggers and targets via specific URIs.
- Enable troubleshooting logs for the MCP server using the Host channel with 'log enable lldb host'.