[BUG]: MCP server crashes when deployed to Databricks app
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 28/100
Direzione di ricerca
The crash comes from parsing the GENIE_SPACE_IDS environment variable as a list in the settings loaded by databricks.labs.mcp.servers.unity_catalog.app:app. Start by finding where that settings class reads env vars, then reproduce by setting GENIE_SPACE_IDS to the escaped value from the app.yml shown in the issue and loading the settings locally. Done when the value parses into a list, or the escaping problem is clearly fixed in the bundle config. Deploying to Databricks is needed only for a final check.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I am trying to follow the tutorial in the readme and deploy MCP server. I am using windows PowerShell.
I am building and deploying app using the following commands:
$Env:BUNDLE_VAR_schema_full_name="retail.default" ; $Env:BUNDLE_VAR_genie_space_ids = '[\"<id>\"]'
> databricks bundle deploy
$Env:BUNDLE_VAR_schema_full_name="retail.default" ; $Env:BUNDLE_VAR_genie_space_ids = '[\"<id>\"]'
> databricks bundle run mcp-on-apps
The app deploys and crashes with error:
REDACTED_JWT: error parsing value for field "genie_space_ids" from source "EnvSettingsSource"
I checked the deployed app.yml (in Source:/Workspace/Users//.bundle/mcp-on-apps/dev/files/.build)contains:
command:
- uvicorn
- databricks.labs.mcp.servers.unity_catalog.app:app
env:
- name: SCHEMA_FULL_NAME
value: retail.default
- name: GENIE_SPACE_IDS
value: '[\"01f03b71f9d81af09c6ae3911a46cc34\"]'
Operating System
windows
- Lingua principale
- Python
- Stelle
- 101
- Fork
- 47
- Merge medio
- 1m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di databrickslabs/mcp
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
databrickslabs/mcp#47 · 1 commento · 2 reazioni ·
-
[FEATURE]: Tools to get UC metadataForse già presa @zcking l’ha presa 462 giorni fa. Apertaenhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 20/100
databrickslabs/mcp#45 ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
databrickslabs/mcp#24 · 1 commento ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
databrickslabs/mcp#21 ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
databrickslabs/mcp#18 · 3 commenti ·
Tutte le issue di databrickslabs/mcp
Issue simili
-
SslLibrary crashes with unhandled OSError: port/proto not found on non-standard SSL portsForse già presa @himanchalkaushale l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
OWASP/Nettacker#1884 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
A-connection-core C-enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
aws-samples/sample-per-model-bedrock#869 ·
I maintainer di solito rispondono entro 1 giorno
-
Spec: say that included_antigen_sources gates LENS labels; do not merge it into antigen kindsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
fzn0x/watchtower#17 ·