Skip to content

databricks-agent-kitGoverned Databricks access for coding agents

An MCP server (dak) that lets your agent run SQL on a SQL warehouse and inspect Unity Catalog metadata, with read-only mode by default and persistent operational logs.

What it is โ€‹

dak is a Model Context Protocol server. Your coding agent calls five tools to answer questions about data in Databricks: it finds the right table, looks at its structure and a sample, and runs a bounded SQL query. The server talks only to public Databricks REST APIs.

What it is not โ€‹

  • Not a model. Databricks-served models, AI Gateway, Unity Gateway and Genie are out of scope. Your agent keeps its own model subscription.
  • Not a security boundary by itself. The read-only check is defense in depth. The permissions of the identity you configure in Unity Catalog decide what can be read or changed.
  • Not a Databricks-managed MCP server. It runs on your machine, or on a host you control.

How it fits together โ€‹

A coding agent talks MCP over stdio or Streamable HTTP to dak, and dak calls the Statement Execution and Unity Catalog REST APIs of the Databricks workspace

Where to go next โ€‹

Released under the MIT License.