Refactor package types to use dedicated schema types per package type (NPM, PyPI, NuGet, OCI, MCPB) (#634)
This commit is contained in:
parent
5055c79531
commit
632cbce815
3 changed files with 883 additions and 146 deletions
|
|
@ -270,7 +270,6 @@ components:
|
|||
required:
|
||||
- registryType
|
||||
- identifier
|
||||
- version
|
||||
- transport
|
||||
properties:
|
||||
registryType:
|
||||
|
|
|
|||
|
|
@ -191,9 +191,7 @@ This will essentially instruct the MCP client to execute `dnx Knapcode.SampleMcp
|
|||
},
|
||||
{
|
||||
"registryType": "oci",
|
||||
"registryBaseUrl": "https://docker.io",
|
||||
"identifier": "mcp/filesystem",
|
||||
"version": "1.0.2",
|
||||
"identifier": "docker.io/mcp/filesystem:1.0.2",
|
||||
"transport": {
|
||||
"type": "stdio"
|
||||
},
|
||||
|
|
@ -405,9 +403,7 @@ The `dnx` tool ships with the .NET 10 SDK, starting with Preview 6.
|
|||
"packages": [
|
||||
{
|
||||
"registryType": "oci",
|
||||
"registryBaseUrl": "https://docker.io",
|
||||
"identifier": "example/database-manager-mcp",
|
||||
"version": "3.1.0",
|
||||
"identifier": "docker.io/example/database-manager-mcp:3.1.0",
|
||||
"transport": {
|
||||
"type": "stdio"
|
||||
},
|
||||
|
|
@ -602,9 +598,7 @@ The `dnx` tool ships with the .NET 10 SDK, starting with Preview 6.
|
|||
"packages": [
|
||||
{
|
||||
"registryType": "mcpb",
|
||||
"registryBaseUrl": "https://github.com",
|
||||
"identifier": "https://github.com/modelcontextprotocol/text-editor-mcpb/releases/download/v1.0.2/text-editor.mcpb",
|
||||
"version": "1.0.2",
|
||||
"fileSha256": "fe333e598595000ae021bd27117db32ec69af6987f507ba7a63c90638ff633ce",
|
||||
"transport": {
|
||||
"type": "stdio"
|
||||
|
|
|
|||
|
|
@ -288,7 +288,6 @@
|
|||
"required": [
|
||||
"registryType",
|
||||
"identifier",
|
||||
"version",
|
||||
"transport"
|
||||
],
|
||||
"type": "object"
|
||||
|
|
|
|||
Loading…
Reference in a new issue