AiGatewayMcpService
laktory.models.resources.databricks.AiGatewayMcpService
¤
Bases: AiGatewayMcpServiceBase
Databricks AI Gateway MCP service
Unity Catalog governed access to an MCP server hosted through a Unity Catalog connection, with tool selection and rate limits.
Examples:
import io
from laktory import models
service_yaml = '''
parent: schemas/dev.ai
mcp_service_id: knowledge_tools
comment: Governed access to knowledge tools
config:
source_connection:
name: connections/dev.ai.mcp_connection
'''
service = models.resources.databricks.AiGatewayMcpService.model_validate_yaml(
io.StringIO(service_yaml)
)
| BASE | DESCRIPTION |
|---|---|
comment
|
User-provided description
TYPE:
|
config
|
Connection, tool selectors, and rate limits. Required on Create. On Update, provide this field when
TYPE:
|
mcp_service_id
|
Name for the MCP service, e.g. 'my_mcp_service'
TYPE:
|
parent
|
Name of the parent schema. Format:
TYPE:
|
provider_config
|
Configure the provider for management through account provider
TYPE:
|
laktory.models.resources.databricks.aigatewaymcpservice.AiGatewayMcpServiceConfig
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
include_tool_selectors
|
Tool names or prefix patterns to expose from the MCP server. Use exact tool names or prefix patterns such as
TYPE:
|
rate_limits
|
Rate limits for tool invocations. Supported scopes are user, group, service principal, the service as a whole, and each user by default. Request and token limits are supported. Empty when no rate limit is configured
TYPE:
|
source_connection
|
Unity Catalog connection referencing the MCP server. Required on Create
TYPE:
|
laktory.models.resources.databricks.aigatewaymcpservice.AiGatewayMcpServiceConfigRateLimits
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
key
|
Scope of the rate limit. Depending on this value, the limit applies to a principal, the service as a whole, or each user by default. Possible values are:
TYPE:
|
principal
|
Principal this limit applies to: user email, group name, or service principal application ID. Required when
TYPE:
|
renewal_period
|
Renewal period. Possible values are:
TYPE:
|
requests
|
Maximum requests allowed in one renewal period. Leave unset for no request limit. Set to
TYPE:
|
tokens
|
Maximum tokens allowed in one renewal period. Leave unset for no token limit. Set to
TYPE:
|
laktory.models.resources.databricks.aigatewaymcpservice.AiGatewayMcpServiceConfigSourceConnection
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
name
|
Resource name of the MCP service. Format:
TYPE:
|
laktory.models.resources.databricks.aigatewaymcpservice.AiGatewayMcpServiceProviderConfig
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
workspace_id
|
Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with
TYPE:
|