Skip to main content
← Back to Articles
mcpdatabrickscursorideunity catalogsetup2026

Databricks MCP Server Cursor IDE Setup 2026: Managed MCP Endpoints

Connect Databricks managed MCP servers to Cursor IDE: Unity Catalog Functions, AI/Vector Search, and Genie endpoints, the /api/2.0/mcp/ URL pattern, OAuth scopes, and why the old community server is a different thing entirely.

By Web MCP GuideAugust 24, 202610 min read

Key Takeaways


  • Databricks ships managed MCP servers (Public Preview) directly from your workspace — there is no package to npx, no process to run locally, and no separate MCP server software to deploy.

  • There are three managed endpoint families, each scoped to a different Databricks capability: Unity Catalog Functions, AI/Vector Search, and Genie. They are separate URLs, not one universal endpoint.

  • Every managed endpoint follows the base pattern https://<workspace-hostname>/api/2.0/mcp/... — the exact path segment after /mcp/ depends on which of the three you're connecting to.

  • Auth is what Databricks documents as on-behalf-of-user authentication, scoped per server type (unity-catalog, ai-search, genie). In Cursor's mcp.json, that means a Databricks token in the Authorization header, not a token baked into a URL query string.

  • If you're following an older tutorial about a self-hosted Databricks MCP server run as a local process, that's a different, separate path (Databricks Apps or a custom-hosted server) — not the managed endpoints this guide covers.
  • Managed MCP vs. self-hosted MCP on Databricks

    Databricks documents two distinct ways an MCP server ends up connected to your workspace, and mixing them up is the most common setup mistake:

    Managed MCP servers (this guide)Self-hosted / custom MCP on Databricks
    Who runs itDatabricks, inside your workspaceYou, as a Databricks App, or any external host
    Endpoint shapehttps://<workspace-hostname>/api/2.0/mcp/{type}/...https://<app-url>/mcp (your own app URL)
    What it exposesUnity Catalog functions, AI/Vector Search indexes, Genie spacesWhatever your app implements
    Transport requirementDatabricks-managedMust implement an HTTP-compatible transport, such as Streamable HTTP, yourself
    Setup effortPoint Cursor at the URL, authorizeBuild and deploy an app first

    This guide is about the managed path — connecting Cursor directly to Unity Catalog, AI/Vector Search, or Genie without building anything.

    Prerequisites


  • A Databricks workspace with managed MCP servers available. This is a Public Preview feature as of the documentation current at the time of writing, so availability can vary by workspace and region — check your workspace's MCP settings before assuming it's there.

  • Unity Catalog enabled, since all three managed endpoint types are scoped by catalog and schema.

  • A Databricks personal access token (or OAuth token) for the account Cursor will authenticate as, with permission on the specific catalog, schema, function, index, or Genie space you want to expose.

  • Cursor IDE with support for HTTP-type remote MCP servers (a url entry in mcp.json, not just command/args).

  • Know which of the three managed server types you actually need — they are not interchangeable, and picking the wrong one is the second most common setup mistake after the auth token.
  • The three managed endpoint types

    Unity Catalog Functions MCP exposes SQL or Python functions registered in Unity Catalog as callable MCP tools. The endpoint pattern is:

    https://<workspace-hostname>/api/2.0/mcp/functions/<catalog>/<schema>/<function_name>
    

    Required scope: unity-catalog.

    AI/Vector Search MCP exposes a Databricks Vector Search index for semantic retrieval — the AI can search unstructured or embedded content instead of only running exact-match SQL. The endpoint pattern is:

    https://<workspace-hostname>/api/2.0/mcp/ai-search/<catalog>/<schema>/<index_name>
    

    Required scope: ai-search.

    Genie MCP connects to a Genie space — Databricks' natural-language-to-SQL feature grounded in a curated data model — so the AI can ask Genie questions instead of writing raw SQL against tables it doesn't fully understand. The endpoint pattern is:

    https://<workspace-hostname>/api/2.0/mcp/genie
    

    Required scope: genie. Unlike the other two, this endpoint isn't parameterized by catalog/schema/name in the path — it talks to whichever Genie space your token has access to.

    Treat the path patterns above as what Databricks documents today, not a value to copy without checking. Public Preview endpoints are the ones most likely to shift before general availability — confirm the exact URL for your workspace in the Databricks UI (workspace settings, or the catalog/schema/index page for the object you're exposing) before wiring it into Cursor.

    Step 1: Generate a Databricks token

    In your Databricks workspace: Settings → Developer → Access tokens, generate a personal access token scoped to an account that has the permissions you want the AI to have — not a broad workspace-admin identity. If your organization uses OAuth-based service principals instead of PATs, use that token in the same place below.

    Step 2: Add the endpoint to Cursor's mcp.json

    Pick the endpoint type you need. A Unity Catalog Functions example:

    {
      "mcpServers": {
        "databricks-uc": {
          "type": "http",
          "url": "https://your-workspace.cloud.databricks.com/api/2.0/mcp/functions/main/analytics/get_customer_summary",
          "headers": {
            "Authorization": "Bearer YOUR_DATABRICKS_TOKEN"
          }
        }
      }
    }
    

    A Genie example, since the URL doesn't need a catalog/schema/name suffix:

    {
      "mcpServers": {
        "databricks-genie": {
          "type": "http",
          "url": "https://your-workspace.cloud.databricks.com/api/2.0/mcp/genie",
          "headers": {
            "Authorization": "Bearer YOUR_DATABRICKS_TOKEN"
          }
        }
      }
    }
    

    You can run more than one Databricks entry side by side — a Unity Catalog Functions connection and a Genie connection are different mcpServers keys, each with its own URL and, if you want to scope them differently, its own token.

    Step 3: Restart Cursor and verify

    Restart Cursor completely, then check View → Output → MCP for a successful connection log line rather than an auth error. Test with a query matched to whichever endpoint you configured:

    List the Unity Catalog functions available through the databricks-uc MCP connection.
    

    Ask Genie: what were total orders by region last quarter?
    

    If the AI returns real function names or a real Genie answer rather than an error, the token's scope and the URL are both correct.

    Custom and third-party MCP servers on Databricks

    Two paths exist beyond the three managed endpoints, worth knowing even if you don't need them today:

  • Databricks Apps as a custom MCP host. If you build your own MCP server and deploy it as a Databricks App, it's reachable at https://<app-url>/mcp. Your app has to implement an HTTP-compatible transport itself — Databricks doesn't add that for you the way it does for the three managed types.

  • External MCP servers installed into Databricks. This is the reverse direction from what this guide covers — installing a third-party MCP server so Databricks agent tooling can call it, either via OAuth 2.0 Dynamic Client Registration for servers that support DCR, or via a Unity Catalog HTTP connection for self-hosted or third-party servers not listed in the Databricks Marketplace. This is about Databricks acting as an MCP client, not about Cursor connecting to Databricks — don't confuse the two when reading Databricks' docs.
  • Troubleshooting

    401 or 403 on connect. The token is missing, expired, or lacks the specific scope for the endpoint type (unity-catalog, ai-search, or genie). A 403 specifically usually means the token is valid but the account behind it lacks a grant on the catalog, schema, function, index, or Genie space in the URL — check object-level permissions in Unity Catalog, not just the token itself.

    404 on the /api/2.0/mcp/... path. Either managed MCP servers aren't enabled for your workspace yet (it's Public Preview — check workspace settings), or the path segment is wrong for the endpoint type. functions and ai-search both require a catalog/schema/name suffix; genie does not. Mixing those up produces a 404 that looks like a permissions problem but isn't.

    Function or index shows up but calling it errors. Confirm the function or Vector Search index actually exists and is deployed in the catalog/schema you pointed at — the MCP layer surfaces whatever Unity Catalog already has; it doesn't create anything.

    Genie answers are wrong or generic. Genie's answer quality depends entirely on how well the Genie space's underlying data model and sample queries are curated in Databricks. This isn't an MCP-layer problem — improve the Genie space itself in the Databricks UI, the same as you would if you were using Genie directly without MCP in the loop.

    Found a tutorial with a local npx-installed Databricks MCP server. That's describing a self-hosted or community setup, not the managed endpoints in this guide. Managed MCP servers run inside Databricks — there's nothing to install locally for the three types covered above.

    Frequently Asked Questions

    Q: Do I need to install or run anything locally to use Databricks MCP with Cursor?
    A: No, for the three managed endpoint types (Unity Catalog Functions, AI/Vector Search, Genie). They run inside your Databricks workspace and are reached over HTTP — your mcp.json entry just needs a URL and an Authorization header.

    Q: What's the difference between Unity Catalog Functions MCP and Genie MCP?
    A: Unity Catalog Functions exposes specific registered SQL or Python functions as individual callable tools — precise, but only covers what's explicitly registered. Genie is natural-language-to-SQL grounded in a curated data model, so the AI can ask broader business questions without you registering a function for every possible query.

    Q: Is this the same as the Databricks MCP server people mention running via a local package?
    A: No. Managed MCP servers run inside Databricks with no local process. A local, package-installed server is a different, self-hosted setup — check whether the tutorial you're reading is describing the managed endpoints or a custom deployment before following its steps.

    Q: Can I connect more than one Databricks endpoint type to Cursor at once?
    A: Yes. Unity Catalog Functions, AI/Vector Search, and Genie are separate URLs — add each as its own key under mcpServers in the same mcp.json, with its own token if you want to scope access differently per endpoint.

    Q: Is this feature stable enough for production use?
    A: Managed MCP servers are Public Preview as of the documentation current at the time of writing. Public Preview features can change, including endpoint paths, before general availability — check the current Databricks docs for your cloud (AWS, GCP, or Azure) before depending on the exact URL patterns in this guide for anything business-critical.

    Related Guides


  • Snowflake MCP Server: Cursor IDE Setup (2026)

  • BigQuery MCP Server: Cursor IDE Setup (2026)

  • MySQL MCP Server: Cursor IDE Setup (2026)

  • MCP Streamable HTTP Transport: Enterprise Guide

  • How to Authenticate MCP Servers: OAuth & API Keys

  • MCP Security Best Practices (2026)




  • Related guides