Sazabi
Terraform provider

sazabi_mcp_connector

Terraform resource for a custom MCP connector.

Manages a custom MCP connector with header-based or AWS SigV4 authentication. It connects to the MCP server on create and refreshes the tool snapshot. OAuth connectors cannot be created here — reference them with the sazabi_mcp_connector data source instead. Headers and credentials are write-only.

Arguments

AttributeTypeBehaviorDescription
server_urlstringRequiredMCP server URL. Must be HTTPS.
transportstringRequiredstreamable-http or sse.
headerslist(block)Optional, SensitiveHeader auth. Each has id, name, and a sensitive value. Conflicts with aws_sig_v4.
aws_sig_v4objectOptional, SensitiveAWS SigV4 auth: access_key_id, sensitive secret_access_key, optional session_token, and region. Conflicts with headers.
project_idstringOptional, ComputedOwning project. Defaults to the secret key's project scope. Immutable.
provider_idstringOptional, ComputedBuilt-in provider to associate. Immutable.
read_onlyboolOptional, ComputedRestrict to read-only tools. Defaults to false.
connection_idstringComputedConnection UUID; use in import blocks.
connection_keystringComputedStable reference key.
display_namestringComputedConnector display name.
sourcestringComputedConnector source.
install_statusstringComputedconfigured, authorizing, connected, or error.
auth_modestringComputednone, headers, oauth, or aws-sigv4.
enabled_tool_countnumberComputedNumber of enabled tools.
connected_atstringComputedLast connected time (RFC 3339).
created_atstringComputedCreation timestamp (RFC 3339).
updated_atstringComputedLast-update timestamp (RFC 3339).

Import

terraform import sazabi_mcp_connector.example mcp_...

On this page