From e992562a7807ef6edab44d7458de6800cc75497f Mon Sep 17 00:00:00 2001 From: Jun Han Date: Tue, 30 Sep 2025 04:32:50 +0800 Subject: [PATCH] fix(spec): registryType, identifier, version should be required fields (#548) ## Motivation and Context This seems to be a regresion after rename, those fields were originally required: https://github.com/modelcontextprotocol/registry/blob/8d7e471fd3f28fbaccb69f69e8b39483ac4c58c3/docs/server-registry-api/openapi.yaml#L247-L252 In https://static.modelcontextprotocol.io/schemas/2025-09-16/server.schema.json, those fields are also required. ## How Has This Been Tested? ## Breaking Changes No ## Types of changes - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [x] Documentation update ## Checklist - [ ] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [ ] My code follows the repository's style guidelines - [ ] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed ## Additional context --- docs/reference/api/openapi.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/reference/api/openapi.yaml b/docs/reference/api/openapi.yaml index 19fd332..01cfc5f 100644 --- a/docs/reference/api/openapi.yaml +++ b/docs/reference/api/openapi.yaml @@ -319,6 +319,10 @@ components: Package: type: object + required: + - registryType + - identifier + - version properties: registryType: type: string