generate_from_openapi
Converts an OpenAPI specification into a working MCP server, with optional SDK generation for TypeScript, Python, or Go.
Instructions
Convert an OpenAPI specification into a working MCP server with optional SDK generation
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"openapi_spec": "<openapi_spec>"
},
"name": "generate_from_openapi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| generate_sdk | No | Generate client SDK | |
| openapi_spec | Yes | OpenAPI specification in YAML or JSON format | |
| output_language | No | Output language |