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_name needs to be registry_type
name needs to be identifier in the packages
- remove
version_details and just add version as root property
- A new value is needed for
transport in 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
Description
The MCP template needs a few changes for ingesting into the MCP registry as the
server.jsonspec 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 packagesversion_detailsand just addversionas root propertytransportin the packages property in the form of:Example of a corrected
packagesproperty: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