Split OpenAPI specs into base and official registry versions #171
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.
Closes #149
As noted in the FAQ update here, this is a helpful starting point in thinking about this:
Prior to this PR, we were just treating "MCP Server Registry API" and "Official MCP Registry API" to be the same thing. They are not the same: the latter is inherently a more constrained version of the former. A private deployment of a similar registry need not have constraints like "the only valid source code repositories are
githubandgitlab".This PR separates out the definitions to match that path forward.
Notable Changes
Base OpenAPI spec (
openapi.yaml)/serversendpointRepository.sourcePackage.registry_name/v0prefix from paths (it's now just baked into theofficialone's URL prefix)$idfor proper schema identificationOfficial Registry OpenAPI spec (
official-registry-openapi.yaml)$refRepository.sourceenum:[github]Package.registry_nameenum:[npm, docker, pypi, nuget]Documentation updates
server-registry-api/README.mdexplaining the relationship between specs