Connectors
Create a custom provider
Changed onCreates an environment-scoped custom provider (connector) with authentication patterns and optional proxy configuration. The returned identifier must be used for all subsequent update and delete operations on this provider.
post/api/v1/custom-providers
Request
- Base URLhttps://$SCALEKIT_ENVIRONMENT_URL
- AuthOAuth 2Client credentialsToken URLhttps://$SCALEKIT_ENVIRONMENT_URL/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"description": "Connect to Google Workspace for email and calendar integration",
"display_name": "Google Workspace",
"icon_src": "https://example.com/images/my-connector.svg",
"metadata": {
"api_version": "v2",
"region": "us-east-1"
},
"proxy_enabled": true,
"proxy_url": "https://mcp.example.com/mcp"
}Response
Returns the newly created custom provider, including its system-generated identifier and configuration
Example response
{
"provider": {
"metadata": {
"api_version": "v2",
"region": "us-east-1"
}
}
}Changes
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking
- info
endpoint added
- info