Connect your OpenMetadata instance to Databricks by registering it as an MCP Service in Unity Catalog. Once registered, Databricks agents and AI assistants (including Databricks Assistant and Mosaic AI Agent Framework agents) can discover and call OpenMetadata’s MCP tools as a governed, auditable Unity Catalog resource.Unlike client-side integrations such as Claude or Cursor, Databricks doesn’t connect directly to the OpenMetadata MCP endpoint from a local config file. Instead, an admin registers the server once as a Unity Catalog securable, and Databricks proxies and governs every call through its Unity AI Gateway.
To create a Unity Catalog HTTP connection in Databricks, follow these steps:
Navigate to Catalog > Connections.
Click Create connection.
Set Connection type to HTTP.
Set Host / MCP server URL to https://<YOUR-OpenMetadata-SERVER>/mcp.
Set Authentication to Bearer token, and paste your OpenMetadata Personal Access Token.
Enable the Is MCP connection checkbox so Databricks treats the endpoint as an MCP server rather than a generic HTTP API.
Click Create to save the connection.
For per-user OAuth authentication, select Dynamic Client Registration. Set the host to https://<YOUR-OPENMETADATA-SERVER> and the base path to /mcp. Databricks discovers /.well-known/oauth-authorization-server and registers its client at /mcp/register.If your policy requires OAuth U2M instead, register a confidential client and allowlist https://<YOUR-DATABRICKS-WORKSPACE>/login/oauth/http.html:
The client_id and client_secret returned when you register the client.
The scopes listed in /.well-known/oauth-authorization-server.
https://<YOUR-OPENMETADATA-SERVER>/mcp/authorize as the authorization endpoint and https://<YOUR-OPENMETADATA-SERVER>/mcp/token as the token endpoint.
header_and_body as the credential exchange method.
OpenMetadata supports only the authorization_code and refresh_token grants, so don’t select OAuth M2M or client_credentials. For a shared, non-interactive credential, use a Personal Access Token instead. For more information, see OAuth 2.0 Authentication.If you selected Dynamic Client Registration or OAuth U2M, each user must authenticate individually before they can call the service:
Open the connection’s detail page in Catalog Explorer.
Click Login.
Complete the OAuth consent flow against your OpenMetadata instance.
Bearer token skips this step: it uses a single shared credential set once, at connection creation, so no per-user login is required.
To register the MCP service in Databricks, follow these steps:
In the left sidebar, select AI Gateway > MCPs > Register MCP Server.Alternatively, go to Catalog, open the target schema, and select Create > MCP Service, which opens the same form.
Set Catalog and Schema to where the MCP Service will live as a Unity Catalog securable.
Set MCP Service name, for example openmetadata (this can’t be changed after creation).
Set Connection to the HTTP connection you created in Step 1.
Optional: Set Tools to the OpenMetadata MCP tools you want to expose. Leave unrestricted to expose all of them. See the MCP Tools Reference for the full list.
Grant EXECUTE on the MCP Service itself. Never grant USE CONNECTION on the underlying HTTP connection to end users. That would let them bypass tool selection and call the OpenMetadata MCP endpoint directly with the shared credential.
Mosaic AI Agent Framework agents can add it as a tool source directly. To verify the connection manually, authenticate with a Databricks token and list the available tools:
You should see OpenMetadata’s MCP tools (search_metadata, get_entity_details, and others) in the response. See the MCP Tools Reference for the complete list.