Skip to content

Wrong server schema breaks clients #783

Description

@hstaudacher

Describe the bug
Servers from https://registry.modelcontextprotocol.io/ use the wrong schema. This causes clients like VSCode to break.

To Reproduce
Steps to reproduce the behavior:

  1. Set the VSCode config key "chat.mcp.gallery.serviceUrl": "https://registry.modelcontextprotocol.io/"
  2. Reload the window
  3. See in the Output window a serialization issues
  4. Search @mcp in the extension tab. You only have a limited amount of servers

Expected behavior
The server link the correct schema and not the schema from the time of publish.

Logs

Additional context
One example server is this one:

{
  "server": {
    "$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-16/server.schema.json",
    "name": "ai.smithery/BowenXU0126-aistudio_hw3",
    "description": "Send personalized greetings with optional pirate flair. Compose friendly salutations for any name…",
    "repository": {
      "url": "https://github.com/BowenXU0126/aistudio_hw3",
      "source": "github"
    },
    "version": "1.16.0",
    "remotes": [
      {
        "type": "streamable-http",
        "url": "https://server.smithery.ai/@BowenXU0126/aistudio_hw3/mcp",
        "headers": [
          {
            "description": "Bearer token for Smithery authentication",
            "value": "Bearer {smithery_api_key}",
            "name": "Authorization"
          }
        ]
      }
    ]
  },

It uses the 2025-09-16 which does not work and causes a serialization issue if schema validation is enabled. Setting the schema manually to 2025-09-29 resolves the issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions