openapi: 3.2.0 info: title: Karada MCP API version: 1.0.0 description: Spec-Driven API definition for Karada MCP Platform servers: - url: https://api.karada.ai description: Production API - url: http://localhost:8080 description: Local development API tags: - name: MCP paths: /api/v1/mcp/parse: post: summary: Parse OpenAPI / Postman spec into MCP tools operationId: parseMCPSpec tags: - MCP security: - BearerAuth: [] requestBody: required: true content: application/json: schema: type: object properties: spec_url: type: string description: Optional public URL to OpenAPI or Postman spec spec_content: type: string description: Optional raw string content of OpenAPI or Postman spec postman_api_key: type: string postman_collection_uid: type: string responses: '200': description: Parsed tools and metadata /api/v1/mcp/generate: post: summary: Generate MCP Server ZIP bundle from tools definition operationId: generateMCPCode tags: - MCP security: - BearerAuth: [] requestBody: required: true content: application/json: schema: type: object properties: target_url: type: string language: type: string enum: - typescript - go - python default: typescript tools: type: array items: type: object responses: '200': description: Generated ZIP file content: application/zip: schema: type: string format: binary components: securitySchemes: BearerAuth: type: http scheme: bearer bearerFormat: JWT