UNPKG

mcpdog

Version:

MCPDog - Universal MCP Server Manager with Web Interface

35 lines 911 B
export interface MCPServerConfig { name: string; command: string; args: string[]; description?: string; } export interface MCPTool { name: string; description: string; inputSchema: { type: string; properties: Record<string, any>; required?: string[]; }; } export interface MCPServerInfo { config: MCPServerConfig; tools: MCPTool[]; keywords: string[]; } export declare class MCPRegistry { private servers; constructor(); private initializeRegistry; getAllServers(): MCPServerInfo[]; getServerByName(name: string): MCPServerInfo | undefined; findToolsByKeywords(keywords: string[]): Array<{ server: string; tool: MCPTool; matchScore: number; }>; private calculateKeywordMatchScore; addServer(name: string, serverInfo: MCPServerInfo): void; } //# sourceMappingURL=mcp-registry.d.ts.map