Skip to content

add non-interactive ucode configure mcp --location#172

Merged
rohita5l merged 2 commits into
mainfrom
asujithan/load-all-mcps
Jun 24, 2026
Merged

add non-interactive ucode configure mcp --location#172
rohita5l merged 2 commits into
mainfrom
asujithan/load-all-mcps

Conversation

@asujithan

@asujithan asujithan commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Changes

Adds ucode configure mcp --location . for non-interactive bootstrap. The flag replaces registered MCPs with exactly the mcp-services discovered under the given UC schema — e.g. --location system.ai enables the curated system.ai.* set without the picker. The default (no flag) interactive flow is unchanged.

Implementation parameterizes databricks.list_mcp_services with a parent argument and tightens its contract so reason=None cleanly means "the call succeeded" (rather than carrying a string sentinel). mcp.configure_mcp_command branches on --location into a dedicated path that validates the schema and raises clear errors for HTTP 404 (invalid location) or other listing failures.

Test Plan

  • uv run ruff check . clean
  • uv run ruff format src/ tests/
  • 2 added e2e tests

@asujithan asujithan requested a review from rohita5l June 24, 2026 01:48
@rohita5l rohita5l merged commit 526ed6b into main Jun 24, 2026
2 checks passed
@rohita5l rohita5l deleted the asujithan/load-all-mcps branch June 24, 2026 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants