moa-mcp-server
Version:
MCP Server for Memory of Agents (MOA) API - Memory Management & Intelligent Memory endpoints only
24 lines (23 loc) • 586 B
TypeScript
import { Config } from '../types/index.js';
export declare class ConfigManager {
private static instance;
private config;
private constructor();
static getInstance(): ConfigManager;
getConfig(): Config;
private loadConfiguration;
private loadFromEnvironment;
private loadFromFile;
private mergeConfigs;
validateRequiredConfig(): void;
getLogLevel(): string;
getMOAConfig(): {
apiKey: string;
baseUrl: string;
timeout: number;
};
getServerConfig(): {
name: string;
version: string;
};
}