-
Notifications
You must be signed in to change notification settings - Fork 839
Update MCP Server Template to adhere to 2025-09-29 server.json schema #6888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the Model Context Protocol (MCP) server.json configuration files to adhere to the latest schema version released on 2025-09-29. The changes standardize property naming conventions from snake_case to camelCase as required by the updated schema specification.
- Updated schema reference from 2025-07-09 to 2025-09-29 version
- Changed property naming from snake_case to camelCase (registry_type → registryType, package_arguments → packageArguments, environment_variables → environmentVariables)
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/McpServer/McpServer-CSharp/.mcp/server.json | Updated template file with new schema and camelCase properties |
test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.Basic.verified/mcpserver/.mcp/server.json | Updated test snapshot for basic configuration |
test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.AotTrue.verified/mcpserver/.mcp/server.json | Updated test snapshot for AOT-enabled configuration |
test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.SelfContainedFalse.verified/mcpserver/.mcp/server.json | Updated test snapshot for non-self-contained configuration |
test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.net10.verified/mcpserver/.mcp/server.json | Updated test snapshot for .NET 10 configuration |
@jeffhandley / @MackinnonBuck - I would like to release this change in a package around the time NuGet.org updates to latest schema. Could we work offline to time things? I understand there is the merge to main, a release branch activity, then pushing the nuget package. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good; thanks for submitting this. As suggested, I will connect with you offline on timing before we merge into main.
Discussed with @joelverhagen and we're good to merge this now, with the expectation of this being included in next week's release. |
Changelog: https://github.com/modelcontextprotocol/registry/blob/main/docs/reference/server-json/CHANGELOG.md
Microsoft Reviewers: Open in CodeFlow