Databricks AI Dev Kit in Claude Code (Desktop + CLI + VS Code) — The Complete Setup Guide
From the publisher’s feed, collected in the ZeroLabs newsroom.
I’ve been using the Databricks AI Dev Kit with Claude Code daily, and the setup tripped me up the first time. Here’s the exact step-by-step I wish I’d had.Claude Code Desktop and VS Code ExtensionPART 1 — PrerequisitesBefore anything else, make sure you have:✅ Node.js 18+ installed (node --version to verify)✅ Python 3.10+ installed (python --version)✅ uv package manager → Install via:Mac/Linux: curl -LsSf https://astral.sh/uv/install.sh | shWindows (PowerShell): irm https://astral.sh/uv/install.ps1 | iex✅ A Databricks workspace URL + Personal Access Token (PAT) or ~/.databrickscfg profile set up✅ An Anthropic account with Claude Pro, Max, Team, or Enterprise accessPART 2 — Install Claude Code CLIThis is the foundation. Everything else sits on top of it.bashnpm install -g @anthropic-ai/claude-codeVerify: claude --versionOn first run (claude in your terminal), you'll authenticate via OAuth with your Anthropic account. Complete that before moving forward.PART 3 — Install the Claude Code Desktop AppThe Desktop app gives you a native window experience outside your IDE — great for running Claude as a standalone agent.Go to claude.ai → download the Desktop app for your OS (Mac/Windows)Sign in with your Anthropic accountThe Desktop app uses the same Claude Code engine under the hood — it reads your project-level .mcp.json and CLAUDE.md automatically when you open a folder⚠️ Critical: always open the Databricks AI Dev Kit repo folder as your working directory in the Desktop app. MCP server configs and Skills are project-scoped — they only activate when Claude is rooted in that folder.PART 4 — Install the Claude Code VS Code ExtensionTwo paths:Option A (recommended): Open VS Code → Ctrl+Shift+X → search "Claude Code" → install the extension published by Anthropic. Look for the verified publisher badge.Option B (auto): If you run claude inside VS Code's integrated terminal, the extension detects it and installs itself automatically.Once installed: the ⚡ Spark icon appears in your VS Code sidebar. Click it to open Claude Code’s panel.⚠️ Critical again: open the ai-dev-kit repo folder as your VS Code workspace. The MCP server and Skills configs are resolved relative to your workspace root. Open the wrong folder and nothing wires up.The VS Code extension also looks for .vscode/mcp.json in addition to .mcp.json at the project root — both are valid locations.PART 5 — Clone and Install the Databricks AI Dev KitOne-liner install (recommended):bashbash This single script clones the repo to ~/.ai-dev-kit/repo/, creates a Python virtual environment at ~/.ai-dev-kit/.venv/, installs databricks-tools-core and databricks-mcp-server, and wires the MCP server config and Skills into your project's .claude/, .vscode/, or .cursor/ directories.Or manual clone:bashgit clone https://github.com/databricks-solutions/ai-dev-kit.gitcd ai-dev-kituv pip install -e ./databricks-tools-coreuv pip install -e ./databricks-mcp-serverThe repo structure you'll be working with:~/.ai-dev-kit/├── repo/│ ├── databricks-mcp-server/│ ├── databricks-tools-core/│ ├── databricks-skills/│ └── .claude/skills/ ← Skills (knowledge docs for Claude)├── .venv/ ← Python venv└── versionPART 6 — Configure CredentialsSet your Databricks credentials so the MCP server can authenticate:Option A — Environment variables:bashexport DATABRICKS_HOST="https://your-workspace.cloud.databricks.com"export DATABRICKS_TOKEN="your-personal-access-token"Option B — ~/.databrickscfg profile (recommended for local dev):[DEFAULT]host = https://your-workspace.cloud.databricks.comtoken = your-personal-access-tokenThen set: export DATABRICKS_CONFIG_PROFILE="DEFAULT"PART 7 — Edit the MCP Server Config FileThis is the critical file that tells Claude Code where the MCP server lives and how to launch it.For Claude Code (Desktop + CLI): Edit or create .mcp.json at your project root:json{ "mcpServers": { "databricks": { "command": "uv", "args": [ "run", "--directory", "/path/to/ai-dev-kit", "python", "databricks-mcp-server/run_server.py" ], "defer_loading": true } }}🔁 Replace /path/to/ai-dev-kit with your actual cloned path (e.g. ~/.ai-dev-kit/repo).For VS Code: Same JSON goes into .vscode/mcp.json in your workspace root. The installer handles this automatically if you used the one-liner.PART 8 — Other Files to Know (Don’t Skip These)📄 CLAUDE.md — Project memory for Claude. Lives at the repo root. Claude reads this automatically at the start of every session. The AI Dev Kit ships with a default one covering Databricks conventions, patterns, and guardrails. Edit it to add your workspace-specific context (catalog names, environment details, team conventions).📄 .claude/skills/ — Skill markdown files (e.g. databricks-asset-bundles, sdp-writer, jobs). These teach Claude the right patterns for Delta Live Tables, Databricks Jobs, AI/BI, etc. They're installed automatically — but you can add custom skills here.📄 ~/.databrickscfg — Credential profile. Ensure this is configured before starting any session.PART 9 — Start ChattingClaude Code Desktop:Open the Desktop appFile → Open Folder → select your ai-dev-kit repo (or your Databricks project folder that has .mcp.json)Type /mcp to verify the Databricks MCP server shows as connectedStart prompting — e.g. “List my Unity Catalog schemas” or “Write a DLT pipeline with Auto Loader”VS Code Extension:Open VS Code with your ai-dev-kit folder as the workspace rootClick the ⚡ Spark icon in the sidebarType /mcp to confirm server connectionFull Claude Code panel is live — inline diffs, file context, plan review, all wired to your Databricks workspacePART 10 — Verify Everything Is WiredRun this in your terminal from the project folder:bashclaude mcp listYou should see databricks with a ✅ connected status. If not — double check the path in .mcp.json and that your credentials are exported.Inside a Claude session, run /mcp to see active MCP servers and their tools. The Databricks server exposes tools for jobs, clusters, SQL, DBFS, notebooks, and Unity Catalog.The Golden Rule:Always open the ai-dev-kit repo folder (or a project folder containing .mcp.json) as your working root — in both Desktop and VS Code. The MCP server, Skills, and CLAUDE.md are all project-scoped. Open the wrong folder = Claude has no Databricks context.🚀 Databricks AI Dev Kit in Claude Code (Desktop + CLI + VS Code) — The Complete Setup Guide was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.