UNPKG

@vfarcic/dot-ai

Version:

AI-powered development productivity platform that enhances software development workflows through intelligent automation and AI-driven assistance

36 lines 1.22 kB
/** * MCP Client Registry - Unified MCP Server Tool Access * * PRD #358: Provides a single, consistent way to access MCP server tools * from anywhere in the codebase (remediate, operate, query). * * Usage: * // At startup (src/mcp/server.ts): * initializeMcpClientRegistry(mcpClientManager); * * // Anywhere in the codebase: * if (isMcpClientInitialized()) { * const tools = getMcpClientManager()!.getToolsForOperation('remediate'); * } */ import type { McpClientManager } from './mcp-client-manager'; /** * Initialize the MCP client registry with a McpClientManager instance. * Must be called once at startup after MCP servers are discovered. */ export declare function initializeMcpClientRegistry(manager: McpClientManager): void; /** * Get the McpClientManager instance. * Returns null if not initialized. */ export declare function getMcpClientManager(): McpClientManager | null; /** * Check if the MCP client registry is initialized. */ export declare function isMcpClientInitialized(): boolean; /** * Reset the MCP client registry (for testing only). * @internal */ export declare function resetMcpClientRegistry(): void; //# sourceMappingURL=mcp-client-registry.d.ts.map