databricks-mcp-server-local
v0.1.2Model Context Protocol server for Databricks (local development)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
run_notebook Run Notebook
Execute a notebook with optional parameters.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
parameters | string | |
timeout_seconds | integer |
list_notebooks List Notebooks
List notebooks in the workspace.
| Parameter | Type | Description |
|---|---|---|
path | string | |
recursive | boolean |
get_notebook Get Notebook
Get notebook content and metadata.
| Parameter | Type | Description |
|---|---|---|
path * | string |
create_notebook Create Notebook
Create a new notebook.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
path * | string | |
language | string |
delete_notebook Delete Notebook
Delete a notebook.
| Parameter | Type | Description |
|---|---|---|
path * | string |
list_clusters List Clusters
List all clusters in the workspace.
get_cluster Get Cluster
Get detailed information about a specific cluster.
| Parameter | Type | Description |
|---|---|---|
cluster_id * | string |
create_cluster Create Cluster
Create a new cluster.
| Parameter | Type | Description |
|---|---|---|
cluster_name * | string | |
node_type_id * | string | |
spark_version * | string | |
autotermination_minutes | integer | |
driver_node_type_id | string | |
num_workers | integer |
start_cluster Start Cluster
Start a cluster.
| Parameter | Type | Description |
|---|---|---|
cluster_id * | string |
stop_cluster Stop Cluster
Stop/terminate a cluster.
| Parameter | Type | Description |
|---|---|---|
cluster_id * | string |
restart_cluster Restart Cluster
Restart a cluster.
| Parameter | Type | Description |
|---|---|---|
cluster_id * | string |
list_jobs List Jobs
List all jobs in the workspace.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
get_job Get Job
Get detailed information about a specific job.
| Parameter | Type | Description |
|---|---|---|
job_id * | integer |
create_job Create Job
Create a new job.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
cluster_id | string | |
node_type_id | string | |
notebook_path | string | |
parameters | string | |
spark_version | string | |
timeout_seconds | integer |
run_job Run Job
Trigger a job run.
| Parameter | Type | Description |
|---|---|---|
job_id * | integer | |
parameters | string |
get_job_run Get Job Run
Get status and details of a job run.
| Parameter | Type | Description |
|---|---|---|
run_id * | integer |
delete_job Delete Job
Delete a job.
| Parameter | Type | Description |
|---|---|---|
job_id * | integer |
list_sql_warehouses List Sql Warehouses
List all SQL warehouses in the workspace.
execute_sql Execute Sql
Execute a SQL query on a SQL warehouse.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
warehouse_id * | string |
get_query_history Get Query History
Get query execution history.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
warehouse_id | string |
create_query Create Query
Create a saved query.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
query * | string | |
warehouse_id * | string | |
description | string |
get_query Get Query
Get details of a saved query.
| Parameter | Type | Description |
|---|---|---|
query_id * | string |
list_workspace List Workspace
List workspace files and objects.
| Parameter | Type | Description |
|---|---|---|
path | string | |
recursive | boolean |
read_file Read File
Read workspace file content.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
format | string |
create_file Create File
Create a workspace file. Use content_encoding=base64 when cloning from read_file.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
path * | string | |
content_encoding | string | |
format | string | |
language | string | |
overwrite | boolean |
clone_file Clone File
Clone a workspace file or notebook to a new path. Uses DBC format by default to preserve notebook parameters/widgets. Performs read and write on the server side to avoid size limits.
| Parameter | Type | Description |
|---|---|---|
source_path * | string | |
target_path * | string | |
create_parent_dir | boolean | |
format | string | |
overwrite | boolean |
update_notebook_parameters Update Notebook Parameters
Update notebook widget/parameter default values. parameters: JSON object mapping param names to values, e.g. {"Statsig_Experiment_Name": "exp_123", "Date_Range_0_Start_Date": "2024-01-01"}.
| Parameter | Type | Description |
|---|---|---|
parameters * | string | |
path * | string |
mkdirs Mkdirs
Create a directory (and parent directories if needed).
| Parameter | Type | Description |
|---|---|---|
path * | string |
delete_file Delete File
Delete a workspace file or directory.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
recursive | boolean |
list_repos List Repos
List Git repositories in the workspace.