Add direct-mode bundle support for AI Gateway mcp_service - #6633
Open
alex-khakhlyuk wants to merge 2 commits into
Open
Add direct-mode bundle support for AI Gateway mcp_service#6633alex-khakhlyuk wants to merge 2 commits into
alex-khakhlyuk wants to merge 2 commits into
Conversation
Second of a stacked split of #6410 (databricks/cli), stacked on the model_service PR. Adds the direct-engine bundle resource for the AI Gateway MCP service securable (mcp_services): config/resource + dresources CRUD, testserver, acceptance (basic + remote-delete + bind) and an invariant config, plus registration and regenerated schema. All SDK struct literals set every field to satisfy exhaustruct; mcp_services added to the TF-lifecycle ignore list and the statemgmt full-resource-coverage fixtures. Direct engine only. Co-authored-by: Isaac <no-reply@databricks.com>
alex-khakhlyuk
force-pushed
the
aigov-dabs-mcp-service
branch
from
September 11, 2026 13:29
88d488b to
c7cd499
Compare
Contributor
Approval status: pending
|
Collaborator
Integration test reportCommit: 0a2dc6f
Top 2 slowest tests (at least 2 minutes):
|
Adds a Cloud=true lifecycle test for mcp_services, matching model_services and model_provider_services. An MCP service must point at a pre-existing UC connection hosting the MCP server (config.source_connection), and there is no bundle `connections` resource to deploy it as a dependency, so the script creates a bearer-auth connection out-of-band on cloud (guarded by CLOUD_ENV) and tears it down via trap. Bearer auth with a placeholder host avoids the OAuth/DCR reachability probe the backend runs at create time for MCP connections. The mock testserver doesn't validate source_connection, so the connection is only created on the real-workspace run. basic and remote-delete opt out with Cloud=false (they inspect the recorded request stream / use a fixed out-of-band delete that can't run on cloud). Co-authored-by: Isaac <no-reply@databricks.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second of a stacked split of #6410 (databricks/cli), stacked on the model_service PR. Adds the direct-engine bundle resource for the AI Gateway MCP service securable (mcp_services): config/resource + dresources CRUD, testserver, acceptance (basic + remote-delete + bind) and an invariant config, plus registration and regenerated schema. All SDK struct literals set every field to satisfy exhaustruct; mcp_services added to the TF-lifecycle ignore list and the statemgmt full-resource-coverage fixtures. Direct engine only.
Changes
Why
Tests