Create a cloud connection
Connects a provider with a pasted access token, a custom MCP server that you run, or a knowledge card. Set provider to custom and give the server url (https only, public address) to connect a custom MCP server. Set provider to supabase, cloudflare, or vercel and give the provider access token to connect a first-party provider. Set card to a knowledge card id to connect it as on the dashboard: a token card takes access_token, and cards that sign in at the vendor cannot be connected here. AWS, Azure, and Google use dashboard verification or browser sign-in flows. On a self-hosted deployment only custom is accepted. applies_to_domain_ids and applies_to_repository_ids only preselect the connection for new scans on those assets; which connections a run may use is fixed by the scan’s connection selection. The access token is encrypted at rest and is never returned. Personal tokens must belong to an organization admin (parity with the dashboard). Tokens narrowed to specific assets cannot create connections.
Authorizations
API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.
Body
With card set to github, connect through a Strix GitHub App installation that is linked to the organization, instead of an access_token. Strix gets read-only access to the repositories that the installation can see. An organization has one GitHub knowledge connection, made with a token or with an installation. Not available on GitHub Enterprise Server.
x >= 1Supabase project reference (20 lowercase letters or digits). Optional, supabase only: when the token's projects can be listed, a reference outside that list is rejected; otherwise the reference is accepted without verification. It scopes the connection's runs to that project and becomes the connection's identity so one token can be connected once per project. Other providers return 400 when it is set, because nothing would enforce it.