Make the extension card-only: remove registry Server/package types (#28)
This commit is contained in:
parent
9222cf6527
commit
56ab90b19c
2 changed files with 67 additions and 728 deletions
|
|
@ -1,27 +0,0 @@
|
|||
{
|
||||
"$schema": "https://static.modelcontextprotocol.io/schemas/v1/server.schema.json",
|
||||
"name": "example-org/with-package",
|
||||
"version": "0.4.2",
|
||||
"description": "Server document with a locally-runnable npm package.",
|
||||
"repository": {
|
||||
"url": "https://github.com/example-org/with-package",
|
||||
"source": "github"
|
||||
},
|
||||
"packages": [
|
||||
{
|
||||
"registryType": "npm",
|
||||
"identifier": "@example-org/with-package",
|
||||
"version": "0.4.2",
|
||||
"runtimeHint": "npx",
|
||||
"transport": { "type": "stdio" },
|
||||
"environmentVariables": [
|
||||
{
|
||||
"name": "EXAMPLE_API_KEY",
|
||||
"description": "Example API key.",
|
||||
"isRequired": true,
|
||||
"isSecret": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
6
examples/ServerCard/invalid/wrong-schema-name.json
Normal file
6
examples/ServerCard/invalid/wrong-schema-name.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"$schema": "https://static.modelcontextprotocol.io/schemas/v1/server.schema.json",
|
||||
"name": "example-org/wrong-schema-name",
|
||||
"version": "1.0.0",
|
||||
"description": "References the removed registry server.json schema; only server-card.schema.json is valid in v1."
|
||||
}
|
||||
Loading…
Reference in a new issue