Skip to content

yggdrasil.databricks.loki.skills

skills

Cross-service Databricks Loki skill: the managed MCP connector.

The per-service skills live next to their service code in databricks/<service>/loki.py (see :mod:yggdrasil.databricks.loki). What remains here is the one skill that isn't a single dbc accessor: databricks-mcp connects out to the workspace's managed MCP servers (Unity Catalog functions, Genie, vector search) using the agent's credentials.

DatabricksMCPSkill

Bases: DatabricksServiceSkill

Connect to a Databricks-hosted MCP server and list (or call) its tools.

Reaches the workspace's managed MCP servers — Unity Catalog functions (kind="functions", catalog/schema), Genie (kind="genie", space), or vector search (kind="vector-search") — or any explicit url (e.g. a custom MCP app), authenticating with the agent's Databricks credentials. Lists the server's tools, or calls tool with args. Requires the mcp package.

available

available(agent: 'Loki') -> bool

True when this skill can run in agent's environment.

Default: available everywhere, unless :attr:requires names a backend that isn't detected. Override for finer checks.