UNPKG

@172ai/containers-mcp-server

Version:

MCP server for 172.ai container management platform - enables AI assistants to manage containers, builds, and files with comprehensive workflow prompts

84 lines 1.88 kB
import { MCPServerConfig } from './types.js'; /** * Configuration manager class */ export declare class Config { private config; constructor(skipValidation?: boolean); /** * Load and validate configuration */ private loadConfig; /** * Validate configuration values */ private validateConfig; /** * Get configuration value */ get<K extends keyof MCPServerConfig>(key: K): MCPServerConfig[K]; /** * Get full configuration */ getAll(): MCPServerConfig; /** * Get authentication configuration */ getAuthConfig(): { apiKey: string | undefined; oauthToken: string | undefined; clientId: string | undefined; clientSecret: string | undefined; }; /** * Get retry configuration */ getRetryConfig(): { maxRetries: number; backoffMultiplier: number; maxBackoffMs: number; }; /** * Get timeout configuration */ getTimeoutConfig(): { request: number; connect: number; }; /** * Get rate limit configuration */ getRateLimitConfig(): { requestsPerMinute: number; requestsPerHour: number; }; /** * Get security configuration */ getSecurityConfig(): { validateCertificates: boolean; allowedScopes: string[]; }; /** * Check if in development mode */ isDevelopment(): boolean; /** * Check if in production mode */ isProduction(): boolean; /** * Check if in test mode */ isTest(): boolean; /** * Get log level */ getLogLevel(): string; /** * Update configuration at runtime (for testing) */ update(updates: Partial<MCPServerConfig>): void; } export declare const config: Config; //# sourceMappingURL=config.d.ts.map