Databricks MCP Server
Provides tools for interacting with Databricks, enabling cluster management, job management, notebook management, DBFS management, and SQL management within a Databricks environment.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Databricks MCP Serverlist all running clusters"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Databricks MCP Server
This is a server that provides tools to interact with Databricks.
Features
Cluster management
Job management
Notebook management
DBFS management
SQL management
Related MCP server: Databricks MCP Server
Installation
Required Python version: 3.11
# Create and activate virtual environment
uv venv
# On Windows
.\.venv\Scripts\activate
# On Linux/Mac
source .venv/bin/activate
# Install dependencies
uv pip install pip
pip install -r requirements.txtConfiguration
The server can be configured using environment variables or a .env file.
Environment variables
DATABRICKS_HOST: The Databricks host URL (e.g. https://adb-123456789012345.12.azuredatabricks.net)DATABRICKS_TOKEN: The Databricks API tokenTRANSPORT: The transport to use (e.g. sse). Options: [stdio, sse, streamable-http]. Default: sseSERVER_HOST: The host to bind the server to (e.g. 0.0.0.0)SERVER_PORT: The port to bind the server to (e.g. 8000)DEBUG: Whether to run the server in debug mode (e.g. True)LOG_LEVEL: The log level (e.g. INFO)
.env file
Create a .env file in the root directory of the project with the following variables:
DATABRICKS_HOST=https://adb-123456789012345.12.azuredatabricks.net
DATABRICKS_TOKEN=your_databricks_api_token
TRANSPORT=sse
SERVER_HOST=0.0.0.0
SERVER_PORT=8000
DEBUG=True
LOG_LEVEL=INFOObtaining Databricks Credentials
Host: Your Databricks instance URL (e.g., your-instance.cloud.databricks.com)
Token: Create a personal access token in Databricks:
Go to User Settings (click your username in the top right)
Select "Developer" tab
Click "Manage" under "Access tokens"
Generate a new token, and save it (it will not be shown again)
Running the server in standalone mode
python -m mainConfig Claude-Desktop/Cursor/Windsurf
Add the following to your Claude-Desktop/Cursor config file:
{
"mcpServers": {
"databricks": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/this/project",
"run",
"python",
"-m",
"main"
],
"env": {
"DATABRICKS_HOST": "https://your-host.cloud.databricks.com",
"DATABRICKS_TOKEN": "your-databricks-api-token",
"TRANSPORT": "stdio"
}
}
}
}If you are using Claude-Desktop, restart it for the changes to take effect.
This server cannot be deployed
Maintenance
Related MCP Connectors
Marketo MCP server for AI. 130 tools to operate Marketo from Claude, Cursor, or ChatGPT.
Remote data science agents for Snowflake, Databricks & BigQuery in Claude/Cursor via MCP
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
- mcpOAuthcom.gibsonai
GibsonAI MCP server: manage your databases with natural language
Related MCP Servers
- FlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that enables LLMs to interact with Databricks workspaces through natural language, allowing SQL query execution and job management operations.50-
- AlicenseBqualityDmaintenanceA server that implements the Model Completion Protocol (MCP) to allow LLMs to interact with Databricks resources including clusters, jobs, notebooks, and SQL execution through natural language.1150MIT
- AlicenseBqualityDmaintenanceA fixed Model Completion Protocol (MCP) server that enables LLMs like Claude Code to interact with Databricks functionality including clusters, jobs, notebooks, and SQL execution through natural language commands.195MIT
- FlicenseNot gradedqualityDmaintenanceA FastAPI-based server that provides tools for local file management and Databricks operations, enabling users to create/edit files locally and interact with Databricks clusters, jobs, and DLT pipelines.-