Commit 7e2cb55
authored
ci: add MCP Registry publish workflow (OIDC) to sync io.github.heznpc/airmcp (#290)
The official MCP Registry (registry.modelcontextprotocol.io) had drifted: the
only entry was the pre-rename `io.github.heznpc/iconnect@0.1.1`, and
`io.github.heznpc/airmcp` was never published there because nothing automated
it — someone hand-published iconnect once in the iConnect era and there was no
follow-up. Downstream aggregators (Glama, mcp-scorecard, directories) scrape the
registry, so the dead `iconnect` name kept propagating.
server.json and package.json are already correct and matching
(`io.github.heznpc/airmcp@2.12.0`, with the required `mcpName`); the only missing
piece was a publisher. Add `.github/workflows/publish-registry.yml`:
- Auth via GitHub OIDC (`id-token: write`) — proves this repo owns the
io.github.heznpc/* namespace, no secret required.
- Pinned to repo convention: actions/checkout by SHA, mcp-publisher v1.7.9
(not `latest`).
- Only publishes the manifest; the npm package is still published by the
existing release pipeline. The registry verifies the manifest against the
already-published npm package.
- Triggers: workflow_dispatch (run once now to unstick the drift and publish the
current version) + release published (keep it in sync going forward;
scripts/sync-version.mjs already keeps server.json's version current). Does NOT
fire on PR merge, so merging this only adds the capability — the first publish
is an explicit manual dispatch.
Follow-up (operator-side, needs maintainer auth, not in this PR): deprecate the
old npm zombies (`@heznpc/imcp`, `iconnect-mcp`) and the registry's stale
`io.github.heznpc/iconnect` entry; consolidate the Glama listing off the
`iconnect` slug.1 parent f6809eb commit 7e2cb55
1 file changed
Lines changed: 52 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments