UNPKG

@toolprint/hypertool-mcp

Version:

HyperTool MCP proxy server for routing requests between clients and multiple underlying MCP servers

24 lines • 1.14 kB
/** * MCP configuration loading - routes between database and file-based approaches */ import { IConfigSource } from "../db/interfaces.js"; /** * Discover MCP configuration - routes to database or file-based based on feature flag * * @param cliConfigPath - Path provided via --mcp-config flag (for backward compatibility) * @param updatePreference - Whether to update user preference when using CLI path * @param linkedApp - Application ID to load config for * @param profile - Profile ID for workspace/project config * @returns Object with config and source information */ export declare function discoverMcpConfig(cliConfigPath?: string, updatePreference?: boolean, linkedApp?: string, profile?: string): Promise<{ configPath: string | null; source: "cli" | "app" | "preference" | "discovered" | "none"; errorMessage?: string; configSource?: IConfigSource; }>; /** * Load and validate MCP configuration - routes to database or file-based based on feature flag */ export declare function loadMcpConfig(configPath: string, configSource?: IConfigSource): Promise<any>; //# sourceMappingURL=mcpConfigLoader.d.ts.map