UNPKG

@toolprint/hypertool-mcp

Version:

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

35 lines • 1.01 kB
/** * File-based database service implementation * Uses JSON files for storage instead of NeDB */ import { IDatabaseService, IServerConfigRecordRepository, IServerConfigGroupRepository, IConfigSourceRepository } from "./interfaces.js"; /** * File-based implementation of the database service */ export declare class FileDatabaseService implements IDatabaseService { private _servers; private _groups; private _configSources; private isInitialized; /** * Get the servers repository */ get servers(): IServerConfigRecordRepository; /** * Get the groups repository */ get groups(): IServerConfigGroupRepository; /** * Get the config sources repository (stub for file-based) */ get configSources(): IConfigSourceRepository; /** * Initialize the database */ init(): Promise<void>; /** * Close the database (no-op for file-based) */ close(): Promise<void>; } //# sourceMappingURL=fileDatabaseService.d.ts.map