MCP ExplorerExplorer

Lldb Mcp

@ankur106on a year ago
1 MIT
FreeCommunity
AI Systems
#lldb#model-context-protocol
MCP LLDB Server enables LLDB debugging for AI assistants like Claude.

Overview

What is Lldb Mcp

LLDB_MCP is a Model Context Protocol (MCP) server that enables LLDB debugging capabilities for AI assistants like Claude.

Use cases

Use cases include debugging applications, analyzing core dumps, and assisting developers in real-time during coding sessions with AI support.

How to use

To use LLDB_MCP, configure the MCP settings in the Claude app or browser extension to include the server, then restart Claude or refresh the page to access LLDB tools during conversations.

Key features

Key features include starting and managing LLDB sessions, loading programs and core dumps, setting breakpoints, stepping through code, examining memory, and executing arbitrary LLDB commands.

Where to use

LLDB_MCP is primarily used in software development and debugging environments, particularly when integrating AI assistants with debugging tools.

Content

MCP LLDB Server

A Model Context Protocol (MCP) server that provides LLDB debugging functionality for use with Claude or other AI assistants.

Example with claude

Features

  • Start and manage LLDB debugging sessions
  • Load programs and core dumps for analysis
  • Set breakpoints, step through code, and examine memory
  • View call stacks, variables, and registers
  • Execute arbitrary LLDB commands

Installation

# Clone the repository
git clone [email protected]:ankur106/LLDB_MCP.git

cd LLDB_MCP

# Install dependencies
npm install

# Build the project
npm run build

Usage

Using with Claude or other MCP-enabled assistants

  1. Configure the MCP settings in the Claude desktop app or browser extension to include this server:
{
  "mcpServers": {
    "lldb": {
      "command": "node",
      "args": [
        "/path/to/LLDB_MCP/build/index.js"
      ],
      "disabled": false
    }
  }
}
  1. Restart Claude or refresh the page.

  2. Now you can use the LLDB tools in your conversations with Claude.

Supported LLDB Commands

  • lldb_start: Start a new LLDB session
  • lldb_load: Load a program into LLDB
  • lldb_command: Execute an arbitrary LLDB command
  • lldb_terminate: Terminate an LLDB session
  • lldb_list_sessions: List all active LLDB sessions
  • lldb_attach: Attach to a running process
  • lldb_load_core: Load a core dump file
  • lldb_examine: Examine memory
  • lldb_info_registers: Display registers
  • lldb_set_breakpoint: Set a breakpoint
  • lldb_continue: Continue program execution
  • lldb_step: Step program execution
  • lldb_backtrace: Show call stack
  • lldb_print: Print value of expression
  • lldb_next: Step over function calls
  • lldb_finish: Execute until the current function returns
  • lldb_run: Run the program
  • lldb_frame_info: Get information about the current stack frame
  • lldb_disassemble: Disassemble the current function

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers