Databricks Mcp Server — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Databricks Mcp Server (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A Model Context Protocol (MCP) server with enhanced Genie AI integration that provides seamless natural language interaction between AI assistants (like Claude Desktop, Cursor) and Databricks workspaces.
Enables AI assistants to directly interact with your Databricks workspace:
Recommended Setup: No manual installation needed! Use uvx to automatically run the server.
uv (one-time): curl -LsSf https://astral.sh/uv/install.sh | sh {
"command": "uvx",
"args": ["databricks-mcp-genie"]
}env sectionFull details in the Cursor Setup Guide.
This project now includes automated Claude Code PR reviews! Every pull request receives:
PRs are automatically reviewed using GitHub Actions powered by Claude.
For MCP Clients (Recommended): No manual installation! Use uvx in your MCP client configuration - it automatically downloads and runs the server.
For Development:
# Clone the repository
git clone https://github.com/sidart10/databrics-mcp-server.git
cd databrics-mcp-server
# Install with uv
uv synchttps://your-workspace.cloud.databricks.comFor Cursor: See the Cursor Setup Guide for detailed instructions.
For Claude Desktop: Edit ~/.config/Claude/claude_desktop_config.json:
{
"mcpServers": {
"databricks": {
"command": "uvx",
"args": ["databricks-mcp-genie"],
"env": {
"DATABRICKS_HOST": "https://your-workspace.cloud.databricks.com",
"DATABRICKS_TOKEN": "your-personal-access-token-here"
}
}
}
}Note:uvx(included withuv) automatically downloads and runs the MCP server. No manual installation needed!
With uvx (after configuring Cursor/Claude Desktop):
From source (development):
uv run -m databricks_mcp.mainGenie AI (5 tools) - Natural language data analysis
list_genie_spaces - List available Genie AI spacesstart_genie_conversation - Ask questions in natural languagesend_genie_followup - Continue conversations with contextget_genie_message_status - Check message processing statusget_genie_query_results - Retrieve SQL results from GenieClusters API (6 tools)
list_clusters, create_cluster, get_clusterstart_cluster, terminate_clusterSQL API (1 tool)
execute_sql - Run SQL queries with warehouseJobs API (9 tools)
list_jobs, create_job, delete_job, run_joblist_job_runs, get_run_status, cancel_runrun_notebook, sync_repo_and_run_notebookNotebooks API (5 tools)
list_notebooks, export_notebook, import_notebookdelete_workspace_object, get_workspace_file_content, get_workspace_file_infoDBFS API (3 tools)
list_files, dbfs_put, dbfs_deleteUnity Catalog API (7 tools)
list_catalogs, create_cataloglist_schemas, create_schemalist_tables, create_table, get_table_lineageRepos API (4 tools)
list_repos, create_repo, update_repo, pull_repoLibraries API (3 tools)
install_library, uninstall_library, list_cluster_librariesOnce configured, you can ask Claude to interact with Databricks:
"List all my running clusters"
"Execute this SQL query: SELECT * FROM my_catalog.my_schema.my_table LIMIT 10"
"Ask Genie: What were the top products by revenue last month?"
"Create a new job to run my ETL notebook daily"from databricks_mcp.server import DatabricksMCPServer
# Initialize server
server = DatabricksMCPServer()
# Use via MCP protocol
server.run()from databricks_mcp.api import clusters, genie, sql
# List clusters
clusters_list = await clusters.list_clusters()
# Ask Genie a question
response = await genie.start_conversation(
space_id="01efc298aabd1ae9bac6128988a6eaaa",
question="Show me revenue trends by product category"
)
# Execute SQL
results = await sql.execute_sql(
statement="SELECT * FROM sales.orders LIMIT 100",
warehouse_id="your-warehouse-id"
)databrics-mcp-server/
├── databricks_mcp/ # Main Python package
│ ├── api/ # API modules (clusters, sql, genie, etc.)
│ ├── core/ # Core utilities and config
│ ├── server/ # MCP server implementation
│ └── cli/ # CLI commands
├── tests/ # Test suite
├── examples/ # Usage examples
├── scripts/ # Setup and launch scripts
├── docs/ # Documentation
└── pyproject.toml # Package configurationCheck logs: databricks_mcp.log
Common issues:
.mcp.jsonpip install -e ".[dev]")# Verify all imports work
.venv/bin/python -c "from databricks_mcp.server import DatabricksMCPServer"
.venv/bin/python -c "from databricks_mcp.api import clusters, sql, genie"Verify credentials:
export DATABRICKS_HOST="https://your-workspace.cloud.databricks.com"
export DATABRICKS_TOKEN="your-token"
.venv/bin/python -c "
from databricks_mcp.api import clusters
import asyncio
print(asyncio.run(clusters.list_clusters()))
"# All tests
.venv/bin/pytest tests/ -v
# Specific test file
.venv/bin/pytest tests/test_clusters.py -v
# With coverage
.venv/bin/pytest tests/ --cov=databricks_mcp# Format code
.venv/bin/black databricks_mcp/
# Lint
.venv/bin/pylint databricks_mcp/databricks_mcp/api/databricks_mcp/server/databricks_mcp_server.py:@self.tool(
name="your_tool_name",
description="What your tool does with parameters: param1 (required), param2 (optional)"
)
async def your_tool(params: Dict[str, Any]) -> List[TextContent]:
try:
actual_params = _unwrap_params(params)
result = await your_api_module.your_function(actual_params)
return [{"type": "text", "text": json.dumps(result)}]
except Exception as e:
logger.error(f"Error: {str(e)}")
return [{"type": "text", "text": json.dumps({"error": str(e)})}]MIT License - See LICENSE file for details
PyPI Package: databricks-mcp-genie Source Repository: https://github.com/sidart10/databrics-mcp-server Maintainer: Sid Original Author: Olivier Debeuf De Rijcker (databricks-mcp)
Special thanks to:
Built with Claude Code - AI-assisted development tool by Anthropic
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.