Databricks MCP server for AI assistants

Databricks MCP server for AI assistants

databricks-mcp•byleminkhoa

A Python-based Model Context Protocol server that connects AI assistants to Databricks workspaces and provides tools for compute, SQL, and workspace management.

License: Not specified•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Manages Databricks compute resources, allowing listing, creating, deleting, starting clusters, and retrieving cluster details.
  • •Executes SQL queries and runs Python, Scala, or SQL commands on running clusters through execution contexts.
  • •Organizes and manipulates Databricks workspace objects, including importing, deleting, and checking object status, and creating directories.
  • •Supports SQL warehouse and library management, including listing and creating warehouses and installing libraries on clusters.

BEST FOR

  • •AI assistant users who want to manage Databricks clusters and compute resources conversationally.
  • •Analysts who want to run SQL queries against Databricks and analyze results through an MCP client.
  • •Teams that need to inspect and organize notebooks, files, and directories in a Databricks workspace.

ABOUT DATABRICKS-MCP

Databricks MCP server for AI assistants is cataloged as an MCP server attributed to leminkhoa. A Python-based Model Context Protocol server that connects AI assistants to Databricks workspaces and provides tools for compute, SQL, and workspace management. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Databricks MCP server for AI assistants are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Is Databricks MCP a server or a client?

It is a server that uses stdio transport to connect with MCP clients like Claude Desktop.

Which languages can commands be executed in on a Databricks cluster?

The execute_command tool can run Python, Scala, or SQL on a running cluster.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 0b64e2af6940 · 采集于 2026-11-13 13:03:28 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

🚀 MCP Databricks

Python 3.11+ Databricks MCP Protocol

A powerful Databricks integration for AI assistants via Model Context Protocol

📖 Introduction

MCP Databricks seamlessly connects AI assistants to your Databricks workspaces through the Model Context Protocol (MCP). Built with Python, it provides a rich collection of tools for managing virtually every aspect of your Databricks environment.

With this server, AI assistants like Claude can:

  • 🔧 Manage compute resources with precision
  • 📊 Execute SQL queries and analyze results
  • 📁 Organize and manipulate workspace objects
  • ✨ And much more!

🔍 Prerequisites

  • 🐍 Python 3.11 or higher
  • 💻 A Databricks workspace
  • 🔑 Databricks Personal Access Token (PAT)
  • 📦 Required Python packages (installed in setup)

🚀 Quickstart

1️⃣ Clone the repository

git clone https://github.com/leminkhoa/databricks-mcp
cd databricks-mcp

2️⃣ Configure environment variables

Create a .env file in the project root with your Databricks credentials:

# Databricks API Configuration
DATABRICKS_HOST="https://adb-<your workspace uri>.azuredatabricks.net/"
DATABRICKS_TOKEN="dapi_<your_token_here>"

# Server Configuration
SERVER_HOST="0.0.0.0"
SERVER_PORT="8000"
DEBUG="false"
TRANSPORT="stdio"

# Logging Configuration
LOG_LEVEL="INFO"

💡 Tip: For further instructions, You can use the env.sample file as a template.

3️⃣ Choose Your Installation Method

You can use MCP Databricks in two ways:

  1. Build the Docker image:
docker build -t databricks-mcp .
  1. Configure in Cursor with the following mcp.json entry:
{
  "databricks-mcp-docker": {
    "command": "docker",
    "args": [
      "run",
      "--rm",
      "-i",
      "--name", "databricks-mcp",
      "--env-file", "<path/to/.env>",
      "databricks-mcp"
    ]
  }
}

💡 Note: Replace <path/to/.env> with the absolute path to your .env file.

Option B: Local Installation with uv

  1. Install uv (if not already installed):
curl -LsSf https://astral.sh/uv/install.sh | sh

💡 Note: See uv installation documentation for alternative installation methods.

  1. Set up virtual environment:
uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
  1. Install dependencies with uv:
uv sync
  1. Configure in Cursor with the following mcp.json entry:
{
  "databricks-mcp-stdio": {
    "command": "uv",
    "args": [
      "--directory",
      "<repository directory>",
      "run",
      "main.py"
    ]
  }
}

💡 Note: Replace <repository directory> with the absolute path to your cloned repository.

🚀 Usage

Running the MCP Server

If not using Docker or Cursor integration, start the server with:

python main.py

or

uv run main.py

Connecting to Claude or other MCP clients

This server uses the stdio transport for seamless compatibility with Claude Desktop and other MCP clients. After installing the server, you can immediately connect to it using your preferred MCP client.

🧰 Tools and Capabilities

The MCP Databricks server provides a comprehensive toolkit for managing your Databricks environment:

💻 Cluster Management

ToolDescription
list_clustersList all Databricks clusters in the workspace
create_clusterCreate a new Databricks cluster with customizable settings
delete_clusterDelete a Databricks cluster by ID
start_clusterStart a terminated Databricks cluster
list_node_typesList all available node types for Databricks clusters
list_spark_versionsList all available Spark versions for Databricks clusters
get_clusterGet detailed information about a specific Databricks cluster

📦 Library Management

ToolDescription
install_librariesInstall libraries (JAR, WHL, PyPI, Maven, CRAN, etc.) on a running cluster

🖥️ Command Execution

ToolDescription
execute_commandExecute a command (Python, Scala, SQL) on a running Databricks cluster
create_execution_contextCreate an execution context for interactive command sessions

📊 SQL Warehouse Management

ToolDescription
list_sql_warehousesList all SQL warehouses in the workspace
create_sql_warehouseCreate a new SQL warehouse with configurable size and settings

📁 Workspace Objects

ToolDescription
delete_workspace_objectDelete an object from the Databricks workspace
get_workspace_object_statusGet the status of an object in the Databricks workspace
import_workspace_objectImport an object (notebook, file, etc.) into the workspace
create_workspace_directoryCreate a directory in the Databricks workspace

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Databricks MCP server for AI assistants from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/databricks-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps