mcp-openapi-schema-explorer
Version:
MCP OpenAPI schema explorer
16 lines (15 loc) • 502 B
TypeScript
/**
* Configuration management for the OpenAPI Explorer MCP server
*/
import { OutputFormat } from './services/formatters.js';
/** Server configuration */
export interface ServerConfig {
/** Path to OpenAPI specification file */
specPath: string;
/** Output format for responses */
outputFormat: OutputFormat;
}
/** Load server configuration from command line arguments */
export declare function loadConfig(specPath?: string, options?: {
outputFormat?: string;
}): ServerConfig;