-
Notifications
You must be signed in to change notification settings - Fork 841
Closed
Labels
area-ai-templatesMicrosoft.Extensions.AI.TemplatesMicrosoft.Extensions.AI.TemplatesbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.
Description
Description
The MCP template needs a few changes for ingesting into the MCP registry as the server.json spec has changed (source: https://github.com/modelcontextprotocol/registry/blob/main/docs/reference/server-json/generic-server-json.md). Specifically in .mcp/server.json:
registry_nameneeds to beregistry_typenameneeds to beidentifierin the packages- remove
version_detailsand just addversionas root property - A new value is needed for
transportin the packages property in the form of:
"transport":{
"type": "stdio"
}
Example of a corrected packages property:
"version": "0.1.0-beta",
"packages": [
{
"registry_type": "nuget",
"identifier": "<your package ID here>",
"version": "0.1.0-beta",
"transport":{
"type": "stdio"
},
"package_arguments": [],
"environment_variables": []
}
]
Reproduction Steps
Using the template today try to publish using mcp-publisher
Expected behavior
Successful publish
Actual behavior
Errors on missing properties
Regression?
No, spec changed
Known Workarounds
No response
Configuration
No response
Other information
No response
joelverhagenCopilot
Metadata
Metadata
Assignees
Labels
area-ai-templatesMicrosoft.Extensions.AI.TemplatesMicrosoft.Extensions.AI.TemplatesbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.