数据仓库查询工具

提供与Databricks数据仓库交互的工具,支持查询和管理数据表。

  • by christian-posta
  • 本地部署
  • 更新于
在 GitHub 查看 christian-posta/databricks-mcp-agentgateway

使用说明

source ~/bin/ai-keys
echo $DATABRICKS_PAT

databricks configure --token --host https://dbc-f1002050-7c6a.cloud.databricks.com

在VS代码中配置:

{
  "servers": {
    "databricks-unity-catalog": {
      "type": "stdio",
      "command": "uv",
      "args": [
        "--directory",
        "/Users/ceposta/python/databricks-mcp",
        "run",
        "unitycatalog-mcp",
        "-s",
        "samples.bakehouse",
        "-g",
        "01f0c67c0cda1eb5b34096d638d3be44"
      ]
    }
  }
}

确保获取精灵ID:

01f0c67c0cda1eb5b34096d638d3be44

副驾驶提示:

Can you list available Genies?
Using the Genie tools, start a conversation about the bakehouse sales data
Using your tools from databricks-unity-catalog show me the first 10 rows from the sales_customers table in samples.bakehouse

从MCP检查器连接:

客户ID=bc212229-5f19-40c4-ac05-e02a3dbfe3a2