Repository navigation
[databricks-genie-one] Update setup form copy - #827
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Form URL copy breaks connection
- The setup form and changelog now ask for a bare workspace hostname, matching the literal https://${DATABRICKS_HOST} substitution that has no hostname extraction.
Or push these changes by commenting:
@cursor push 46b3f6bb57
Preview (46b3f6bb57)
diff --git a/third_party/databricks-genie-one/.cursor-plugin/plugin.json b/third_party/databricks-genie-one/.cursor-plugin/plugin.json
--- a/third_party/databricks-genie-one/.cursor-plugin/plugin.json
+++ b/third_party/databricks-genie-one/.cursor-plugin/plugin.json
@@ -41,10 +41,10 @@
"properties": {
"DATABRICKS_HOST": {
"type": "string",
- "title": "Workspace URL",
- "description": "Your workspace URL or Genie MCP URL. Only the hostname is kept.",
+ "title": "Workspace hostname",
+ "description": "Bare workspace hostname. Leave out https://, any path, and any port.",
"examples": [
- "https://dbc-a1b2c3d4-e5f6.cloud.databricks.com"
+ "dbc-a1b2c3d4-e5f6.cloud.databricks.com"
]
},
"CLIENT_ID": {
diff --git a/third_party/databricks-genie-one/CHANGELOG.md b/third_party/databricks-genie-one/CHANGELOG.md
--- a/third_party/databricks-genie-one/CHANGELOG.md
+++ b/third_party/databricks-genie-one/CHANGELOG.md
@@ -4,7 +4,7 @@
## 1.0.2 — setup form copy
-- Plugin variables: `DATABRICKS_HOST` is now titled "Workspace URL" and accepts a workspace URL or Genie MCP URL (only the hostname is kept). Added placeholder examples for `DATABRICKS_HOST`, `CLIENT_ID`, and `CLIENT_SECRET`. Variable keys, types, and required fields are unchanged; `CLIENT_SECRET` stays optional for public clients.
+- Plugin variables: `DATABRICKS_HOST` is titled "Workspace hostname" and takes only the bare hostname (leave out `https://`, any path, and any port). Added placeholder examples for `DATABRICKS_HOST`, `CLIENT_ID`, and `CLIENT_SECRET`. Variable keys, types, and required fields are unchanged; `CLIENT_SECRET` stays optional for public clients.
## 1.0.1 — Genie iconYou can send follow-ups to the cloud agent here.
Reviewed by Cursor Bugbot for commit e27dafe. Configure here.
| "description": "Your workspace URL or Genie MCP URL. Only the hostname is kept.", | ||
| "examples": [ | ||
| "https://dbc-a1b2c3d4-e5f6.cloud.databricks.com" | ||
| ] |
There was a problem hiding this comment.
Form URL copy breaks connection
High Severity · Logic Bug
The setup form now titles DATABRICKS_HOST as Workspace URL, claims a workspace or Genie MCP URL is accepted and only the hostname is kept, and shows an https:// example. That value is still substituted verbatim into https://${DATABRICKS_HOST}/... with no hostname extraction, so following the form produces a malformed MCP URL and the plugin cannot connect.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit e27dafe. Configure here.



Updates the setup form copy for the Databricks Genie One plugin variables.
Changes
DATABRICKS_HOST: title is now "Workspace URL", with the description "Your workspace URL or Genie MCP URL. Only the hostname is kept." and the examplehttps://dbc-a1b2c3d4-e5f6.cloud.databricks.com. The old "Workspace hostname" wording is gone from the manifest.CLIENT_ID: added the example "Paste from your Databricks OAuth app".CLIENT_SECRET: added the example "Leave blank for a public client".Notes
DATABRICKS_HOST,CLIENT_ID, andCLIENT_SECRET, becausemcp.jsonreads${DATABRICKS_HOST},${CLIENT_ID}, and${CLIENT_SECRET}.type,required,additionalProperties,writeOnly, orformatvalues changed.CLIENT_SECRETstays out ofrequired, since Databricks app connections can be public clients.node scripts/validate-plugins.mjspasses.DATABRICKS_HOSTas a bare hostname withouthttps://. This PR leaves the README as is.Note
Low Risk
Manifest-only copy and version bump; MCP wiring and schema constraints are unchanged.
Overview
Bumps the Databricks Genie One plugin to 1.0.2 and refreshes only the setup-form labels and placeholders in
plugin.json—no changes to variable keys, types, or required fields.DATABRICKS_HOSTis now labeled Workspace URL, with copy that users can paste a full workspace or Genie MCP URL (hostname is retained). Examples were added for all three fields (DATABRICKS_HOST,CLIENT_ID,CLIENT_SECRET) to guide OAuth setup, including noting thatCLIENT_SECRETcan stay blank for public clients. CHANGELOG documents the release.Reviewed by Cursor Bugbot for commit e27dafe. Bugbot is set up for automated code reviews on this repo. Configure here.