Sazabi
APIMCP connectors

Create an MCP connector

POST
/mcp-connectors

Create a preset MCP connector with header-based or AWS SigV4 authentication. The server URL must match the selected provider's supported endpoints. Connects immediately and returns the connector with its discovered tool snapshot.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/mcp-connectors" \  -H "Content-Type: application/json" \  -d '{    "serverUrl": "http://example.com",    "transport": "streamable-http",    "providerId": "string"  }'
{  "connector": {    "connectionId": "84b500d7-71c8-4b1f-adf4-f1eb0000973d",    "connectionKey": "string",    "providerId": "string",    "displayName": "string",    "source": "preset",    "installStatus": "configured",    "authMode": "none",    "transport": "streamable-http",    "serverUrl": "string",    "readOnly": true,    "management": {      "mode": "user",      "managedBy": {        "type": "integration",        "id": "string",        "displayName": "string",        "iconKey": "string"      },      "capabilities": {        "canRename": true,        "canEditCredentials": true,        "canSetReadOnly": true,        "canConfigureTools": true,        "canDisconnect": true      }    },    "enabledToolCount": 0,    "connectedAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}