# Connect Databricks to Your AI Agent (Universal MCP)

> Use your AI to analyze data, build dashboards, and create reports in Databricks — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http databricks https://api.universalmcp.app/mcp/databricks`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/databricks` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "databricks", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: Databricks | Category: Other B2B Software (Databricks) | Auth: Guided workspace authorization
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Query history, Unity Catalog tables, Warehouses and jobs; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/databricks | Guide: https://universalmcp.app/mcp/databricks
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (71 actions: 25 Read, 46 Write)
Perform over 70 actions across AI models & agents, data ingestion & pipelines, SQL & analytics, tables & data governance, lakebase & apps, jobs & workflows, and security & administration. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **AI Models & Agents (10):** Compare Experiment Runs (read), Query Model Serving Endpoint (read), Query Vector Search Index (read), Review Agent Traces (read), Create AI Agent (write), Create Model Serving Endpoint (write), Create Text Embeddings (write), Create Vector Search Index (write), Log Experiment Metrics (write), Register Model Version (write)
- **Data Ingestion & Pipelines (9):** Browse Volume Files (read), Check Data Quality Results (read), Check Pipeline Freshness (read), Verify Ingested Rows (read), Create Lakeflow Pipeline (write), Delete Volume File (write), Send Records To Table (write), Start Pipeline Update (write), Upload Volume File (write)
- **SQL & Analytics (9):** Ask Genie Question (read), Export Query Results (read), List SQL Warehouses (read), Query Tables With SQL (read), Create Dashboard (write), Create Genie Agent (write), Schedule Dashboard Subscription (write), Start SQL Warehouse (write), Stop SQL Warehouse (write)
- **Tables & Data Governance (8):** Get Table Lineage (read), List Tables And Schemas (read), Review Table Access History (read), Assign Data Tags (write), Assign Table Privileges (write), Create Catalog Schema (write), Create External Location (write), Revoke Table Privileges (write)
- **Lakebase & Apps (8):** List Databricks Apps (read), Query Lakebase Table (read), Create Database Branch (write), Create Databricks App (write), Create Lakebase Project (write), Create Lakebase Record (write), Create Vector Embeddings (write), Record Agent Chat Session (write)
- **Jobs & Workflows (6):** Get Job Run Status (read), List Job Runs (read), Cancel Job Run (write), Create Lakeflow Job (write), Schedule Job Trigger (write), Trigger Job Run (write)
- **Security & Administration (6):** List Workspace Users (read), Pull Audit Log Events (read), Add User To Group (write), Create Access Token (write), Create Secret (write), Create Service Principal (write)
- **Notebooks & Development (5):** Get Notebook Output (read), Search Workspace Objects (read), Create Notebook (write), Log Notebook Commit (write), Submit Notebook Run (write)
- **Sharing & Marketplace (5):** List Shared Datasets (read), Add Share Recipient (write), Create Delta Share (write), Create Marketplace Listing (write), Install Marketplace Listing (write)
- **Compute & Cost Management (5):** Pull Usage Cost Report (read), Create Compute Cluster (write), Set Cluster Policy (write), Start Compute Cluster (write), Terminate Compute Cluster (write)

## Example Prompts for Databricks
- **Slow query triage:** "List Databricks SQL queries from the past day with runtime over 60 seconds, sorted by bytes scanned."
- **Table size review:** "Show the largest Databricks Delta tables in Unity Catalog with row counts and last optimize run."
- **Warehouse cost trend:** "Summarize Databricks SQL warehouse DBU usage by day for Harbor Retail over the past 30 days."
- **Draft tuning plan:** "Draft a partitioning change for orders_fact in Databricks and hold it for my approval before running."
