pub struct McpServer { /* private fields */ }Expand description
MCP Server that exposes Router handlers as LLM-callable tools
Implementations§
Source§impl McpServer
impl McpServer
Sourcepub fn tool_count(&self) -> usize
pub fn tool_count(&self) -> usize
Get the count of registered tools
Sourcepub async fn list_tools(&self) -> Vec<McpTool>
pub async fn list_tools(&self) -> Vec<McpTool>
List all available tools