feat(oci): add support for Quay.io registry#1150
Open
mikelolasagasti wants to merge 1 commit intomodelcontextprotocol:mainfrom
Open
feat(oci): add support for Quay.io registry#1150mikelolasagasti wants to merge 1 commit intomodelcontextprotocol:mainfrom
mikelolasagasti wants to merge 1 commit intomodelcontextprotocol:mainfrom
Conversation
760c745 to
5538a4f
Compare
- Add `RegistryURLQuay` in `pkg/model/constants.go`. - Allow `quay.io` in OCI validator allowlist. - Adjust oci tests so Quay is allowed (real image + pattern case). - Document Quay in requirements, package-types, and generic-server-json. Only the quay.io hostname is allowlisted; validation remains public-image only. Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
5538a4f to
284e4ab
Compare
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.
Adds support for the Quay.io container registry to the OCI validator. This allows MCP servers hosted on Quay.io to be registered and validated by the official registry.
Motivation and Context
Quay.io is a major, trusted public OCI registry widely used by the cloud-native and open-source communities. Currently, attempting to publish a server using a Quay image results in an unsupported OCI registry error. This change enables developers to use Quay.io as a first-class hosting option for their MCP server images.
How Has This Been Tested?
internal/validators/registries/oci_test.goto transition Quay.io from a rejected test case to an allowed one.quay.iohost.make checkto ensure no regressions in the existing OCI validation logic.Breaking Changes
No. This is an additive change that expands the allowlist of supported registries. Existing configurations are unaffected.
Types of changes
Checklist
Additional context
The implementation follows the existing pattern for OCI registries:
RegistryURLQuayconstant topkg/modelfor consistency.quay.iointo theallowedOCIRegistriesmap in the validator to minimize architectural complexity.package-types.mdx,generic-server-json.md, andofficial-registry-requirements.md) to ensure the source of truth is updated across the project.