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

View file

@ -157,7 +157,6 @@ Response example:
"release_date": "2025-05-16T19:13:21Z",
"is_latest": true
},
"package_canonical": "docker",
"packages": [
{
"registry_name": "docker",
@ -205,7 +204,6 @@ Request body example:
{
"description": "<your description here>",
"name": "io.github.<owner>/<server-name>",
"package_canonical": "<package_registry",
"packages": [
{
"registry_name": "npm",