Skip to content

[FEATURE]: Support Conditional Installation and Dynamic Tool Publishment #18

@ognis1205

Description

@ognis1205

Is there an existing issue for this?

  • I have searched the existing issues

Problem statement

The current implementation of Unity Catalog MCP assumes execution in a Databricks-managed environment.
As a result, even when using OSS Unity Catalog, users are required to install databricks-sdk, which is unnecessary and causes failures during workspace client instantiation. This creates friction for OSS users and limits broader adoption of the MCP tool.

Proposed Solution

Introduce conditional installation for environment-specific dependencies. Modify the MCP server to dynamically adjust the list of published tools based on the installed packages (e.g., whether Databricks-specific clients are available). This way, the tool can work smoothly in both Databricks-managed and OSS environments without forcing unnecessary dependencies.

Additional Context

I would like to take on this issue myself if the proposal makes sense. If this makes sense, I’ll start working on this issue before #13.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions