Enhance Add Server dialog with transport URL validation and OCI support#408
Open
lleon-at-navteca wants to merge 1 commit intoagentregistry-dev:mainfrom
Open
Conversation
# Description Updates the Add Server dialog to support `streamable-http` transport and enforces URL requirements for transports that require them. **What changed:** - **Validation for transport URLs** — The dialog now prevents submission if a URL is missing for `sse` or `streamable-http` transport types. - **OCI as default registry** — New packages now default to the `oci` registry type. - **Improved UI for Remotes** — Replaced the remote type text input with a dropdown for `stdio`, `sse`, and `streamable-http`. - **Full schema URL** — Updated the default schema to the canonical MCP server schema URL. - **Unit tests** — Added a comprehensive test suite for the `AddServerDialog` component to ensure validation and payload structure are correct. # Change Type /kind feature # Changelog ```release-note Improved Add Server dialog with transport URL validation, OCI registry defaults, and a new test suite. ```
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.
Description
Fixes the Add Server dialog so package transport validation behaves correctly for URL-based transports and improves default package configuration.
Resolves #405
What changed:
sseorstreamable-httpis selected without a required URL.ociregistry type.stdio,sse, andstreamable-http.oci,npm,pypi, anddocker, withociselected by default.streamable-http.Change Type
/kind fix
Changelog
Additional Notes
streamable-http.