databricks-mcp
Exposes Databricks REST APIs as MCP tools for managing and querying a Databricks workspace, including clusters, jobs, SQL, Unity Catalog, and more.
README
databricks-mcp
A Model Context Protocol (MCP) server that exposes the Databricks REST APIs as MCP tools so an LLM agent can manage and query a Databricks workspace.
The server speaks MCP over stdio (for Claude Desktop / Claude Code /
Cursor / IDE hosts) and supports a single --transport streamable-http mode
for remote deployments (Databricks Apps, container, etc.).
Features
| Domain | Tools |
|---|---|
| Workspace | list / get / create / delete / export / import notebooks; list / get / mkdir / delete workspace files and dirs |
| Clusters | list, get, create, start, terminate, restart, resize, edit, delete; cluster events; cluster policies; instance pools; node types; spark versions |
| Jobs | list, get, create, run-now, run-now-and-wait, list-runs, get-run, cancel-run, delete; full task types (notebook, spark_jar, python_wheel, dbt, sql, pipeline, run_job, condition, for_each) |
| SQL Warehouses | list, get, create, start, stop, edit, delete |
| SQL Queries / Dashboards / Alerts / Data | list / get / run SQL statements, dashboards (legacy + Lakeview), alerts |
| Unity Catalog | catalogs, schemas, tables, columns, volumes, functions, grants |
| Delta Live Tables (Pipelines) | list, get, create, start, stop, delete; pipeline updates |
| MLflow | experiments, runs, models, registered models, model versions, webhooks |
| Model Serving | serving endpoints (create, list, get, update, delete, query) |
| Vector Search | endpoints (create, list, get, delete), indexes (create, list, get, delete, upsert, query, scan) |
| Databricks Apps | list, get, create, update, delete |
| Repos (Git) | list, get, create, update, delete; pull, push, commit |
| Secrets | list, put, get, delete scopes and secrets |
| DBFS | list, get, put, delete files |
| Tokens | list, create, revoke |
| Permissions | get / set / update / delete ACLs on jobs, clusters, pipelines, etc. |
| Identity / SCIM | list users, groups, service principals |
| Delta Sharing | list / create / update / delete shares, recipients, providers |
| Genie (AI/BI) | list spaces, ask-question |
| Utilities | workspace status, current user, whoami |
Install
# From source (this repo)
uv tool install .
# Or pipx / pip
pipx install .
# or
pip install .
# Or run directly with uvx
uvx --from . databricks-mcp
Configure
The server needs three environment variables (or CLI flags):
| Variable | Required | Example |
|---|---|---|
DATABRICKS_HOST |
yes | https://dbc-1234567890.cloud.databricks.com |
DATABRICKS_TOKEN |
one of PAT or OAuth must be set | dapi... (Personal Access Token) |
DATABRICKS_CLIENT_ID + DATABRICKS_CLIENT_SECRET |
OAuth M2M alternative to PAT | — |
DATABRICKS_ACCOUNT_ID |
only for account-level APIs | 1234567890 |
You can also pass them as CLI flags: --host, --token.
Use with Claude Desktop
Add this to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"databricks": {
"command": "databricks-mcp",
"env": {
"DATABRICKS_HOST": "https://dbc-1234567890.cloud.databricks.com",
"DATABRICKS_TOKEN": "dapi..."
}
}
}
}
Use with Claude Code
claude mcp add databricks \
--transport stdio \
--env DATABRICKS_HOST=https://dbc-1234567890.cloud.databricks.com \
--env DATABRICKS_TOKEN=dapi... \
-- databricks-mcp
Run from source
# stdio (default)
uv run databricks-mcp
# streamable HTTP (for remote deployment / Databricks Apps)
uv run databricks-mcp --transport streamable-http --host 0.0.0.0 --port 8000
Test with MCP Inspector
npx -y @modelcontextprotocol/inspector databricks-mcp
Then set DATABRICKS_HOST and DATABRICKS_TOKEN in the Inspector's env form
and click Connect. Browse the tool list and try whoami first.
License
MIT.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.