UNPKG

@toolprint/hypertool-mcp

Version:

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

42 lines • 1.01 kB
/** * Migration utilities for transitioning from global to per-app configurations */ export interface MigrationResult { success: boolean; migratedApps: string[]; errors: string[]; backupPath?: string; } export declare class ConfigMigration { private basePath; constructor(basePath: string); /** * Check if migration is needed */ needsMigration(): Promise<boolean>; /** * Migrate from global mcp.json to per-app configs */ migrate(): Promise<MigrationResult>; /** * Group servers by source application */ private groupServersByApp; /** * Save app-specific configuration */ private saveAppConfig; /** * Create default mapping when no metadata exists */ private createDefaultMapping; /** * Create backup of global config */ private createBackup; /** * Archive the global config (rename it) */ private archiveGlobalConfig; } //# sourceMappingURL=migration.d.ts.map