Skip to content

fix(publish): drop OCI package entry from server.json#1587

Merged
yury-s merged 1 commit intomicrosoft:mainfrom
yury-s:mcp-registry-drop-oci
May 1, 2026
Merged

fix(publish): drop OCI package entry from server.json#1587
yury-s merged 1 commit intomicrosoft:mainfrom
yury-s:mcp-registry-drop-oci

Conversation

@yury-s
Copy link
Copy Markdown
Member

@yury-s yury-s commented May 1, 2026

Summary

The first dispatch run after #1586 (failed run) hit:

registry validation failed for package 1 (public/playwright/mcp): OCI packages must not have 'registryBaseUrl' field - use canonical reference in 'identifier' instead

The schema permits registryBaseUrl, but the registry's runtime validator rejects it for OCI. The npm entry validated cleanly.

Fix

Drop the OCI package entry from server.json. The npm listing alone resolves #1477 (VS Code + Copilot in registryOnly mode installs via npx). Docker users still pull directly from playwright.azurecr.io — that channel doesn't need the registry to be discoverable.

Why not reformat the OCI identifier

The canonical-reference form (registry/repo:tag) bakes the version into the string, which means each release has to bump both version and the tag inside identifier. The version-validation step in CI would also need OCI-specific logic. Manageable but extra plumbing for a channel we don't need to list. Can be added back in a focused PR if it's ever needed.

Verifying

After merge, manually fire the Publish workflow against main from the Actions tab to publish v0.0.72 retroactively.

The MCP Registry's runtime validator rejects 'registryBaseUrl' for OCI
packages and requires the canonical reference (registry/repo:tag) to
live in 'identifier' instead. Keeping it in sync across releases would
need extra workflow plumbing, and the OCI listing isn't needed to
unblock the original ask in microsoft#1477 (registryOnly clients install via
npm). Docker users still pull directly from playwright.azurecr.io.
@yury-s yury-s merged commit 3046230 into microsoft:main May 1, 2026
5 of 6 checks passed
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.

Request: Publish @playwright/mcp to the Official OSS Registry to unblock "registryOnly" enterprise users

1 participant