
rafaelcartenet/mcp-databricks-server 是从 https://github.com/rafaelcartenet/mcp-databricks-server. 导入的 MCP 服务器候选
概览
rafaelcartenet/mcp-databricks-server 是从 https://github.com/rafaelcartenet/mcp-databricks-server. 导入的 MCP 服务器候选
概述(AI 翻译)
- 动机
- 概述
- UC元数据对AI代理的实际益处
- 可用的工具和功能
- 设置
- 系统需求
- 安装
- 权限要求
- 运行服务器
- 独立模式
- 与光标一起使用
- 示例使用工作流程(针对LLM代理)
- 用 Terraform 管理元数据代码
- 处理长期查询
- 依赖关系
动机
Databricks Unity 目录(UC)允许对您的数据资产进行详细文档,包括目录、模式、表格和列。全面记录这些资产需要投入时间。一个常见的问题是:这种详细的元数据录入有哪些实际好处?
这个MCP服务器为这项努力提供了有力的理由。它使大型语言模型(LLM)能够直接访问并利用这些Unity Catalog元数据。UC中描述的数据越全面,LLM代理越能有效理解你的Databricks环境。这种更深层次的理解对于代理自主构建更智能、更准确的SQL查询以满足数据请求至关重要。
概述
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Databricks MCP Server
- Motivation
- Overview
- Practical Benefits of UC Metadata for AI Agents
- Available Tools and Features
- Setup
- Permissions Requirements
- Running the Server
- Example Usage Workflow (for an LLM Agent)
- Managing Metadata as Code with Terraform
- Handling Long-Running Queries
- Dependencies
Motivation
Databricks Unity Catalog (UC) allows for detailed documentation of your data assets, including catalogs, schemas, tables, and columns. Documenting these assets thoroughly requires an investment of time. One common question is: what are the practical benefits of this detailed metadata entry?
This MCP server provides a strong justification for that effort. It enables Large Language Models (LLMs) to directly access and utilize this Unity Catalog metadata. The more comprehensively your data is described in UC, the more effectively an LLM agent can understand your Databricks environment. This deeper understanding is crucial for the agent to autonomously construct more intelligent and accurate SQL queries to fulfill data requests.
Overview
This Model Context Protocol (MCP) server is designed to interact with Databricks, with a strong focus on leveraging Unity Catalog (UC) metadata and enabling comprehensive data lineage exploration. The primary goal is to equip an AI agent with a comprehensive set of tools, enabling it to become independent in answering questions about your data. By autonomously exploring UC, understanding data structures, analyzing data lineage (including notebook and job dependencies), and executing SQL queries, the agent can fulfill data requests without direct human intervention for each step.
Beyond traditional catalog browsing, this server enables agents to discover and analyze the actual code that processes your data. Through enhanced lineage capabilities, agents can identify notebooks and jobs that read from or write to tables, then examine the actual transformation logic, business rules, and data quality checks implemented in those notebooks. This creates a powerful feedback loop where agents not only understand what data exists, but also how it’s processed and transformed.
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"databricks": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/mcp-databricks-server",
"run",
"main.py"
]
}
}
}