Skip to content

[BUG] server.json in Azure.Mcp uses the old schema #870

@joelverhagen

Description

@joelverhagen

Describe the bug

The MCP Registry has iterated the server.json a couple of times since Azure.Mcp was published to NuGet.org. NuGet.org is about to roll out a change to look for the newer version.

Docs: https://github.com/modelcontextprotocol/registry/blob/main/docs/reference/server-json/generic-server-json.md
Examples: https://github.com/modelcontextprotocol/registry/blob/main/docs/reference/server-json/generic-server-json.md#examples

The $schema URI has changed, some properties have been renamed, and the naming convention is camelCase instead of snake_case.

I can make the fix :)

Expected behavior

The server.json should use the schema matching the MCP Registry.

Actual behavior

The server.json does not match the latest schema.

Reproduction Steps

Look at the latest schema:
https://github.com/modelcontextprotocol/registry/blob/main/docs/reference/server-json/server.schema.json
Compare this to the server.json
https://github.com/microsoft/mcp/blob/main/eng/dnx/.mcp/server.json

Environment

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions