cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Generative AI
Explore discussions on generative artificial intelligence techniques and applications within the Databricks Community. Share ideas, challenges, and breakthroughs in this cutting-edge field.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Running Into Erroneous "Databricks Connected" Messages with Claude Desktop

kcailabs
New Contributor

When I try to connect Databricks via the connector that is now available within Claude Desktop to a genie space I have available (which is just the default test one), Databricks appears to say that it connects successfully, but it never actually works. Has anyone else run into this problem? I am on the trial version of Databricks and I am wondering if that is the problem.

kcailabs_1-1763354494688.png

 

kcailabs_0-1763354486166.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

Louis_Frolio
Databricks Employee
Databricks Employee

Greetings @kcailabs ,

Thanks for sharing the screenshotsโ€”this helps. From what I can see, Claude shows a โ€œSuccessfully connected to Databricksโ€ toast while the Databricks connector still displays โ€œDisconnected,โ€ and the Server URL entered is just a path โ€œ/2.0/mcp/genie/,โ€ which wonโ€™t work as a standalone URL.

Whatโ€™s likely going wrong

  • The Server URL must be a full HTTPS endpoint to the Databricks managed MCP Genie server, not just the path. The required format is: https://<your-workspace-hostname>/api/2.0/mcp/genie/{genie_space_id}.

  • For Claude Connectors using OAuth, you need a Databricks OAuth App Connection configured for Claude, including the redirect URL and scopes. Use redirect URL  https://claude.ai/api/mcp/auth_callback and scope all-apis; Claude supports public clients (no client secret).

  • Ensure youโ€™re minting workspace-scoped OAuth tokens (against your workspace host) rather than account-scoped tokens; account-scoped tokens will be rejected by the managed MCP endpoints and can cause opaque 401/connection failures.

  • The managed MCP feature set (including Genie MCP) is Beta and must be enabled in the workspace. If this preview isnโ€™t enabled in your environment, connections will not succeed even if the OAuth flow completes.

     

Step-by-step checklist to get it working

  • Find your full Genie MCP URL:

    • In your Databricks workspace, go to Agents โ†’ MCP Servers to copy the Genie entry for your space (it will include the {genie_space_id}).
  • Correct the Server URL in Claude:

  • Configure the OAuth App Connection for Claude (Databricks Account Console):

  • In Claudeโ€™s Databricks connector dialog:

    • Enter the full Server URL (above) and your OAuth Client ID. If you created a public client, leave the secret blank; a confidential client requires a secret.
  • Verify token scope:

    • If you previously used account-level endpoints, reconfigure to mint workspace-level tokens (hosted at your workspace) before retrying.
  • Confirm preview access:

    • Check that your workspace has the โ€œManaged MCP Serversโ€ preview enabled; otherwise the managed Genie MCP endpoints wonโ€™t be accessible.

If youโ€™re on a trial and OAuth/App Connections arenโ€™t available

If the App Connection/OAuth flow isnโ€™t available to you, you can still use Claude Desktop with a PAT via mcp-remote. Add a server entry that uses your full Genie MCP URL and a PAT, then restart Claude Desktop.

 

{
  "mcpServers": {
    "databricks-genie-mcp": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://<your-workspace-hostname>/api/2.0/mcp/genie/<genie_space_id>",
        "--header",
        "Authorization: Bearer <YOUR_PAT>"
      ]
    }
  }
}
json
 

Quick sanity tests

  • Try MCP Inspector with your Genie MCP URL to confirm OAuth config is correct; it walks through the flow and helps isolate auth vs. client issues.

  • If you still see โ€œConnectedโ€ but no tools usable in Claude, itโ€™s usually a URL/auth mismatch (path-only URLs, account-scoped tokens, or missing preview) rather than a general outage.

    3 sources

     

Hope this helps, Louis.

View solution in original post

1 REPLY 1

Louis_Frolio
Databricks Employee
Databricks Employee

Greetings @kcailabs ,

Thanks for sharing the screenshotsโ€”this helps. From what I can see, Claude shows a โ€œSuccessfully connected to Databricksโ€ toast while the Databricks connector still displays โ€œDisconnected,โ€ and the Server URL entered is just a path โ€œ/2.0/mcp/genie/,โ€ which wonโ€™t work as a standalone URL.

Whatโ€™s likely going wrong

  • The Server URL must be a full HTTPS endpoint to the Databricks managed MCP Genie server, not just the path. The required format is: https://<your-workspace-hostname>/api/2.0/mcp/genie/{genie_space_id}.

  • For Claude Connectors using OAuth, you need a Databricks OAuth App Connection configured for Claude, including the redirect URL and scopes. Use redirect URL  https://claude.ai/api/mcp/auth_callback and scope all-apis; Claude supports public clients (no client secret).

  • Ensure youโ€™re minting workspace-scoped OAuth tokens (against your workspace host) rather than account-scoped tokens; account-scoped tokens will be rejected by the managed MCP endpoints and can cause opaque 401/connection failures.

  • The managed MCP feature set (including Genie MCP) is Beta and must be enabled in the workspace. If this preview isnโ€™t enabled in your environment, connections will not succeed even if the OAuth flow completes.

     

Step-by-step checklist to get it working

  • Find your full Genie MCP URL:

    • In your Databricks workspace, go to Agents โ†’ MCP Servers to copy the Genie entry for your space (it will include the {genie_space_id}).
  • Correct the Server URL in Claude:

  • Configure the OAuth App Connection for Claude (Databricks Account Console):

  • In Claudeโ€™s Databricks connector dialog:

    • Enter the full Server URL (above) and your OAuth Client ID. If you created a public client, leave the secret blank; a confidential client requires a secret.
  • Verify token scope:

    • If you previously used account-level endpoints, reconfigure to mint workspace-level tokens (hosted at your workspace) before retrying.
  • Confirm preview access:

    • Check that your workspace has the โ€œManaged MCP Serversโ€ preview enabled; otherwise the managed Genie MCP endpoints wonโ€™t be accessible.

If youโ€™re on a trial and OAuth/App Connections arenโ€™t available

If the App Connection/OAuth flow isnโ€™t available to you, you can still use Claude Desktop with a PAT via mcp-remote. Add a server entry that uses your full Genie MCP URL and a PAT, then restart Claude Desktop.

 

{
  "mcpServers": {
    "databricks-genie-mcp": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://<your-workspace-hostname>/api/2.0/mcp/genie/<genie_space_id>",
        "--header",
        "Authorization: Bearer <YOUR_PAT>"
      ]
    }
  }
}
json
 

Quick sanity tests

  • Try MCP Inspector with your Genie MCP URL to confirm OAuth config is correct; it walks through the flow and helps isolate auth vs. client issues.

  • If you still see โ€œConnectedโ€ but no tools usable in Claude, itโ€™s usually a URL/auth mismatch (path-only URLs, account-scoped tokens, or missing preview) rather than a general outage.

    3 sources

     

Hope this helps, Louis.