FruxonDocs
IntegrationsTools

Imports tools from a remote MCP server into an integration.

The integration is created automatically if it does not yet exist. Tools that already exist within the integration are skipped unless `overrideExisting` is set.

POST
/v1/tenants/{tenant}/integrations:import-mcp

Path Parameters

tenant*string

The tenant identifier

The MCP server URL and optional configuration.

serverUrl*string|null

Base URL of the MCP server (Streamable HTTP endpoint).

integrationId?string|null

ID for the integration. Derived from the server hostname when omitted.

displayName?string|null

Display name for the integration. Derived from the server hostname when omitted.

bearerToken?string|null

Optional bearer token forwarded to the MCP server during import.

overrideExisting?boolean

When true, updates the integration and any existing tools instead of skipping them. Defaults to false (skip existing).

[key: string]?never

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/integrations:import-mcp" \  -H "Content-Type: application/json" \  -d '{    "serverUrl": "string"  }'
{
  "integration": {
    "id": "string",
    "displayName": "string",
    "description": "string",
    "type": 0,
    "configMetadata": {
      "parametersMetadata": [],
      "authMetadata": [
        null
      ]
    },
    "tags": [
      "string"
    ],
    "isInternal": false,
    "createdAt": 0,
    "modifiedAt": 0
  },
  "tools": [
    {
      "descriptor": {
        "apiTool": null,
        "predefinedTool": null,
        "mcpTool": null,
        "pythonTool": null
      },
      "isInternal": false,
      "createdAt": 0,
      "id": "string",
      "modifiedAt": 0,
      "integrationId": "string",
      "displayName": "string",
      "description": "string",
      "toolType": "Undefined",
      "isModifiable": false,
      "actionType": "ReadOnly",
      "resultType": "Unknown",
      "parametersMetadata": [],
      "authSettings": {
        "supportsOAuth": false,
        "oAuth": []
      }
    }
  ]
}
Empty
Empty