Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: commitshow/cli

Tags

mcp-v0.1.2

Toggle mcp-v0.1.2's commit message
ci: auto-publish MCP server to npm + Anthropic registry on mcp-v* tag

Drops the manual flow ('npm publish' + 'mcp-publisher login github' +
'mcp-publisher publish') used today for 0.1.1 in favor of a single
`git tag mcp-v0.1.2 && git push --tags` that drives both publishes.

Mechanics:
  · workflow rewrites mcp/package.json + mcp/server.json to the tag
    version before publishing so the version stays in one source of
    truth (the tag itself)
  · npm uses NPM_TOKEN secret (automation token, one-time repo setup)
  · MCP Registry uses GitHub OIDC — no secret · the workflow's
    id-token:write permission lets mcp-publisher exchange the OIDC
    credential for a registry JWT on the fly

Tag format `mcp-v*` chosen so it can't collide with future CLI tags
(which we'd ship as plain `v*`).

Manual workflow_dispatch input also wired so we can re-publish a
specific version from the Actions tab if the registry resets in
preview (the docs explicitly warn it might).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>