{"id":26937508,"url":"https://github.com/stass/lldb-mcp","last_synced_at":"2026-08-28T00:47:07.036Z","repository":{"id":284480972,"uuid":"955087112","full_name":"stass/lldb-mcp","owner":"stass","description":"LLDB MCP server","archived":false,"fork":false,"pushed_at":"2025-03-26T21:41:30.000Z","size":696,"stargazers_count":76,"open_issues_count":2,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-01T23:36:21.462Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stass.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-26T04:53:32.000Z","updated_at":"2026-01-30T13:26:35.000Z","dependencies_parsed_at":"2025-03-26T05:39:42.234Z","dependency_job_id":null,"html_url":"https://github.com/stass/lldb-mcp","commit_stats":null,"previous_names":["stass/lldb-mcp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stass/lldb-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stass%2Flldb-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stass%2Flldb-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stass%2Flldb-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stass%2Flldb-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stass","download_url":"https://codeload.github.com/stass/lldb-mcp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stass%2Flldb-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36947905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-08-27T02:00:07.166Z","response_time":96,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-02T13:15:18.266Z","updated_at":"2026-08-28T00:47:06.765Z","avatar_url":"https://github.com/stass.png","language":"Python","funding_links":[],"categories":["Developer Tools","Testing \u0026 Debugging Tools","Community Servers","🤖 AI/ML","پیاده‌سازی‌های سرور","Embedded System","Table of Contents","🔬 Vulnerability Research \u0026 Analysis","💻 Developer Tools (164 servers)","Server Implementations"],"sub_categories":["Debuggers","💻 \u003ca name=\"developer-tools\"\u003e\u003c/a\u003eابزارهای توسعه‌دهنده","How to Submit","Developer Tools","💻 \u003ca name=\"developer-tools\"\u003e\u003c/a\u003eDeveloper Tools"],"readme":"# LLDB-MCP\n\n![Screenshot](screenshot.png)\n\nSee it in acton here, automatically debugging a buffer overflow: https://x.com/full_duplex/status/1904770477698277847\n\n## Overview\n\nLLDB-MCP is a tool that integrates the LLDB debugger with Claude's Model Context Protocol (MCP). This integration allows Claude to start, control, and interact with LLDB debugging sessions directly, enabling AI-assisted debugging workflows.\n\nThe tool provides a comprehensive set of commands for working with LLDB, including:\n- Starting and managing LLDB sessions\n- Loading programs for debugging\n- Setting breakpoints and watchpoints\n- Controlling program execution\n- Examining memory, registers, and variables\n- Analyzing stack traces and program state\n\n## Features\n\n- Create and manage multiple LLDB debugging sessions\n- Load executables and attach to running processes\n- Load core dump files for post-mortem analysis\n- Execute arbitrary LLDB commands\n- Fine-grained control over program execution\n- Memory examination and disassembly\n- Thread and stack frame inspection\n\n## Installation\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/stass/lldb-mcp.git\n   cd lldb-mcp\n   ```\n\n2. Install dependencies:\n   ```\n   pip install mcp\n   ```\n\n3. Configure Claude to use the LLDB-MCP server:\n   - Open the Claude desktop app configuration\n   - Add the following to your MCP configuration:\n   ```json\n   \"mcpServers\": {\n     \"lldb-mcp\": {\n       \"command\": \"python3\",\n       \"args\": [\"/path/to/lldb-mcp/lldb_mcp.py\"],\n       \"disabled\": false\n     }\n   }\n   ```\n\n## Usage\n\nOnce installed and configured, you can interact with LLDB through Claude using natural language.\n\n### Basic Workflow\n\n1. Start a new LLDB session\n2. Load a program\n3. Set breakpoints\n4. Run the program\n5. Inspect variables and memory\n6. Control execution (continue, step, next, etc.)\n7. Terminate the session when done\n\n### Example Commands\n\nHere are some examples of how to interact with LLDB-MCP through Claude:\n\n- \"Start a new LLDB session\"\n- \"Load the program '/path/to/executable'\"\n- \"Set a breakpoint at main\"\n- \"Run the program\"\n- \"Show backtrace\"\n- \"Print the value of variable 'count'\"\n- \"Step over the next line\"\n- \"Examine memory at address 0x1000\"\n- \"Show register values\"\n- \"Continue execution\"\n- \"Kill the process\"\n- \"Terminate the LLDB session\"\n\n## Supported Commands\n\n### Session Management\n- `lldb_start`: Start a new LLDB session\n- `lldb_terminate`: Terminate an LLDB session\n- `lldb_list_sessions`: List all active LLDB sessions\n\n### Program Loading\n- `lldb_load`: Load a program into LLDB\n- `lldb_attach`: Attach to a running process\n- `lldb_load_core`: Load a core dump file\n\n### Execution Control\n- `lldb_run`: Run the loaded program\n- `lldb_continue`: Continue program execution\n- `lldb_step`: Step to next line or instruction\n- `lldb_next`: Step over function calls\n- `lldb_finish`: Execute until the current function returns\n- `lldb_kill`: Kill the running process\n\n### Breakpoints and Watchpoints\n- `lldb_set_breakpoint`: Set a breakpoint\n- `lldb_breakpoint_list`: List all breakpoints\n- `lldb_breakpoint_delete`: Delete a breakpoint\n- `lldb_watchpoint`: Set a watchpoint on a variable or memory address\n\n### Inspection\n- `lldb_backtrace`: Show call stack\n- `lldb_print`: Print value of expression\n- `lldb_examine`: Examine memory\n- `lldb_info_registers`: Display registers\n- `lldb_frame_info`: Get detailed information about a stack frame\n- `lldb_disassemble`: Disassemble code\n- `lldb_process_info`: Get information about the current process\n\n### Thread Management\n- `lldb_thread_list`: List all threads in the current process\n- `lldb_thread_select`: Select a specific thread\n\n### Miscellaneous\n- `lldb_command`: Execute an arbitrary LLDB command\n- `lldb_expression`: Evaluate an expression in the current frame\n- `lldb_help`: Get help for LLDB commands\n\n## Example program\n\n`example/overflow.c` contains an example C program that causes buffer overflow with certain arguments.\nCompile it using `cc overflow.c` and ask Claude to debug the issue with the resulting program:\n```\nI'm trying to debug my program a.out that is crashing with certain arguments, e.g. when I pass \"hello\".\nCan you help me debug it?\n```\n\n## Debugging Tips\n\n- Use `lldb_command` when you need to execute LLDB commands that don't have a dedicated function\n- Enable debug mode with `--debug` flag when starting the server for detailed logging\n- Sessions are automatically cleaned up when the server shuts down\n- Each session has a unique ID - make sure to use the correct ID when executing commands\n\n## Requirements\n\n- Python 3.7+\n- LLDB installed on the system\n- Claude desktop app with MCP support\n\n## Troubleshooting\n\n- If LLDB commands are timing out, check that LLDB is installed correctly\n- Verify the path to LLDB when starting a new session\n- Check for permission issues when attaching to processes\n- Review debug logs if commands aren't executing correctly\n\n## License\n\nBSD 2-clause\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstass%2Flldb-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstass%2Flldb-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstass%2Flldb-mcp/lists"}