UNPKG

openapi-mcp-generator

Version:

Generates MCP server code from OpenAPI specifications

18 lines (17 loc) 561 B
/** * Generator for web server code for the MCP server using Hono with SSE streaming */ /** * Generates web server code for the MCP server (using Hono and SSE) * * @param port Server port (default: 3000) * @returns Generated code for the web server */ export declare function generateWebServerCode(port?: number): string; /** * Generates HTML client for testing the MCP server * * @param serverName The name of the MCP server * @returns HTML content for the test client */ export declare function generateTestClientHtml(serverName: string): string;