cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to connect Claude connector to Databricks MCP server (Genie)

NikeshPurohit
New Contributor

Hello everyone,

I am trying to connect Claude’s Custom Connector (Remote MCP) to a Databricks Managed MCP Server using a Genie space, but I keep encountering an authentication connection error. I would appreciate guidance on whether this is a configuration issue or a platform limitation.

Environment details:

• Platform: Azure Databricks
• Region: East Asia
• Workspace URL: https://adb-7405618202298753.13.azuredatabricks.net
• MCP Server Type: Managed MCP Server (Genie Space)
• Genie Space ID: 01f11bbc4cc6126eaae20be0e9bdc9cc

MCP Server URL:

https://adb-7405618202298753.13.azuredatabricks.net/api/2.0/mcp/genie/01f11bbc4cc6126eaae20be0e9bdc9...

Steps I completed:

  1. Created an Azure Databricks workspace.

  2. Created a Genie space called "Sales and Customer Analytics".

  3. Assigned a Serverless SQL Warehouse.

  4. Verified the Genie space works correctly inside Databricks.

  5. Enabled the preview feature: Managed MCP Servers = ON.

  6. Verified the MCP server appears under:
    Workspace → Agents → MCP Servers.

  7. The MCP server status shows Active, and tools such as query_space and poll_response are available.

OAuth Setup:

I created an OAuth application in the Databricks Account Console:

Account Console → Settings → App Connections → Add connection

Configuration:

Application name: claude-mcp-client

Redirect URLs:
https://claude.ai/api/mcp/auth_callback
https://claude.com/api/mcp/auth_callback

Scopes:
All APIs

Client secret:
Not generated (public client)

Claude Connector Setup:

In Claude:
Settings → Connectors → Add custom connector

I pasted the MCP server URL above.

Error received:

"There was an error connecting to the MCP server. Please check your server URL and make sure your server handles auth correctly."

Additional testing:

Opening the MCP endpoint directly returns:

{
"error_code": 401,
"message": "Credential was not sent or was of an unsupported type for this API."
}

Which appears expected since authentication is required.

However, when I test the OAuth discovery endpoint:

https://adb-7405618202298753.13.azuredatabricks.net/.well-known/oauth-authorization-server

It returns:

HTTP 404

Questions:

  1. Does Databricks Managed MCP require the OAuth discovery endpoint for external MCP clients like Claude?

  2. Could this be related to my workspace region (East Asia)?

  3. Is there a different OAuth discovery endpoint for Azure Databricks MCP servers?

  4. Are additional workspace or account-level permissions required for OAuth authentication with MCP?

  5. Has anyone successfully connected Claude connectors to a Databricks MCP server in Azure?

Any guidance or troubleshooting suggestions would be greatly appreciated.

Thank you!

1 REPLY 1

emma_s
Databricks Employee
Databricks Employee

Hi, 

It's not what you're doing per se and its not region related. We use databricks MCP internally but only with Claude code not Claude.AI. The Databricks MCP doesn't currently support the standard auth that claude.AI expects. You can get it working but it needs to be  via claude code CLI you then use the Datarbricks CLI auth to authenticate you. I hope this helps.