Skip to content

Publish the MCP Registry listing from GitHub Actions - #16

Merged
svincent240 merged 1 commit into
mainfrom
ci/mcp-registry-publish
Oct 29, 2026
Merged

svincent240 merged 1 commit into
mainfrom
ci/mcp-registry-publish

Conversation

@svincent240

Copy link
Copy Markdown
Contributor

Why

mcp-publisher login github followed by publish was rejected with a 403. The registry only allows io.github.course-code-framework/ names for an organization owner, and the interactive login can't read organization roles. The registry recommends publishing from GitHub Actions with OIDC, so the repository's identity proves the namespace and no secrets are needed.

Changes

  • .github/workflows/publish-mcp-registry.yml runs on v* tags and on manual dispatch. It:
    • checks that coursecode@<server.json version> is on npm with the matching mcpName
    • installs mcp-publisher v1.8.6 and verifies it with cosign verify-blob against the registry's release.yml signing identity
    • runs mcp-publisher login github-oidc and then mcp-publisher publish
  • AGENTS.md: the release steps now say to push the tag after npm publish, which triggers the listing update.

Testing

  • The workflow YAML parses.
  • The v1.8.6 release has mcp-publisher_linux_amd64.tar.gz and its .sigstore.json; the archive puts mcp-publisher at the root.
  • The bundle's signing certificate has the SAN https://github.com/modelcontextprotocol/registry/.github/workflows/release.yml@refs/tags/v1.8.6 and the issuer https://token.actions.githubusercontent.com, matching the workflow's checks.

After merging, run it once from main to list 0.4.3. main's server.json is 0.4.3, and the v0.4.3 tag predates this workflow.

🤖 Generated with Claude Code

The registry only accepts io.github.course-code-framework/ names from
an organization owner, which the interactive mcp-publisher login can't
prove. This workflow logs in with GitHub OIDC instead and runs on each
release tag, after npm publish. It installs a pinned mcp-publisher,
verifies its Sigstore signature, and checks the npm version first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@svincent240
svincent240 merged commit e37ec20 into main Oct 29, 2026
2 checks passed
@svincent240
svincent240 deleted the ci/mcp-registry-publish branch October 29, 2026 22:31
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