LLDB mainline
lldb_private::mcp Namespace Reference

Classes

class  CommandTool
class  DebuggerCreateTool
class  DebuggerDeleteTool
class  DebuggerListTool
class  DebuggerResourceProvider
class  ProtocolServerMCP

Functions

void PopulateServer (lldb_protocol::mcp::Server &server)
 Installs the standard LLDB tool and resource-provider set on server.

Function Documentation

◆ PopulateServer()

void lldb_private::mcp::PopulateServer ( lldb_protocol::mcp::Server & server)

Installs the standard LLDB tool and resource-provider set on server.

Sharing one installer keeps every MCP server consistent, whether it runs in the plugin or is hosted in-process by an embedder.

Definition at line 53 of file ProtocolServerMCP.cpp.

References lldb_protocol::mcp::Server::AddResourceProvider(), and lldb_protocol::mcp::Server::AddTool().

Referenced by lldb_private::mcp::ProtocolServerMCP::Extend().