UNPKG

context-optimizer-mcp-server

Version:

Context optimization tools MCP server for AI coding assistants - compatible with GitHub Copilot, Cursor AI, and other MCP-supporting assistants

35 lines 1.06 kB
/** * Configuration manager for loading MCP server configuration from environment variables * * All configuration is loaded from environment variables for security and simplicity */ import { MCPServerConfig } from './schema'; export declare class ConfigurationManager { private static config; static loadConfiguration(): Promise<MCPServerConfig>; private static getLLMProvider; private static parseAllowedBasePaths; private static validateConfiguration; static getConfig(): MCPServerConfig; /** * Get configuration for a specific LLM provider */ static getLLMConfig(): { provider: string; model?: string; apiKey: string; }; /** * Check if research tools are configured */ static isResearchEnabled(): boolean; /** * Reset configuration (useful for testing) */ static reset(): void; /** * Get sanitized configuration for logging (removes sensitive data) */ static getSanitizedConfig(): any; } //# sourceMappingURL=manager.d.ts.map