cURL
curl --request POST \ --url https://api.klavis.ai/mcp-server/unified/instance/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "userId": "<string>", "platformName": "<string>", "connectionType": "StreamableHttp" }'
{ "serverUrl": "<string>", "instanceId": "<string>", "oauthUrl": "<string>" }
Creates a URL for the Unified MCP server, validating the request with an API key and user details. Returns the existing server URL if it already exists for the user.
Your Klavis AI API key.
Successful Response
The response is of type object.
object