Repository navigation
Conversation
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.
Adds one paragraph to "Consistency with Runtime Behavior" in
docs/discovery.mdclarifying that the card'snameand the runtimeserverInfo.nameare not expected to be equal, and how servers and clients should treat the difference.Motivation and Context
The section says the
serverInfoa client sees once connected (name,version) SHOULD NOT contradict the Server Card. Forversionthat is a plain comparison. Fornameit is not: the card'snamemust matchnamespace/name, whileserverInfo.namehas no required format. A client following the current text cannot tell whether a difference is a contradiction or just two naming conventions.In practice they usually differ. Servers that publish a card today, comparing the card's
namewith theserverInfo.namereturned byinitialize:nameserverInfo.nameio.github.github/github-mcp-servergithub-mcp-serverco.huggingface/mcpco.huggingface/mcpcom.aitmpl/aitmplaitmplapp.seoaeogeo/seo-aeo-geoseoaeogeocom.cheapcarent/searchcheapcarent-searchFive servers, four conventions. GitHub's values come from its source (
pkg/http/servercard/card.go,pkg/github/server.go) and aitmpl's from ours; the other three are liveinitializeresponses from 2026-12-05. We found these while adding Server Card checks to the aitmpl.com catalog, which fetches<url>/server-cardfor the 82 remote MCP servers it lists (13 serve one).The new paragraph says:
nameandserverInfo.namealone is not a contradiction;serverInfo.nameto the card's fullnameor its segment after the slash, so a client can match them;serverInfo.nameas evidence that the card describes another server.How Has This Been Tested?
Docs only:
npx prettier --check docs/discovery.mdpasses. No schema or example changes.Breaking Changes
None. The server-side SHOULD is new guidance; existing cards stay valid.
Types of changes
Additional context
If maintainers prefer to leave servers unconstrained, the first and last points stand on their own and I can drop the server SHOULD.
Generated by Claude Code