Skip to content

fix(registry): correct server.json schema for MCP registry publish#20

Merged
a-essawy merged 1 commit into
mainfrom
fix/server-json-registry-schema
Jun 1, 2026
Merged

fix(registry): correct server.json schema for MCP registry publish#20
a-essawy merged 1 commit into
mainfrom
fix/server-json-registry-schema

Conversation

@a-essawy
Copy link
Copy Markdown
Contributor

@a-essawy a-essawy commented Jun 1, 2026

Problem

Every release's Publish to MCP official registry step 422'd:

body.packages[0].identifier:   expected length >= 1, value ""
body.packages[0].registryType: expected length >= 1, value ""

server.json used the old registry keys (registry/name); mcp-publisher 1.7.6 + the 2025-09-29 schema require registryType/identifier. The step is continue-on-error, so releases stayed green but the server never landed in the official MCP registry. packages[].version was also stuck at 1.0.0.

Fix

  • registryregistryType, nameidentifier, add registryBaseUrl.
  • Sync packages[].version to the current release so release-please bumps it with the top-level version.

Why this cuts 1.0.5

mcp-publisher publishes from the checked-out tag, so the corrected server.json only takes effect in a new tagged release. 1.0.5 will be the first version to land in the registry — and a full green end-to-end run of the now-fixed pipeline.

npm + GitHub Releases are already current through 1.0.4; this closes the registry gap.

mcp-publisher 1.7.6 / the 2025-09-29 schema require `registryType` and
`identifier`; server.json still used the old `registry`/`name` keys, so the
registry publish 422'd ("identifier"/"registryType" empty) on every release.
Also sync packages[].version (was stuck at 1.0.0) so release-please bumps it
with the top-level version going forward.
@a-essawy a-essawy enabled auto-merge (squash) June 1, 2026 00:17
This was referenced Jun 1, 2026
@a-essawy a-essawy merged commit 9d823eb into main Jun 1, 2026
5 checks passed
@a-essawy a-essawy mentioned this pull request Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant