Skip to main content

Endpoints

id path params are UUIDs.

Create integration

Request body

Categories

  • gateway_remote_mcp — A remote MCP integration accessed through the Kontext gateway. Kontext proxies requests and handles auth.
  • internal_mcp_credentials — A credential-only integration. Kontext stores and brokers credentials but does not proxy MCP traffic.

Auth modes

List integrations

Returns a paginated list of all integrations in the organization. Query parameters: limit, cursor, and optional name substring filter.

Get integration

Response fields

Response shape: { "integration": { ... } }

Update integration

Partial update. Send only the fields you want to change.

Archive integration

Archives the integration. It will no longer be available for new connections, but existing data is preserved.

Validate connectivity

Tests whether Kontext can reach the integration’s URL and authenticate. Updates the validationStatus, validationMessage, and lastValidatedAt fields on the integration.

Get OAuth config

Returns the OAuth configuration for the integration. Only available when authMode is "oauth".

Response fields

Response shape: { "oauth": { ... } }

Replace OAuth config

Full replacement — you must include all OAuth fields. Existing user connections may need to re-authenticate.

Remove OAuth config

Removes the OAuth configuration. You need to set a different authMode before removing OAuth, or the integration will have no auth.

Add user token

Stores a personal access token or API key for the current user on this integration. Used when authMode is "user_token".

Get connection status

Returns the current user’s connection status for this integration.

Response fields

Response shape: { "connection": { ... } }

Revoke connection

Removes the current user’s stored credential for this integration. For OAuth connections, this also revokes the token with the upstream provider when possible.
The OAuth config, connection, and revoke endpoints are REST-only. Use the Management SDK for the core CRUD operations (create, list, get, update, archive, validate).