UNPKG

@toolprint/hypertool-mcp

Version:

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

29 lines • 1.18 kB
/** * Legacy file-based MCP configuration loading * Used when HYPERTOOL_NEDB_ENABLED is false */ import { IConfigSource } from "../db/interfaces.js"; /** * Discover MCP configuration files from file system * * @param cliConfigPath - Path provided via --mcp-config flag * @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 discoverMcpConfigFile(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 from file */ export declare function loadMcpConfigFile(configPath: string, configSource?: IConfigSource): Promise<any>; /** * Get all available per-app configurations */ export declare function getAllAppConfigs(): Promise<Record<string, any>>; //# sourceMappingURL=mcpConfigFileLoader.d.ts.map