/** * MCP Server Discovery for toolkit * * Provides functionality to discover and introspect MCP servers and their tools */ export interface McpServerInfo { name: string; title?: string; instructions?: string; version?: string; } export interface McpToolInfo { name: string; description: string; server: string; } export interface McpToolDetails { name: string; description: string; inputSchema: Record; outputSchema?: Record; } export declare class McpDiscovery { private mcpFilePath; private clientManager; private serverConfigs; private clients; constructor(mcpFilePath: string | null); /** * Load MCP servers from mcp.json file */ loadServers(): Promise; /** * List all available MCP servers */ listServers(): Promise; /** * List tools from MCP servers */ listTools(serverName?: string): Promise; /** * Get full details of an MCP server tool */ getTool(serverName: string, toolName: string): Promise; /** * Get or create MCP client for a server */ private getClient; /** * Clean up all clients */ close(): Promise; } //# sourceMappingURL=mcp-discovery.d.ts.map