Skip to content

Commit 1df3737

Browse files
authored
feat: add version field to OpenAPI specification (#312)
## Description This PR addresses #300 by adding explicit versioning to the MCP Registry API OpenAPI specification. ## Changes - Added `version: "2025-07-09"` field to the `info` section of the OpenAPI specification - Maintains consistency with existing date-based versioning used across all schema files ## Rationale As outlined in #300, the OpenAPI spec was missing an explicit version field, which could lead to: - Compatibility issues as the API evolves - Lack of clarity for API consumers - Missing functionality in OpenAPI tooling that expects a version field This follows the MCP specification's date-based versioning approach. Closes #300
1 parent c191dc6 commit 1df3737

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/server-registry-api/openapi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ jsonSchemaDialect: "https://json-schema.org/draft/2020-12/schema"
33
$id: https://modelcontextprotocol.io/schemas/draft/2025-07-09/server-registry-openapi
44
info:
55
title: MCP Server Registry API
6+
version: "2025-07-09"
67
summary: API for discovering and accessing MCP server metadata
78
description: |
89
Specification for a theoretical REST API that serves up metadata about MCP servers.

0 commit comments

Comments
 (0)