- MCP server Recommended: Databricks maintains the tools.
- HTTP API: the workspace REST API, for when you want to choose exactly which operations agents can call.
- Your workspace hostname: the first part of the URL you sign in to Databricks at, such as
example.cloud.databricks.com. The workspace ID is the number aftero=in that URL. - A personal access token for a Databricks user with access to the data agents should query. Create one from your username in the top bar under Settings → Developer → Access tokens, with Generate new token.
- The Manage Nexus sources permission in incident.io.
Connect the MCP server
Databricks serves its managed MCP servers from your workspace. These steps connect Databricks SQL through Unity Gateway. Other servers, such as Genie spaces and Unity Catalog functions, connect the same way with their own URLs.- From Extensions, add a connector and choose MCP server.
- Leave network access as Public internet, and give the connector a display name such as
Databricks. - Enter
https://<workspace hostname>/ai-gateway/mcp-services/system.ai.dbsql?o=<workspace ID>as the server URL, and click Check URL. - Under Authentication, choose Bearer token and enter your personal access token.
- Review which tools are enabled and the connector’s default policy, then save.
Connect the HTTP API
Databricks doesn’t publish an OpenAPI document for its REST API, so write one that describes the endpoints agents should call, such as listing job runs.- From Extensions, add a connector and choose HTTP API.
- Paste your OpenAPI document.
- Enter
https://<workspace hostname>as the base URL. - Under authentication, choose Bearer token and enter your personal access token.
- Test the connection, review which operations are enabled and the connector’s default policy, then save.