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
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
Attributes

OAuthEndpoints

tai42_contract.connectors.providers.OAuthEndpoints
Attributes

ProviderDescriptor

tai42_contract.connectors.providers.ProviderDescriptor
Attributes