openapi-directory-mcp
Version:
Model Context Protocol server for accessing enhanced triple-source OpenAPI directory (APIs.guru + additional APIs + custom imports)
20 lines • 575 B
TypeScript
import { Tool } from "@modelcontextprotocol/sdk/types.js";
export declare class ToolGenerator {
/**
* Generate all available tools for the MCP server
*/
generateTools(): Promise<Tool[]>;
/**
* Generate tools from OpenAPI specification
*/
generateToolsFromSpec(spec: any): Promise<Tool[]>;
/**
* Generate input schema for a tool based on OpenAPI operation
*/
private generateInputSchema;
/**
* Generate additional utility tools
*/
generateUtilityTools(): Tool[];
}
//# sourceMappingURL=generator.d.ts.map