Skip to main content
Version: 0.1.0

IntegrationDefinition schema

One external integration (MCP server or HTTP-endpoint set). An integration declares no capability envelope: the realised tools reported by the provider are the only capability source.

Properties

PropertyTypeRequiredDescription
idstringnoStable integration id. Optional in-file: falls back to the filename stem when omitted.
displayNamestringyesHuman-readable name.
typeenum (MCP_STDIO, MCP_STREAMABLE_HTTP, HTTP_TOOL)yesIntegration kind: an MCP server (stdio or streamable HTTP), or a code-defined HTTP tool set.
activebooleannoWhether this integration feeds capability resolution. Defaults to true when omitted.
configobject | arrayyesType-specific payload. MCP_STDIO: an object with required 'command' (executable only, no shell parsing) plus optional 'args' (array of strings), 'env' (object of literal string values), and 'requestTimeout' (ISO-8601 duration, default PT30S). MCP_STREAMABLE_HTTP: an object with required 'url' plus optional 'requestTimeout', 'staticHeaders' (object of literal header name to value, sent on every request) and 'secretHeaders' (object of header name to secret-reference key, resolved via SecretResolver at connect time). HTTP_TOOL: an array of HttpEndpointDefinition objects, validated against #/$defs/httpEndpoint by the conditional below.

Definitions

httpEndpoint

One HTTP_TOOL endpoint = one capability (OSS HttpEndpointDefinition).

PropertyTypeRequiredDescription
capabilitystringyesLogical capability id, lowercase <domain>.<verb_object>.
displayNamestring | nullno
descriptionstring | nullno
mutatingbooleanyesWhether invoking this endpoint may mutate remote state; the realised tool risk signal (recommend gating a mutating endpoint with REQUIRE_APPROVAL).
methodenum (GET, POST, PUT, PATCH, DELETE, HEAD)yes
urlTemplatestringyesAbsolute http/https URL with {name} placeholders.
inputSchemaobjectyesJSON Schema for the tool arguments; non-null.
outputSchemaobject | nullno
queryArgsarray of stringno
bodyModeenum (NONE, JSON)yes
staticHeadersobjectno
secretHeadersobjectnoHeader name to secret-reference key, resolved at invoke.
timeoutstring | nullnoISO-8601 duration (e.g. PT30S), or null for the provider default.
maxRetriesinteger | nullnoRetry budget, or null for unset.
retryNonIdempotentbooleanno
maxResponseBytesinteger | nullno