cURL
curl --request POST \ --url https://{controlPlaneURL}/api/svc/v1/mcp-servers/openapi/generate-mcp-tools \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "openapi_spec": {} } '
{ "tools": [ {} ], "openapi_spec_url": "<string>" }
Returns MCP tool definitions from an OpenAPI specification.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The OpenAPI specification as a JSON object or URL string
MCP tools generated successfully from the OpenAPI specification
List of MCP tools generated from the OpenAPI specification
URL of the OpenAPI specification (original URL if provided or S3 URL if spec is stored in S3)
Was this page helpful?