Databricks MCP Server

Databricks MCP Server

Enables interaction with Databricks for running SQL queries, managing clusters, triggering jobs, running notebooks, exploring Unity Catalog metadata, managing secrets, and interacting with DBFS.

Category
访问服务器

README

Databricks MCP Server

A Python MCP server to interact with Databricks — run SQL queries, manage clusters, trigger jobs, run notebooks, explore Unity Catalog metadata, manage secrets, and interact with DBFS.

Setup

1. Install dependencies

pip install -r requirements.txt

2. Configure credentials

Edit the .env file:

DATABRICKS_HOST=https://<your-workspace>.azuredatabricks.net
DATABRICKS_TOKEN=<your-access-token>
DATABRICKS_SQL_HTTP_PATH=/sql/1.0/warehouses/<your-warehouse-id>
DATABRICKS_WAREHOUSE_ID=<your-warehouse-id>

3. Run the server

python -m databricks_mcp.server

Available Tools (40+)

SQL

Tool Description
sql_query Run a SQL query (auto-wakes warehouse)
sql_explain Show execution plan of a SQL query

Clusters

Tool Description
clusters_list List all clusters and their states
cluster_status Get current state of a specific cluster
cluster_start Start a cluster
cluster_stop Stop a cluster
cluster_restart Restart a running cluster
cluster_resize Scale cluster workers up/down
cluster_wait_until_ready Poll until cluster is RUNNING
cluster_events Get recent events/errors for a cluster

Warehouses

Tool Description
warehouses_list List all SQL Warehouses
warehouse_status Get detailed status of a warehouse
warehouse_start Start a SQL Warehouse
warehouse_stop Stop a SQL Warehouse
warehouse_resize Change warehouse size

Jobs

Tool Description
jobs_list List all Databricks jobs
job_create Create a new job with a notebook task
job_update Update a job's name, notebook, or cluster
job_delete Delete a job
job_trigger Trigger a job run
job_run_status Get status of a job run
job_cancel Cancel a running job run
job_run_history List recent runs of a job

Notebooks

Tool Description
notebooks_list List notebooks in a workspace path
workspace_list List all objects in a workspace path
workspace_mkdir Create a folder in workspace
notebook_run Run a notebook (fire and forget)
notebook_run_and_wait Run a notebook and wait for output
notebook_export Export a notebook (HTML/SOURCE/JUPYTER/DBC)
notebook_import Import/upload a notebook to workspace
notebook_delete Delete a notebook or folder

Metadata (Unity Catalog)

Tool Description
catalogs_list List all catalogs
schemas_list List schemas in a catalog
tables_list List tables in a catalog.schema
table_schema Get column schema of a table
table_preview Preview top N rows of a table
table_create Create a Delta table from DDL
table_drop Drop a table
table_optimize Run OPTIMIZE (+ optional ZORDER)
table_vacuum Run VACUUM to clean up old files

Secrets

Tool Description
secrets_list_scopes List all secret scopes
secrets_list List secret keys in a scope (no values)

DBFS

Tool Description
dbfs_list List files in a DBFS path
dbfs_delete Delete a file or folder from DBFS
dbfs_upload Upload a file to DBFS (base64 content)
dbfs_mkdir Create a directory in DBFS

Integrate with Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "databricks": {
      "command": "python",
      "args": ["-m", "databricks_mcp.server"],
      "cwd": "/path/to/MCP"
    }
  }
}

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选