Remove package_canonical (#59)

I originally introduced `package_canonical` into the API schema because,
at the time, we were thinking to "pin" the version of the MCP server to
_one_ of the referenced source code packages.

We are no longer doing this (we are maintaining a separate notion of
`version` unique to the MCP server), so I don't believe
`package_canonical` is needed anymore. Does anyone see otherwise?

This change removes all mentions in READMEs and usages in code.
This commit is contained in:
Tadas Antanavicius 2025-05-24 06:07:08 -07:00 • committed by GitHub
commit a8cfd74d4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 476 deletions

View file

@ -59,7 +59,6 @@ GET /v0/servers/a5e8a7f0-d4e4-4a1d-b12f-2896a23fd4f1?version=0.0.3
"release_date": "2023-06-15T10:30:00Z",
"is_latest": true
},
"package_canonical": "npm",
"packages": [
{
"registry_name": "npm",
@ -154,7 +153,6 @@ API Response:
"release_date": "2023-06-15T10:30:00Z",
"is_latest": true
},
"package_canonical": "npm",
"packages": [
{
"registry_name": "npm",
@ -207,7 +205,6 @@ API Response:
"release_date": "2023-06-15T10:30:00Z",
"is_latest": true
},
"package_canonical": "docker",
"packages": [
{
"registry_name": "docker",

View file

@ -333,10 +333,6 @@ components:
- $ref: '#/components/schemas/Server'
- type: object
properties:
package_canonical:
type: string
enum: [npm, docker, pypi, crates]
example: "npm"
packages:
type: array
items: