You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Model Context Protocol server that exposes structured and unstructured data in Unity Catalog ([vector search indexes](https://docs.databricks.com/gcp/en/generative-ai/vector-search), [functions](https://docs.databricks.com/aws/en/generative-ai/agent-framework/create-custom-tool), and [Genie spaces](https://docs.databricks.com/aws/en/genie/)), as tools.
There are two ways to deploy the server on Databricks Apps: using the `databricks bundle` CLI or using the `databricks apps` CLI. Depending on your preference, you can choose either method.
94
+
95
+
96
+
#### Using `databricks bundle` CLI
97
+
98
+
To deploy the server using the `databricks bundle` CLI, follow these steps:
90
99
91
100
1. Set the env variables for the `schema_full_name` and `genie_space_ids` and run the `bundle deploy` command:
92
101
```bash
@@ -119,6 +128,34 @@ If you are a developer iterating on the server implementation, you can repeat st
119
128
120
129
Please note that both variables should be provided in both `deploy` and `run` commands. The `schema_full_name` variable is used to determine the schema to use for the server, while the `genie_space_ids` variable is used to determine which Genie spaces to use.
121
130
131
+
#### Using `databricks apps` CLI
132
+
133
+
To deploy the server using the `databricks apps` CLI, follow these steps:
134
+
1. Move into the project directory and build the wheel:
135
+
```bash
136
+
cd /path/to/this/repo
137
+
uv build --wheel
138
+
```
139
+
2. Configure the `app.yml` file in the root of the project directory. You can use the following example as a starting point:
0 commit comments