yapi-devloper-mcp
Version:
YApi MCP Integration
18 lines (17 loc) • 561 B
TypeScript
export interface ServerConfig {
yapiBaseUrl: string;
yapiUsername?: string;
yapiPassword?: string;
yapiToken?: string;
port?: number;
configSources: {
yapiBaseUrl: string;
yapiUsername?: string;
yapiPassword?: string;
yapiToken?: string;
port?: string;
};
}
export declare function getServerConfig(): ServerConfig;
export declare function getConfigSource(config: ServerConfig, key: keyof ServerConfig["configSources"]): string;
export declare function printConfig(config: ServerConfig): void;