MCP.so
Sign In
D

Databricks MCP Servers (Official)

@databricks

Basic information

Transport

streamable-http

Authentication

OAuth

Last updated

Category

Data & Analytics

Author

databricks

About Databricks MCP Servers (Official)

Databricks provides ready-to-use MCP servers in the system.ai schema, such as the Genie One MCP for natural-language analytics and the Databricks SQL MCP for running SQL on a SQL warehouse. Each MCP is a Unity Catalog securable invoked through Unity Gateway at https://<workspace-hostname>/ai-gateway/mcp-services/<mcp-name>, so permissions, grants and policies apply to every call. Connect Claude Code, Codex, Cursor and other clients with the Unity Gateway CLI (ug) or a manual OAuth setup.

Connection details

https://<workspace-hostname>/ai-gateway/mcp-services/system.ai.genie_one_mcp

Setup

claude mcp add databricks-genie-one --transport http https://<workspace-hostname>/ai-gateway/mcp-services/system.ai.genie_one_mcp --header "Authorization: Bearer ${DATABRICKS_TOKEN}"

Databricks MCP Servers tools

6

Genie One MCP: ask Genie a natural-language data question and start a response; returns conversation_id, response_id and status. Pass a conversation_id to continue a conversation.

Genie One MCP: fetch the latest state of an in-flight or completed response, including progress steps, the final answer and deep links to Databricks sources.

Genie One MCP: fetch the full SQL result, including column schema and rows, for a query Genie ran.

Genie One MCP: request cancellation of an in-flight Genie turn.

Genie One MCP: ask Genie a question and open the interactive View on clients that support MCP Apps.

Databricks SQL MCP (system.ai.dbsql): run a SQL query on a SQL warehouse using the caller's Unity Catalog and warehouse permissions; runs asynchronously.

Overview

What is Databricks MCP Servers (Official)?

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 MCP Servers (Official)?

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.sandbox and system.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-gateway scope is recommended. For local testing, a personal access token in an Authorization: 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 MCP Servers (Official)

  • Official and hosted by Databricks: no server to deploy or maintain
  • One URL pattern for every system.ai MCP 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_writes in system.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 MCP Servers (Official) tools

Tools depend on which server you connect:

  • Genie One (system.ai.genie_one_mcp): genie_ask starts an answer to a natural-language question, genie_poll_response fetches progress and the final answer, genie_get_query_result returns the full SQL result, genie_cancel_response cancels a turn, and view_ask opens an interactive View on clients that support MCP Apps.
  • Databricks SQL (system.ai.dbsql): an execute_sql tool runs a query you or your agent wrote. Queries run asynchronously and large results are truncated.
  • Web search and sandbox: system.ai.web_search returns a synthesized answer with citations; system.ai.sandbox runs 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.gmail and system.ai.microsoft_365 connect through OAuth to each provider.

Use cases of Databricks MCP Servers (Official)

  • 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.

Databricks MCP Servers (Official) vs alternatives

Legacy workspace endpoints. Older managed endpoints such as https://<workspace-hostname>/api/2.0/mcp/sql, /api/2.0/mcp/genie/{genie_space_id}, /api/2.0/mcp/ai-search/{catalog}/{schema}/{index_name} and /api/2.0/mcp/functions/{catalog}/{schema}/{function_name} still work but bypass Unity Gateway, so they lack MCP-level grants, policies and tracing. Databricks says the beta Genie endpoint https://<workspace-hostname>/api/2.0/mcp/genie is deprecated and will be sunset on October 31, 2026.

databrickslabs/mcp. The open-source Databricks Labs Unity Catalog server is deprecated, and its README recommends the managed servers instead.

Community servers. Self-hosted, token-based options exist, for example Databricks MCP Server by RafaelCartenet, which focuses on Unity Catalog metadata, lineage and SQL. They are not maintained by Databricks.

You can also register external MCP servers in Unity Gateway or build custom ones on Databricks Apps.

Troubleshooting Databricks MCP Servers (Official)

  • system.ai.dbsql or system.ai.sandbox is missing: an account admin must enable the Unity Gateway beta.
  • A tool asks you to log in: for external services, open the returned login link, authorize the provider and retry. Workspace and provider sign-in are separate.
  • OAuth redirect mismatch: the registered redirect URL must match the client's callback host and port. OAuth app changes can take up to 30 minutes. Databricks endpoints do not support dynamic client registration, so use a preconfigured client ID.
  • Hosted client can't connect: if IP access lists are on, allow the provider's outbound IPs (for example Claude's or ChatGPT's), not just your own network.
  • Claude Code does not connect via ug: run ug doctor.

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.

9

What is the Databricks-provided MCPs remote MCP server?

The Databricks-provided MCPs remote MCP server is a hosted Model Context Protocol endpoint at https://<workspace-hostname>/ai-gateway/mcp-services/system.ai.genie_one_mcp, so AI assistants can connect to it without installing or running anything locally.

10

How do I connect to the Databricks-provided MCPs MCP server?

Add the endpoint https://<workspace-hostname>/ai-gateway/mcp-services/system.ai.genie_one_mcp to any MCP-compatible client such as Claude Code, Cursor, or VS Code. The setup snippets on this page configure each client in one step.

11

Does the Databricks-provided MCPs MCP server require authentication?

Yes. Databricks-provided MCPs uses OAuth: the first time you connect, your MCP client opens a browser window to sign in and authorize access, then reuses the credentials for future sessions.

12

Which transport does the Databricks-provided MCPs MCP server use?

Databricks-provided MCPs exposes a streamable-http endpoint, the transport used by remote MCP servers and supported by all major MCP clients.

Comments