UNPKG

openapi-directory-mcp

Version:

Model Context Protocol server for accessing enhanced triple-source OpenAPI directory (APIs.guru + additional APIs + custom imports)

20 lines 646 B
import { Tool } from "@modelcontextprotocol/sdk/types.js"; import { DualSourceApiClient } from "../api/dual-source-client.js"; import { ICacheManager } from "../cache/types.js"; export interface ToolContext { apiClient: DualSourceApiClient; cacheManager: ICacheManager; } export interface ToolDefinition { name: string; description: string; inputSchema: any; category?: string; execute(args: any, context: ToolContext): Promise<any>; } export interface ToolCategory { name: string; tools: ToolDefinition[]; } export declare function toMcpTool(toolDef: ToolDefinition): Tool; //# sourceMappingURL=types.d.ts.map