Databricks

io.github.mcp-dir由 GitHub 账号 mcp-dir 发布v0.1.0更新于 Oct 26, 2026

Your Databricks Lakehouse in natural language: run SQL on your SQL warehouses, track long-running qu

已验证Streamable HTTP可网页运行数据库开发者工具数据与分析

概览

AI 生成的概览

将助手连接到 Databricks 工作区,可在 SQL 仓库上执行 SQL 并浏览 Unity Catalog 元数据。

可以做什么
  • 列出已连接的 Databricks 工作区,并识别当前令牌对应的用户
  • 列出并查看 SQL 仓库,在指定或自动选择的运行中仓库上执行 SQL
  • 轮询语句状态与结果,或取消正在运行的语句
  • 浏览 Unity Catalog 的目录、schema 和表,查看表的列与类型
  • 查看平台版本、提交缺陷或反馈,并检查工具包的连接状态
  • 搜索 MCP 市场并以访问令牌完成认证
适用场景
适合需要让助手查询 Databricks 湖仓数据、了解 Unity Catalog 结构,或在对话中管理长时间运行的 SQL 语句的场景。
运行要求
远程 MCP 端点,无需本地安装包或运行时。需要一个 Databricks 工作区、个人访问令牌(PAT),以及对 SQL 仓库和 Unity Catalog 对象的访问权限。认证方式为在浏览器登录后提供访问令牌,最好以 Authorization Bearer 请求头配置。
安装前请注意
该令牌可访问你的 Databricks 工作区,应视为机密,优先使用请求头配置而非在会话中粘贴。SQL 语句以令牌权限执行,可能修改或删除数据,语句也可被取消。缺陷报告可能包含最近的对话消息。市场与工具包相关工具会访问第三方服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Databricks,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.mcp-dir%2Fdatabricks-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "databricks": {
      "type": "http",
      "url": "https://api.mcp.ai/p_databricks"
    }
  }
}

README

该仓库没有 README。

工具

17

databricks_list_accounts

Lista os workspaces Databricks conectados a este install — host, label.

输入参数account

databricks_current_user

Identifica o usuário do PAT no workspace (whoami via SCIM Me). Útil pra confirmar qual conta/host está conectado e validar o token.

输入参数account

databricks_list_warehouses

Lista os SQL warehouses do workspace (id, name, state, cluster_size, warehouse_type). Use o `id` em databricks_run_sql (ou deixe o run_sql escolher um RUNNING automaticamente).

输入参数account

databricks_get_warehouse

Detalha um ou mais SQL warehouses por id. Aceita lista (`ids`).

输入参数ids必填account

databricks_run_sql

Executa uma instrução SQL num SQL warehouse (Statement Execution API). Retorna colunas + linhas quando termina dentro do wait_timeout; senão devolve statement_id + state pra polling via databricks_get_statement. Se `warehouse_id` não for informado, escolhe um warehouse RUNNING automaticamente. PREFIRA queries parametrizadas (`parameters`) a interpolar valores na string (proteção contra SQL injection). SQL é arbitrário (pode DML/DDL) — confirme antes de mutar dados. Bulk support: accepts warehouse_ids for batched execution.

输入参数schemaaccountcatalogrow_limitstatement必填parameterswait_timeoutwarehouse_idwarehouse_idson_wait_timeout

databricks_get_statement

Status + resultado de um ou mais statements por id (polling de queries longas que voltaram PENDING/RUNNING do run_sql). Aceita lista (`statement_ids`).

输入参数accountstatement_ids必填

databricks_cancel_statement

Cancela um ou mais statements em execução por id. Aceita lista (`statement_ids`).

输入参数accountstatement_ids必填

databricks_list_catalogs

Lista os catálogos do Unity Catalog visíveis ao PAT (name, comment, owner).

输入参数account

databricks_list_schemas

Lista os schemas (databases) de um catálogo Unity. Informe `catalog_name`.

输入参数accountcatalog_name必填

databricks_list_tables

Lista as tabelas de um schema Unity (name, table_type, data_source_format). Informe `catalog_name` e `schema_name`.

输入参数accountschema_name必填catalog_name必填

databricks_get_table

Detalha uma ou mais tabelas (colunas, tipos) por nome completo `catalog.schema.table`. Aceita lista (`full_names`).

输入参数accountfull_names必填

show_version

Show Version

Show the current MCP platform and adapter versions.

无需输入参数。

report_bug

Report Bug

Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.

输入参数contextmessage必填conversation

connect

Connection Status

Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.

无需输入参数。

toolkit_info

Toolkit Info

Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.

无需输入参数。

marketplace

Marketplace

The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.

输入参数limitqueryactionmcp_idmessagetool_idargumentsimmediatetier_slugprompt_bodyprompt_slugprompt_tool另有 11 个

authenticate

Authenticate

MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.

输入参数token

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。