Skip to content
Weavz
Menu
Databricks

Databricks MCP integration

Databricks workspace integration for SQL Statement Execution API 2.0, Jobs API 2.2, Unity Catalog API 2.1, and Workspace API 2.0.

Sign in, add Databricks in Apps, then choose the account your AI can use.

23 tools
2 triggers
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Get started with Databricks

  1. Add Databricks to your Weavz workspace and connect the account you want to use.
  2. Review the available tools below and enable the actions your task needs. Check the account permissions before allowing changes.
  3. Connect a compatible AI client to your workspace, or use the actions API from your application.

Tools

Name

Validate Connection

validate_connection

Validate credentials with a low-impact Databricks Workspace API 2.0 get-status request on the workspace root.

Execute SQL Statement

execute_sql_statement

Execute a Databricks SQL Statement Execution API 2.0 request against a SQL warehouse. SQL is read-only by default so agents do not mutate data unless explicitly allowed.

Get SQL Statement

get_sql_statement

Get status, manifest, and the first result chunk for a Databricks SQL Statement Execution API 2.0 statement.

Get SQL Result Chunk

get_sql_result_chunk

Fetch a specific result chunk from a completed Databricks SQL Statement Execution API 2.0 statement.

Cancel SQL Statement

cancel_sql_statement

Cancel a running Databricks SQL Statement Execution API 2.0 statement and poll get_sql_statement for the terminal state.

List Jobs

list_jobs

List Databricks Jobs API 2.2 jobs visible to the token, with pagination fields preserved for agents.

Get Job

get_job

Get a single Databricks Jobs API 2.2 job definition by job_id.

Run Job Now

run_job_now

Trigger an existing Databricks job with Jobs API 2.2 run-now and return the run_id. Requires explicit confirmation so agents do not start compute accidentally.

Cancel Job Run

cancel_job_run

Cancel a Databricks Jobs API 2.2 job run or task run. Requires explicit confirmation because cancellation changes run state.

List Job Runs

list_job_runs

List Databricks Jobs API 2.2 runs in descending start-time order for monitoring and pagination.

Get Job Run

get_job_run

Get Databricks Jobs API 2.2 run metadata for a job run or task run.

Get Job Run Output

get_job_run_output

Retrieve output and metadata for a single Databricks Jobs API 2.2 task run. Databricks returns only the first 5 MB of notebook output and logs.

List Catalogs

list_catalogs

List Unity Catalog catalogs using Databricks Unity Catalog API 2.1.

Get Catalog

get_catalog

Get one Unity Catalog catalog by name using Databricks Unity Catalog API 2.1.

List Schemas

list_schemas

List schemas under a Unity Catalog catalog using Databricks Unity Catalog API 2.1.

Get Schema

get_schema

Get a Unity Catalog schema by full name, for example main.default.

List Tables

list_tables

List tables and views under a Unity Catalog schema using Databricks Unity Catalog API 2.1.

Get Table

get_table

Get a Unity Catalog table or view by full name, for example main.default.orders.

List Table Summaries

list_table_summaries

List compact Unity Catalog table summaries using Databricks Unity Catalog API 2.1.

List Workspace Objects

list_workspace_objects

List notebooks, directories, repos, and files under a workspace path using Databricks Workspace API 2.0.

Get Workspace Object Status

get_workspace_object_status

Get metadata for one workspace object with Databricks Workspace API 2.0 get-status.

Export Workspace Object

export_workspace_object

Export a Databricks workspace notebook or file with Workspace API 2.0. Direct downloads are returned as base64 content.

Custom API Call

custom_api_call

Call a Databricks REST API path on the configured workspace. Only relative /api/... paths are allowed; auth and headers are fixed by the connection.

Triggers

Name

Job Run State Changed

job_run_state_changed

Triggers when a Databricks Jobs API run state changes.

Latest Job Run Finished

latest_job_run_finished

Triggers when a Databricks job has a newly completed run.

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('databricks', 'validate_connection', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'databricks',
  input: { /* ... */ },
})

Related Integrations

Explore integrations in other categories

Frequently Asked Questions

Is there a Databricks MCP server through Weavz?

Yes. Add the Databricks integration to a Weavz workspace, enable the actions you need and connect any required account. Weavz provides the workspace MCP endpoint in Tool Mode or Code Mode. The catalog currently lists 23 Databricks actions.

What can an AI agent do with Databricks?

Available actions include Validate Connection, Execute SQL Statement, Get SQL Statement, Get SQL Result Chunk, Cancel SQL Statement, and more. Your workspace exposes only the actions you enable. The agent also needs the intended account access and any required input values.

How do I connect Databricks to Claude or ChatGPT?

Use a compatible remote MCP client, add the Weavz connector and choose a workspace. Add Databricks, connect the required account and review the enabled actions. Client availability and account requirements vary; adding the connector does not authorize every app automatically.

Can I use Databricks through an API or SDK?

Yes, supported actions can run through the Weavz REST API, TypeScript SDK or Python SDK. Configure a workspace and the required connections, use scoped access, and pass the intended end-user context when acting for a customer.

What authentication does Databricks require?

The catalog lists custom credentials for Databricks. Use Hosted Connect to authorize the intended account. Required permissions, provider app access and available connection methods depend on the integration.

How do I review sensitive Databricks actions?

Limit enabled actions, scope credentials to the intended user and configure Human Gates for the operations that need review. A matching policy can pause a send, record change or other sensitive action for an approver before execution.

What limits or costs apply to Databricks?

Weavz plan limits apply to the actions and resources you use. The external provider may also require an account, a paid plan, API credits or specific permissions, and may enforce its own rate limits. Check current Weavz pricing and the provider’s terms before rollout.

What Databricks triggers are available?

The catalog lists 2 triggers, including Job Run State Changed, Latest Job Run Finished. Configure the trigger and your event handler before using incoming events to start work.

Connect Databricks in minutes

Get 20,000 free action executions every month. No credit card required.