Databricks
About
Integrates with Databricks services to enable interaction with clusters, jobs, notebooks, DBFS, and SQL workspaces via tools that wrap the Databricks REST API.
Details
- Author
- justtryai
- Repository
- JustTryAI/databricks-mcp-server
- GitHub stars
- 16
- Categories
- Productivity, Developer Tools, Design, Workplace, AI, Infrastructure, Database, Automation
- Tags
- #integration
Jump to
- MCP Protocol Support: Implements the MCP protocol to allow LLMs to interact with Databricks
- Databricks API Integration: Provides access to Databricks REST API functionality
- Tool Registration: Exposes Databricks functionality as MCP tools
- Async Support: Built with asyncio for efficient operation
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
DatabricksCommand (node, npx, python, etc.)npxArguments-
Argument 1
-y -
Argument 2
@highlight/mcp-server
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
1. Install uv if you don't have it already:
uv venv
uv pip install -e .
uv pip install -e ".[dev]"
4. Set up environment variables:
To start the MCP server, run:
bashlist_clusters
List all Databricks clusters.
create_cluster
Create a new Databricks cluster.
terminate_cluster
Terminate a Databricks cluster.
get_cluster
Get information about a specific Databricks cluster.
start_cluster
Start a terminated Databricks cluster.
list_jobs
List all Databricks jobs.
run_job
Run a Databricks job.
list_notebooks
List notebooks in a workspace directory.
export_notebook
Export a notebook from the workspace.
list_files
List files and directories in a DBFS path.
execute_sql
Execute a SQL statement.
The Databricks MCP Server exposes the following tools:
- list_clusters: List all Databricks clusters
- create_cluster: Create a new Databricks cluster
- terminate_cluster: Terminate a Databricks cluster
- get_cluster: Get information about a specific Databricks cluster
- start_cluster: Start a terminated Databricks cluster
- list_jobs: List all Databricks jobs
- run_job: Run a Databricks job
- list_notebooks: List notebooks in a workspace directory
- export_notebook: Export a notebook from the workspace
- list_files: List files and directories in a DBFS path
- execute_sql: Execute a SQL statement
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"databricks": {
"env": {},
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
}
}
Linux
{
"env": [],
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
Macos
{
"env": [],
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
Windows
{
"env": [],
"args": [
"/c",
"npx",
"-y",
"@highlight/mcp-server"
],
"command": "cmd"
}
Databricks MCP Server
A Model Completion Protocol (MCP) server for Databricks that provides access to Databricks functionality via the MCP protocol. This allows LLM-powered tools to interact with Databricks clusters, jobs, notebooks, and more.
Features
- MCP Protocol Support: Implements the MCP protocol to allow LLMs to interact with Databricks
- Databricks API Integration: Provides access to Databricks REST API functionality
- Tool Registration: Exposes Databricks functionality as MCP tools
- Async Support: Built with asyncio for efficient operation
Available Tools
The Databricks MCP Server exposes the following tools:
- list_clusters: List all Databricks clusters
- create_cluster: Create a new Databricks cluster
- terminate_cluster: Terminate a Databricks cluster
- get_cluster: Get information about a specific Databricks cluster
- start_cluster: Start a terminated Databricks cluster
- list_jobs: List all Databricks jobs
- run_job: Run a Databricks job
- list_notebooks: List notebooks in a workspace directory
- export_notebook: Export a notebook from the workspace
- list_files: List files and directories in a DBFS path
- execute_sql: Execute a SQL statement
Installation
Prerequisites
- Python 3.10 or higher
- uv package manager (recommended for MCP servers)
Setup
1. Install uv if you don't have it already:
# MacOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (in PowerShell)
irm https://astral.sh/uv/install.ps1 | iex
Restart your terminal after installation.
2. Clone the repository:
git clone https://github.com/JustTryAI/databricks-mcp-server.git
cd databricks-mcp-server
3. Set up the project with uv:
# Create and activate virtual environment
uv venv
# On Windows
.\.venv\Scripts\activate
# On Linux/Mac
source .venv/bin/activate
# Install dependencies in development mode
uv pip install -e .
# Install development dependencies
uv pip install -e ".[dev]"
4. Set up environment variables:
# Windows
set DATABRICKS_HOST=https://your-databricks-instance.azuredatabricks.net
set DATABRICKS_TOKEN=your-personal-access-token
# Linux/Mac
export DATABRICKS_HOST=https://your-databricks-instance.azuredatabricks.net
export DATABRICKS_TOKEN=your-personal-access-token
You can also create an .env file based on the .env.example template.
Running the MCP Server
To start the MCP server, run:
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





