import { ParsedServerConfig } from '~/mcp/types'; /** * Interface for future DB implementation */ export interface IServerConfigsRepositoryInterface { add(serverName: string, config: ParsedServerConfig, userId?: string): Promise; //ACL Entry check if update is possible update(serverName: string, config: ParsedServerConfig, userId?: string): Promise; //ACL Entry check if remove is possible remove(serverName: string, userId?: string): Promise; //ACL Entry check if read is possible get(serverName: string, userId?: string): Promise; //ACL Entry get all accessible mcp config definitions + any mcp configured with agents getAll(userId?: string): Promise>; reset(): Promise; }