generateEndpointToolCode
Generates TypeScript code for an MCP tool definition (optional swaggerFilePath)
How to use it
generateEndpointToolCode is exposed by the Swagger MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the generateEndpointToolCode tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL SWAGGER MCP LISTINGOther tools in Swagger MCP (4)
generateModelCode
Generates TypeScript code for a model (optional swaggerFilePath)
getSwaggerDefinition
Downloads a Swagger definition from a URL
listEndpointModels
Lists all models used by a specific endpoint (optional swaggerFilePath)
listEndpoints
Lists all endpoints from the Swagger definition (optional swaggerFilePath)