Basic information
About Databricks MCP Server
Interact with Databricks data catalogs, schemas, and SQL warehouses securely. Ideal for Databricks certified and Azure Databricks users.
Databricks is a remote MCP server in the Databases category listed in the AddMCP.net directory, published by characat0. It exposes 6 tools, including execute_sql, get_table, list_catalogs, list_schemas and more. Supported transport: stdio. Runtime: Go. License: MIT. The repository has 4 GitHub stars. Source code is hosted on github.com. Related topics: analytics-data, community, data-analytics, databases, databricks.
Connection details
https://<workspace-hostname>/ai-gateway/mcp-services/system.ai.genie_one_mcp
Setup
claude mcp add databricks --transport http https://<workspace-hostname>/ai-gateway/mcp-services/system.ai.genie_one_mcp
[mcp_servers.databricks] url = "https://<workspace-hostname>/ai-gateway/mcp-services/system.ai.genie_one_mcp"
{
"mcpServers": {
"databricks": {
"url": "https://<workspace-hostname>/ai-gateway/mcp-services/system.ai.genie_one_mcp"
}
}
}
{
"servers": {
"databricks": {
"type": "http",
"url": "https://<workspace-hostname>/ai-gateway/mcp-services/system.ai.genie_one_mcp"
}
}
}
Databricks MCP Server (Databases) config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"databricks": {
"command": "npx",
"args": [
"databricks-mcp-server@latest"
]
}
}
}
Databricks MCP Server (Databases) tools
- execute_sql — Executes SQL statements on a Databricks warehouse and returns the results
- get_table — Gets detailed information about a single Databricks table
- list_catalogs — Lists all catalogs available in the Databricks workspace
- list_schemas — Lists all schemas in a specified Databricks catalog
- list_tables — Lists all tables in a specified Databricks schema with optional filtering
- list_warehouses — Lists all SQL warehouses available in the Databricks workspace
Overview
What is Databricks?
Databricks MCP Servers (Official) are the Databricks-provided MCP servers in the system.ai schema: hosted endpoints that let Claude, Cursor, Codex and other agents query your Databricks data with Genie One or SQL, and call services like GitHub and Slack.
You do not host anything. Each Databricks MCP server is a Unity Catalog securable invoked through Unity Gateway, so Unity Catalog permissions are enforced on every call and admins govern access with grants and policies. The servers are documented for Databricks on AWS, Azure and GCP.
How to use Databricks?
Every system.ai MCP uses the same URL pattern:
https://<workspace-hostname>/ai-gateway/mcp-services/<mcp-name>
Replace <workspace-hostname> with your workspace hostname (no https:// or path) and <mcp-name> with a full name such as system.ai.genie_one_mcp or system.ai.dbsql. To find names, open Unity Gateway > MCPs in your workspace.
Prerequisites:
- A Databricks workspace and permission to call the MCP.
- For
system.ai.dbsql,system.ai.sandboxandsystem.ai.web_search, an account admin must enable the Unity Gateway beta on the account console Previews page. The Genie One MCP is generally available. - Authentication: OAuth with the
ai-gatewayscope is recommended. For local testing, a personal access token in anAuthorization: Bearer <token>header also works.
For coding agents Databricks recommends the Unity Gateway CLI (ug, needs Python 3.12+ and uv), which handles sign-in and token refresh:
uv tool install git+https://github.com/databricks/unity-gateway
ug mcp add --names system.ai.genie_one_mcp,system.ai.dbsql
Omit --names to choose servers in a picker. ug mcp list shows connections and ug mcp remove removes them.
Claude Code
With ug: ug mcp add --agents claude --names system.ai.github, then restart with ug claude. Manually, with Databricks' built-in OAuth client:
claude mcp add --transport http --scope user \
--client-id claude-code --callback-port 3118 \
databricks-tools \
"https://<workspace-hostname>/ai-gateway/mcp-services/<catalog>.<schema>.<service-name>"
Then enter /mcp in Claude Code and sign in with your Databricks account.
Claude Desktop
For Claude on the web or desktop with your Claude account, an account admin creates an OAuth client with the ai-gateway scope and the redirect URLs https://claude.ai/api/mcp/auth_callback and https://claude.com/api/mcp/auth_callback. Then open Settings > Connectors > Add custom connector, enter the MCP URL and the client ID, and sign in. For local testing with a token, Databricks documents this claude_desktop_config.json entry (requires Node.js):
{
"mcpServers": {
"databricks-tools": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://<workspace-hostname>/ai-gateway/mcp-services/<catalog>.<schema>.<service>",
"--header",
"Authorization: Bearer <databricks-pat>"
]
}
}
}
Cursor
Run ug mcp add --agents cursor, which writes ~/.cursor/mcp.json. For token-based local testing, merge this into ~/.cursor/mcp.json:
{
"mcpServers": {
"dbsql": {
"url": "https://<workspace-hostname>/ai-gateway/mcp-services/system.ai.dbsql",
"headers": { "Authorization": "Bearer <databricks-pat>" }
}
}
}
Codex
Run ug mcp add --agents codex --names <catalog>.<schema>.<service>, or register it manually with codex mcp add databricks-tools --url "<mcp-url>" --oauth-client-id <client-id> and sign in with codex mcp login databricks-tools --scopes ai-gateway,offline_access.
To check any client, ask it to run SELECT 1 AS result through system.ai.dbsql and confirm it makes a tool call.
Key features of Databricks
- Official and hosted by Databricks: no server to deploy or maintain
- One URL pattern for every
system.aiMCP through Unity Gateway - Unity Catalog permissions enforced on every request, plus grants, policies and tracing in Unity Gateway
- Genie One MCP (GA) answers natural-language questions grounded in Genie Ontology, your governed semantic layer
- Databricks SQL MCP runs exact SQL on a SQL warehouse; it can be made read-only with
disallow_writesinsystem.ai.dbsql_policy - External-service MCPs for Slack, GitHub, Atlassian, Google Drive, Google Calendar, Gmail and Microsoft 365
- Setup guides for Claude Code, Claude Desktop, Codex, Cursor, ChatGPT, Windsurf and Replit
Databricks tools
Tools depend on which server you connect:
- Genie One (
system.ai.genie_one_mcp):genie_askstarts an answer to a natural-language question,genie_poll_responsefetches progress and the final answer,genie_get_query_resultreturns the full SQL result,genie_cancel_responsecancels a turn, andview_askopens an interactive View on clients that support MCP Apps. - Databricks SQL (
system.ai.dbsql): anexecute_sqltool runs a query you or your agent wrote. Queries run asynchronously and large results are truncated. - Web search and sandbox:
system.ai.web_searchreturns a synthesized answer with citations;system.ai.sandboxruns Python, SQL or shell code in an isolated environment with no network egress. - External services:
system.ai.slack,system.ai.github,system.ai.atlassian,system.ai.google_drive,system.ai.google_calendar,system.ai.gmailandsystem.ai.microsoft_365connect through OAuth to each provider.
Use cases of Databricks
- Business analytics in chat: "What was revenue by region last quarter?" answered by Genie One with links back to sources.
- Data engineering from a coding agent: "Check the schema of main.sales.orders and validate this SQL" with the Databricks SQL MCP.
- Cross-tool work: "Find the open GitHub issue about the failing job" through
system.ai.github. - Governed agents for a team, where admins restrict tools and apply policies centrally.
Frequently asked questions
1 Is there an official Databricks MCP server?
Yes. Databricks provides hosted MCP servers in the system.ai schema, including Genie One and Databricks SQL, reachable at https://<workspace-hostname>/ai-gateway/mcp-services/<mcp-name>.
2 Is the Databricks MCP server free?
There is no separate MCP price in the docs. The Genie One MCP uses Chat in Genie One and Genie pricing; legacy endpoints use Databricks SQL, serverless or AI Search pricing.
3 How do I authenticate?
Use OAuth with the ai-gateway scope, which ug handles for coding agents. A personal access token works for local testing. Unattended agents should use a service principal with OAuth M2M.
4 Does it work with Claude Code, Cursor and Codex?
Yes. Databricks publishes setup for each, through ug mcp add --agents <agent> or manual configuration.
5 What is the difference between Genie One MCP and Databricks SQL MCP?
Genie One is recommended for natural-language analytics because it resolves business terms through Genie Ontology. The Databricks SQL MCP runs the exact SQL you give it.
6 Is the Databricks managed MCP read-only?
The Databricks SQL MCP permits reads and writes by default. Set disallow_writes to true in system.ai.dbsql_policy to make it read-only.
7 Can agents see data they shouldn't?
No. Unity Catalog permissions are enforced on every request, so results are scoped to what the user or service principal can access.
8 Is databrickslabs/mcp still maintained?
Its Unity Catalog server is deprecated, and Databricks recommends the managed MCP servers instead.
Videos
Tutorials, guides, and showcases related to Databricks MCP Server (Databases). The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In