Skip to content

[BUG]: MCP server crashes when deployed to Databricks app #34

@Ritaja

Description

@Ritaja

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions