docs(discovery): rename Catalog Entry mediaType field to type (ADR 0014)#32
Merged
Conversation
Member
Author
|
Let's hold on merging until the AI Catalog PR lands |
tadasant
force-pushed
the
adopt-catalog-entry-type
branch
from
June 19, 2026 13:52
8f2c327 to
0867422
Compare
Member
Author
|
@SamMorrowDrums it's landed so let's get this in |
Adapt the MCP Catalog Entry to AI Catalog PR #37 / ADR 0014, which renames the CatalogEntry `mediaType` member to `type` and reframes its description as an open-text type identifier rather than a strict IANA media type. Scoped to the field rename only. The value remains `application/mcp-server-card+json` (this repo's deliberate choice per issue ADR 0014's known-type `application/mcp-server+json`. The Server Card's own HTTP media type (Accept/Content-Type) is unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
tadasant
force-pushed
the
adopt-catalog-entry-type
branch
from
July 13, 2026 19:31
0867422 to
72ed0fe
Compare
SamMorrowDrums
approved these changes
Jul 13, 2026
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.
What
Adapts the MCP Catalog Entry in
docs/discovery.mdto AI Catalog PR #37 / ADR 0014, which renames theCatalogEntry.mediaTypemember totypeand reframes its description as an open-text type identifier rather than a strict IANA media type.Changes (docs-only,
docs/discovery.md):mediaTypemember totypein the Catalog Entry table.typekey in all four example catalog entries.typeset to … / "ignore entries with unrecognized types").Rebase / conflict resolution
This branch was rebased onto the current
mainto resolve a merge conflict indocs/discovery.md. The conflict came from changes that landed onmainafter this branch was cut:urn:air:identifier convention (ADR 0015) #31 —urn:air:identifier adaptation (ADR 0015). Preserved.displayNamefield from MCP Catalog entries. Preserved — this PR does not reintroducedisplayName; it only renames the fieldmediaType→typeon top of main's current structure.The resolved diff is exactly the
mediaType→typerename (table row, four examples, validation prose) applied on top of main — nothing from either side's intent was dropped.Scope decision — value deliberately kept as
application/mcp-server-card+jsonThis PR renames the field only. The value stays
application/mcp-server-card+jsonand is not changed to ADR 0014's known-typeapplication/mcp-server+json. Rationale:typean open-text format ("any string value is accepted");application/mcp-server+jsonis a non-binding "known type," and ecosystem types are "governed externally" (i.e., by MCP). So keeping a more precise MCP-governed value is compatible with ADR 0014, not a contradiction.application/mcp-server-card+jsonoverapplication/mcp-server+json(issue MCP Catalog mediaType (application/mcp-server+json) diverges from AI Catalog's application/mcp-server-card+json #9 / PR docs: align Catalog mediaType with AI Catalog spec #18) to avoid colliding with the MCP Registry'sserver.jsonconcept — a distinction the README documents in "Relationship to the MCP Registry."Flag for maintainers: AI Catalog's ADR 0014 known-types list uses
application/mcp-server+jsonfor MCP. Whether this repo should also adopt that value (reversing issue #9 / PR #18 and re-introducing theserver.jsonnaming collision) is a separate, more consequential decision and is intentionally out of scope here. Happy to file a cross-repo issue if maintainers want to pursue it.What is intentionally NOT changed
Accept/Content-Typenegotiation, the reserved/server-cardlocation prose). That is a genuine IANA media type, not the renamed catalog field, and ADR 0014 does not touch it.schema.ts/schema.json— the Server Card schema has nomediaType/typemember; this convention lives only in the discovery doc.Verification
main; merge conflict indocs/discovery.mdresolved, preserving both docs(discovery): adopt AI Catalogurn:air:identifier convention (ADR 0015) #31 (urn:air:) and docs(discovery): drop displayName from MCP Catalog entries (#14) #39 (displayNameremoval). PR now reportsMERGEABLE.npm run check—schema.jsonup to date,tsc --noEmitcleannpm run validate— all 7 examples passnpm run format:check—docs/discovery.mdclean, including markdown table re-alignmentmediaTypefield tokens remain (git grep mediaType→ no matches)build,Analyze (actions), andCodeQLall pass on the rebased head (run)displayNamereintroduced; value unchanged; Server Card media-type prose intact; no straymediaType; no conflict markers)🤖 Generated with Claude Code