Skip to main content

Set up the Databricks MCP server

Databricks ships managed MCP servers built into the platform — Unity Catalog functions, Genie spaces, SQL warehouses, and AI Search indexes — with no infrastructure to deploy. MintMCP exposes these as four recommended connectors (Databricks Functions, Genie, SQL, AI Search), and this guide covers finding your workspace URLs, registering a Databricks App Connection (or generating a PAT), and installing the connectors you need.

Prerequisites

  • A MintMCP admin account
  • A Databricks workspace with the Managed MCP Servers public preview enabled

Set up authentication

Every connector authenticates one of two ways — pick the one that fits, then paste the result into each connector you install. An OAuth App Connection keeps permissions per user and suits production; a PAT is quicker when a single shared service identity is good enough.

An account admin registers one OAuth app in the Databricks account console. The same Client ID and Client Secret get pasted into each of the recommended Databricks connectors you install.

  1. Go to the Databricks account console → SettingsApp Connections.

  2. Click Add connection.

  3. Fill the form:

    FieldValue
    NameA descriptive identifier (for example, mintmcp-databricks)
    Client typeConfidential (with secret)
    Scopesgenie, ai-search, sql, unity-catalog
    Redirect URLhttps://app.mintmcp.com/oauth/callback
    Access Token TTL1440 (24 hours)
    Refresh Token TTL129600 (90 days)

    Note on scopes: all-apis still works as a scope but is broader than necessary. vector-search remains supported as the legacy alias for ai-search.

  4. Click Save, then copy the Client ID and Client Secret. Databricks shows the Client Secret only once — copy it before you close the dialog.

Install a Databricks connector

In your Databricks workspace, go to Agents > MCP Servers to find your workspace URLs. Each MintMCP recommended connector wraps one Databricks managed server — pick the tab for the one you're setting up.

Runs Unity Catalog functions as MCP tools — a whole schema, or a single function.

FieldValue
URLhttps://<workspace-hostname>/api/2.0/mcp/functions/{catalog}/{schema} (append /{function_name} for one function)
Scopeunity-catalog
AccessRead and execute, bounded by EXECUTE on the catalog, schema, or function

Add to MintMCP

  1. In MCP store → Manage store → Recommended servers, search Databricks and Install the Databricks Functions connector.
  2. In Server URL, paste the URL above.
  3. Under Authorization Method, choose your auth and finish:
  • Select OAuth (detected from server).
  • Open OAuth Client Advanced Settings and paste your App Connection's Client ID and Client Secret.
  • Set Connection type to Per-user credentials.
  • Click Install.

Other endpoints: expose the system Python interpreter (https://<workspace-hostname>/api/2.0/mcp/functions/system/ai) or a single-function URL outside the catalog/schema pattern through + Add an MCP to your registry → Connect to an MCP by URL — the auth choices work the same way.

Security considerations

  • Per-user EXECUTE with OAuth + per-user credentials — each user's Unity Catalog grants apply.
  • Prefer OAuth — a PAT inherits every workspace permission its owner has.
  • Public preview — no production SLA yet; allowlist MintMCP's outbound IPs if the workspace restricts inbound. Unity AI Gateway (April 2026) adds Databricks-side governance to pair with MintMCP gateway logs.

Troubleshooting

  • redirect_uri_mismatch on OAuth install — the App Connection's redirect URL must be exactly https://app.mintmcp.com/oauth/callback.
  • 401 Unauthorized with a PAT — the token expired or was revoked, so regenerate it in Databricks and update the connector.
  • Empty tool list after install — the connected identity lacks the permission the connector needs: EXECUTE on the catalog or schema (Functions), Genie space membership and dataset permissions (Genie), warehouse and table access (SQL), or read on the index (AI Search).
  • vector-search scope rejected — the account admin disabled legacy scopes, so switch the App Connection to ai-search.

Next steps