Skip to content

knowledge_base: add mcp_and_model_services example - #195

Open
andresgarciaf wants to merge 2 commits into
databricks:mainfrom
andresgarciaf:trio/kb-19-mcp-model-services
Open

andresgarciaf wants to merge 2 commits into
databricks:mainfrom
andresgarciaf:trio/kb-19-mcp-model-services

Conversation

@andresgarciaf

Copy link
Copy Markdown

Summary

  • AI Gateway model service that routes chat requests to a Databricks pay-per-token foundation model.
  • Anthropic model provider service with relayed authentication, so no provider key is stored.
  • MCP service that exposes the tools of an external MCP server through a schema-level Unity Catalog connection.

Testing

Command Result
databricks bundle validate OK
databricks bundle deploy Success (4 created)
Model provider service deploy Success
Query model service (/ai-gateway/mlflow/v1/chat/completions) Success
MCP tools/list (/ai-gateway/mcp-services/...) Success (3 tools)
databricks bundle deploy (second run) Success (0 changed)
databricks bundle destroy Success (4 deleted)

Notes

  • Bundle support for AI Gateway services is in Beta.

andresgarciaf and others added 2 commits October 22, 2026 14:43
Add a bundle that defines an AI Gateway model service routed to a
Databricks pay-per-token foundation model and an MCP service backed by a
schema-level Unity Catalog connection, both in a bundle-managed schema.

Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: omnigent <noreply@omnigent.ai>
Make catalog and the foundation model required variables, use a literal
dev segment in root_path, and add an Anthropic model provider service
with relayed authentication so no provider key is stored. The README MCP
step now derives the host and token from the CLI.

Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: omnigent <noreply@omnigent.ai>
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.

1 participant