Skip to content

Commit ebf72cf

Browse files
committed
improv docs
1 parent 213951e commit ebf72cf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,21 @@ If you are a developer iterating on the server implementation, you can repeat st
120120

121121
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.
122122

123+
After the app is deployed, you can connect to it using the `Streamable HTTP` transport in your MCP client, such as Claude Desktop or MCP inspector.
124+
To do this, you need to set the transport URL to the URL of your app, which should look like this:
125+
```
126+
https://your-app-url.usually.ends.with.databricksapps.com/api/mcp/
127+
```
128+
129+
Please note that the URL should end with `/api/mcp/` (including the trailing slash), as this is required for the server to work correctly.
130+
To connect to the app, you also need to set the `Authorization` header to `Bearer <your_token>`, where `<your_token>` is the token you can get by running the following command:
131+
132+
```bash
133+
databricks auth token -p your-profile-name
134+
```
135+
136+
Please note that app service principal should be entitled with necessary permissions to access the Unity Catalog schema and Genie spaces. You can do this by assigning the appropriate permissions to the service principal in Unity Catalog and Genie.
137+
123138
## Support
124139
Please note that all projects in the `databrickslabs` GitHub organization are provided for your exploration only, and are not formally supported by Databricks with Service Level Agreements (SLAs). They are provided AS-IS and we do not make any guarantees of any kind. Please do not submit a support ticket relating to any issues arising from the use of these projects.
125140

0 commit comments

Comments
 (0)