This document describes the process for making and releasing changes to the server.json schema.
-
Modify the OpenAPI spec: Edit
docs/reference/api/openapi.yamlwith your schema changes. TheServerDetailcomponent defines the server.json structure. -
Regenerate the schema: Run
make generate-schemato updateserver.schema.jsonfrom the OpenAPI spec. -
Update the changelog: Add your changes to the "Draft (Unreleased)" section in
CHANGELOG.md. -
Open a PR: Submit a pull request to this repository for review.
When the draft changes are ready for release:
-
Update the changelog: Move changes from "Draft (Unreleased)" to a new dated section (e.g.,
## 2025-XX-XX). -
Update the schema URL: Change the
$idin the schema and the example URL inopenapi.yamlfromdraftto the release date (e.g.,2025-XX-XX). -
Merge the PR: Get approval and merge the changes to main.
-
Publish to static hosting: Open a PR on modelcontextprotocol/static to add the new versioned schema file. This "locks in" the released schema at its versioned URL.
- Draft schema:
https://raw.githubusercontent.com/modelcontextprotocol/registry/main/docs/reference/server-json/draft/server.schema.json- For in-progress changes, may change without notice. - Released schemas:
https://static.modelcontextprotocol.io/schemas/YYYY-MM-DD/server.schema.json- Stable, versioned by release date.