Connections & Capabilities
Connects To
Capabilities
Quickstart
Install
pip install mcpExposed MCP Tools (9)
lldb_startStarts a new LLDB debugging session.
Initializes a debugging environment; no immediate side effects.
lldb_loadLoads a program into LLDB for debugging.
Loads a program for analysis, but doesn't execute it.
lldb_runRuns the loaded program within the LLDB environment.
Executes the program, potentially triggering unintended or malicious behavior.
lldb_set_breakpointSets a breakpoint at a specified location in the code.
Modifies program execution flow, but doesn't directly alter data.
lldb_printPrints the value of a specified expression.
Read-only operation; retrieves and displays data.
lldb_examineExamines memory at a given address.
Read-only operation; retrieves and displays memory contents.
lldb_commandExecutes an arbitrary LLDB command.
Allows unrestricted access to LLDB functionality, including potentially dangerous operations.
lldb_killKills the running process being debugged.
Terminates the process, potentially leading to data loss or system instability.
lldb_attachAttaches LLDB to a running process.
Allows inspection and control of a running process, potentially leading to unintended consequences.
Safety Assessment
LLDB-MCP offers powerful debugging capabilities but poses significant risks due to its ability to execute code and interact with running processes. It's relatively safe when used for read-only inspection of core dumps or static analysis. It becomes risky when attaching to live processes or modifying program state without proper safeguards.
- Requires explicit commands to perform actions.
- Provides a range of debugging commands for controlled execution.
- Sessions are automatically cleaned up when the server shuts down.
- Offers a dry-run mode for certain commands (unconfirmed, inferred from debugging tips).
- Allows arbitrary code execution through LLDB.
- Can potentially modify system state via debugging actions.
- No explicit sandboxing is mentioned.
- Attaching to running processes carries inherent risks.
- Vulnerable to command injection if input isn't sanitized.
