UNPKG

deepsource-mcp-server

Version:
37 lines (36 loc) 973 B
/** * @fileoverview Configuration management for DeepSource MCP Server * @packageDocumentation */ /** * Configuration interface for the DeepSource MCP Server */ export interface DeepSourceConfig { /** DeepSource API key for authentication */ apiKey: string; /** Base URL for DeepSource API */ apiBaseUrl: string; /** Request timeout in milliseconds */ requestTimeout: number; /** Log file path (optional) */ logFile?: string; /** Log level */ logLevel: string; } /** * Gets the current configuration * @returns The validated configuration * @throws Error if configuration is invalid */ export declare function getConfig(): DeepSourceConfig; /** * Checks if the API key is configured * @returns True if API key is set */ export declare function hasApiKey(): boolean; /** * Gets the API key from configuration * @returns The API key * @throws Error if API key is not set */ export declare function getApiKey(): string;