Overview

The Connectors API is Allternit’s owned connector standard. It exposes a unified catalog plus connection engine for third-party services. Curated connectors (GitHub, Notion, Slack) execute in-process using owned auth methods such as local CLI tokens, API keys, OAuth2 PKCE/loopback, and device flow. All other catalog entries are served by the vendored open-connector sidecar (services/open-connector), which holds credentials in its own encrypted SQLite store while the gateway keeps only an index row. The API also exposes a unified MCP surface at /api/v1/connectors/mcp so any MCP-capable agent host can call sidecar-backed connectors through JSON-RPC.

Base URL

For local development:
OAuth callbacks are public redirect targets:

Authentication

  • Connector management routes require a valid bearer token via the platform auth middleware.
  • /api/v1/connectors/mcp accepts the same bearer token.
  • The internal MCP proxy (/internal/connectors/mcp) accepts a cloud-issued runtime-device token (Authorization: Bearer allternit_runtime_...) or the internal service token plus x-allternit-user-id.
See Authentication.

Connector object

Endpoints

List connectors

Returns the merged catalog: Allternit’s in-process catalog plus any sidecar-only providers. The response includes per-user connection status and sidecar health.

Example response

Get a connector

Returns the merged connector entry, including live connection status. If the id is sidecar-only and not in the legacy catalog, the entry is synthesized from the sidecar provider summary.

Connect a connector

Starts a connection flow. The request body and response shape depend on the connector’s auth type.

Request body

Local CLI example (GitHub)

OAuth2 example

API key example

Execute a connector action

Executes a tool or action against a connected connector.

Request body

Example request

Example response

Disconnect a connector

Clears the connection row. For sidecar-backed connectors, the sidecar credential is removed first.

Example response

MCP proxy

Proxies a single JSON-RPC request to the open-connector sidecar’s /mcp endpoint. Curated connectors are not reachable through this surface.

Example request

Error codes