Skip to content

ci(release): automate MCP Registry publishing via GitHub Actions OIDC#70

Merged
stevenobiajulu merged 1 commit intomainfrom
ci-mcp-registry-autopublish-20260403
Apr 3, 2026
Merged

ci(release): automate MCP Registry publishing via GitHub Actions OIDC#70
stevenobiajulu merged 1 commit intomainfrom
ci-mcp-registry-autopublish-20260403

Conversation

@stevenobiajulu
Copy link
Copy Markdown
Member

Summary

  • Adds publish-mcp-registry job to the release workflow, running in parallel after npm publish with continue-on-error: true
  • Uses GitHub Actions OIDC auth (no secrets needed) to publish server.json to registry.modelcontextprotocol.io
  • Fixes repository.subfolder in server.json from packages/docx-mcp to packages/safe-docx
  • Updates release runbook with new job diagram, verify checklist item, automation note, and troubleshooting section

Design

  • Soft-fail: MCP Registry is preview — job failures show yellow but don't block the release
  • npm propagation wait: Polls version + mcpName fields (6 attempts, ~150s backoff) before publishing
  • Architecture-tolerant: Uses uname for binary download instead of hardcoding linux_amd64
  • Idiomatic binary handling: Adds mcp-publisher to $GITHUB_PATH, uses positional server.json arg

Test plan

  • YAML validates (python3 -c "import yaml; yaml.safe_load(open('.github/workflows/release.yml'))")
  • Merge, bump to 0.8.2, tag and push — verify publish-mcp-registry job in Actions
  • Check registry: curl -s "https://registry.modelcontextprotocol.io/server/io.github.UseJunior/safe-docx" | jq .version

- Add publish-mcp-registry job after publish-suite (soft-fail, non-blocking)
- Wait for npm propagation before invoking mcp-publisher
- Fix server.json repository.subfolder from packages/docx-mcp to packages/safe-docx
- Update release runbook with new job diagram, verify checklist, and troubleshooting
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
site Ready Ready Preview, Comment Apr 3, 2026 8:49pm

Request Review

@github-actions github-actions bot added the ci label Apr 3, 2026
@stevenobiajulu stevenobiajulu enabled auto-merge (squash) April 3, 2026 20:51
@stevenobiajulu stevenobiajulu merged commit 668d180 into main Apr 3, 2026
19 of 20 checks passed
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@stevenobiajulu stevenobiajulu mentioned this pull request Apr 3, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant