Skip to main content
Provider descriptors — declarative shape of a supported third-party. Pure pydantic models describing a provider, its sub-services, MCP server endpoints, OAuth endpoints, and client-supplied config fields. Descriptors are validated when built so a misconfigured provider fails loudly rather than at first user click.

SLUG_RE

tai42_contract.connectors.providers.SLUG_RE

McpServerDescriptor

tai42_contract.connectors.providers.McpServerDescriptor
MCP server endpoint for one sub-service. Transport is either http/websocket (hosted out-of-band, set url) or stdio (launched as a child process, set command + args). Exactly one configuration is allowed: url xor (command + args). Attributes

Members

model_post_init

tai42_contract.connectors.providers.McpServerDescriptor.model_post_init
Enforce the transport rule: url for http/websocket, command + args for stdio. Parameters

ConfigFieldSpec

tai42_contract.connectors.providers.ConfigFieldSpec
One client-supplied static config value for a no-auth provider. target picks the injection channel and MUST match the server transport (env for stdio, header for http/websocket). secret flags a value masked in the UI and never logged; required gates connect-time validation. Attributes

SubServiceDescriptor

tai42_contract.connectors.providers.SubServiceDescriptor
One sub-service a provider exposes, with its scopes and a single launch path. Attributes

OAuthEndpoints

tai42_contract.connectors.providers.OAuthEndpoints
The OAuth endpoint URLs a provider authorizes against, exchanges tokens at, and optionally revokes. Attributes

ProviderDescriptor

tai42_contract.connectors.providers.ProviderDescriptor
The universal connector-provider contract, registered from the manifest connectors list at boot/reload. Attributes

Members

icon_url

tai42_contract.connectors.providers.ProviderDescriptor.icon_url
An https:// URL to the provider’s icon; http, relative, or empty is rejected. The catalog serves this value verbatim as a brand mark, the same rule the plugin spec’s icon enforces.