databricks-mcp-server-local

v0.1.2
databricks-mcp-server-local Checked 1 day ago Published 9 months ago

Model 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.

ParameterTypeDescription
path *string
parametersstring
timeout_secondsinteger

list_notebooks List Notebooks

List notebooks in the workspace.

ParameterTypeDescription
pathstring
recursiveboolean

get_notebook Get Notebook

Get notebook content and metadata.

ParameterTypeDescription
path *string

create_notebook Create Notebook

Create a new notebook.

ParameterTypeDescription
content *string
path *string
languagestring

delete_notebook Delete Notebook

Delete a notebook.

ParameterTypeDescription
path *string

list_clusters List Clusters

List all clusters in the workspace.

get_cluster Get Cluster

Get detailed information about a specific cluster.

ParameterTypeDescription
cluster_id *string

create_cluster Create Cluster

Create a new cluster.

ParameterTypeDescription
cluster_name *string
node_type_id *string
spark_version *string
autotermination_minutesinteger
driver_node_type_idstring
num_workersinteger

start_cluster Start Cluster

Start a cluster.

ParameterTypeDescription
cluster_id *string

stop_cluster Stop Cluster

Stop/terminate a cluster.

ParameterTypeDescription
cluster_id *string

restart_cluster Restart Cluster

Restart a cluster.

ParameterTypeDescription
cluster_id *string

list_jobs List Jobs

List all jobs in the workspace.

ParameterTypeDescription
limitinteger

get_job Get Job

Get detailed information about a specific job.

ParameterTypeDescription
job_id *integer

create_job Create Job

Create a new job.

ParameterTypeDescription
name *string
cluster_idstring
node_type_idstring
notebook_pathstring
parametersstring
spark_versionstring
timeout_secondsinteger

run_job Run Job

Trigger a job run.

ParameterTypeDescription
job_id *integer
parametersstring

get_job_run Get Job Run

Get status and details of a job run.

ParameterTypeDescription
run_id *integer

delete_job Delete Job

Delete a job.

ParameterTypeDescription
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.

ParameterTypeDescription
query *string
warehouse_id *string

get_query_history Get Query History

Get query execution history.

ParameterTypeDescription
limitinteger
warehouse_idstring

create_query Create Query

Create a saved query.

ParameterTypeDescription
name *string
query *string
warehouse_id *string
descriptionstring

get_query Get Query

Get details of a saved query.

ParameterTypeDescription
query_id *string

list_workspace List Workspace

List workspace files and objects.

ParameterTypeDescription
pathstring
recursiveboolean

read_file Read File

Read workspace file content.

ParameterTypeDescription
path *string
formatstring

create_file Create File

Create a workspace file. Use content_encoding=base64 when cloning from read_file.

ParameterTypeDescription
content *string
path *string
content_encodingstring
formatstring
languagestring
overwriteboolean

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.

ParameterTypeDescription
source_path *string
target_path *string
create_parent_dirboolean
formatstring
overwriteboolean

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"}.

ParameterTypeDescription
parameters *string
path *string

mkdirs Mkdirs

Create a directory (and parent directories if needed).

ParameterTypeDescription
path *string

delete_file Delete File

Delete a workspace file or directory.

ParameterTypeDescription
path *string
recursiveboolean

list_repos List Repos

List Git repositories in the workspace.