Databricks connector - Writer AI Studio
Set up the Databricks connector
Configure the Databricks connector in AI Studio under Connectors & Tools. The Databricks connector uses OAuth to authenticate with Databricks-managed MCP servers.
The Databricks connector only supports organization-managed OAuth. WRITER-managed OAuth is not available for Databricks.
Obtain your Databricks MCP server URL
Before configuring the connector in AI Studio, locate your MCP server endpoint in your Databricks workspace:
- Log in to your Databricks workspace
- Navigate to AI/ML → Agents → MCP Servers
- Select the managed MCP server you want to connect (for example, SQL or Genie)
- Copy the MCP server endpoint URL for use in AI Studio The URL format depends on the type of MCP server:
| Server type | Example URL format |
|---|---|
| Vector search | https://<workspace-hostname>/api/2.0/mcp/vector-search/{catalog}/{schema} |
| DBSQL | https://<workspace-hostname>/api/2.0/mcp/sql |
| Genie space | https://<workspace-hostname>/api/2.0/mcp/genie/{genie_space_id} |
| Unity Catalog functions | https://<workspace-hostname>/api/2.0/mcp/functions/{catalog}/{schema} |
For more details about Databricks managed MCP servers and how to get the IDs for specific server types, see Databricks MCP documentation.
Create a Databricks OAuth application
Create an OAuth 2.0 application in Databricks:
Navigate to the Databricks Account Console
Select Settings in the left navigation
Select App connections
Select Add connection
Enter an application name (for example, “Writer MCP connector”)
Add the Writer redirect URI:
https://app.writer.com/mcp/oauth/callbackIf your organization is deployed in the EU, use
https://app.eu2.writer.com/mcp/oauth/callbackinstead.Select All APIs under Access Scopes
Ensure Generate a client secret is selected
Set the access token TTL (for example, 10 minutes) and refresh token TTL (for example, 129600 minutes or 90 days)
Select Create
Copy the client ID and client secret for use in AI Studio
For detailed instructions, see Databricks OAuth documentation.
Configure the connector in AI Studio
After creating your Databricks OAuth application:
- Navigate to Connectors & Tools in AI Studio
- Select the Databricks connector
- Select who has access by default (all users or specific teams)
- Enter your Databricks MCP server endpoint URL as the URL
- Enter your OAuth client ID and client secret
Next steps
- Set up connectors: Learn how to configure and enable connectors in AI Studio
- Tool calling guide: Understand how AI agents use tools in conversations
- WRITER Agent guide: Learn how to use WRITER Agent with connected tools
- MCP gateway overview: Learn about Writer’s MCP gateway architecture