Skip to content

Publish to the MCP registry on a release too - #26

Merged
jbn2336mz merged 1 commit into
mainfrom
mcp-registry-on-release
Sep 17, 2026
Merged

jbn2336mz merged 1 commit into
mainfrom
mcp-registry-on-release

Conversation

@jbn2336mz

Copy link
Copy Markdown
Member

Finishes the release chain started in #24 and #25. A release now covers both registries with no manual step.

publish-mcp.yml was held back with a TEMP: comment because npm publish ran from make publish. That is no longer true, so the release trigger goes back on. workflow_dispatch stays.

The registry side needs no secret. 0.2.25 published through mcp-publisher login github-oidc with no token, so the read:org PAT in the README applies only to the local make publish-mcp.

On the ordering

The two workflows start on the same release and run in parallel. publish-mcp.yml already polls npm for up to 10 minutes before publishing, which is what makes that safe.

That wait is needed regardless. npm's publish is asynchronous now: the 0.2.25 run finished with + @mockzilla/mcp@0.2.25 and Your package is being processed and may take a few minutes to become available, and npm view still returned 0.2.24 for a while after. A sequential chain would have to wait for the same thing.

Unchanged

  • Both workflows skip a version their registry already has, so a hand publish followed by a release is still not a conflict.
  • make publish-all still works for a release by hand.

npm publish now works from a release, so the reason this one was held
back is gone, and OIDC turned out to be enough for the registry: 0.2.25
went out through login github-oidc with no token at all. The read:org
PAT is only needed by the local publish.

The two workflows start on the same release rather than one after the
other. The npm poll already in this one is what makes that safe, and it
is needed either way: npm accepts a tarball a while before it can be
read back, so even a sequential run would have to wait.
@jbn2336mz
jbn2336mz merged commit 6e8b832 into main Sep 17, 2026
3 checks passed
@jbn2336mz
jbn2336mz deleted the mcp-registry-on-release branch September 17, 2026 15:28
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