/** * Unified Registry Client * * Aggregates results from: * 1. Custom registry (api.mcps.portel.dev) - NCP's own registry * 2. Official Anthropic registry - MCP ecosystem * 3. Photon marketplaces - Photon ecosystem (portel-dev/photons + user-defined) */ import { RegistryMCPCandidate, RegistrySearchOptions } from './registry-client.js'; export declare class UnifiedRegistryClient { private customClient; private officialClient; private photonClient; private photonInitialized; /** * Initialize Photon marketplace client (lazy initialization) */ private ensurePhotonClient; /** * Search for MCPs and Photons with selection format * Aggregates results from custom registry, official registry, and Photon marketplaces */ searchForSelection(query: string, options?: RegistrySearchOptions): Promise; /** * Simplify verbose AI queries to core keywords * Handles comma-separated terms, extracts most common/relevant keyword */ private simplifyQuery; /** * Get detailed info for a server * Tries custom first, then official */ getDetailedInfo(serverName: string): Promise<{ transport: 'stdio' | 'http' | 'sse'; command?: string; args?: string[]; url?: string; remoteType?: string; envVars?: Array<{ name: string; description?: string; isRequired?: boolean; isSecret?: boolean; default?: string; }>; _meta?: any; }>; /** * Helper: Guess transport type from install command */ private guessTransport; /** * Helper: Extract command from install instruction * Examples: * "npx mcp-merchant" -> "npx" * "Use HTTP endpoint: https://..." -> undefined */ private extractCommand; /** * Helper: Extract args from install instruction * Examples: * "npx mcp-merchant" -> ["mcp-merchant"] * "npx @smithery/mcp-server" -> ["@smithery/mcp-server"] */ private extractArgs; /** * Clear caches */ clearCache(): void; } //# sourceMappingURL=unified-registry-client.d.ts.map