Skip to content

Automate MCP Registry publish and tag package as McpServer#106

Merged
Byggarepop merged 1 commit into
mainfrom
mcp-registry-ci-automation
Jun 25, 2026
Merged

Automate MCP Registry publish and tag package as McpServer#106
Byggarepop merged 1 commit into
mainfrom
mcp-registry-ci-automation

Conversation

@Byggarepop

Copy link
Copy Markdown
Owner

Brings TokenSaver's release pipeline to parity with the McpOrchestrator setup: the package is now tagged as an MCP server, and the Official MCP Registry listing publishes automatically on a tag instead of by hand.

Changes

  • McpServer package type added alongside DotnetTool in mcp/TokenSaver.Mcp.csproj. Verified by packing — both types land in the nuspec, so dnx/dotnet tool install is unaffected while the package now surfaces under nuget.org's "MCP Server" package-type filter.
  • server.json moved to .mcp/server.json (tracked as a rename).
  • release.yml rewritten:
    • NuGet push now uses Trusted Publishing (OIDC) — no stored API key.
    • New mcp-registry job stamps the tag version into .mcp/server.json, waits for the NuGet README to go live, then authenticates via github-oidc and publishes the listing. Replaces the manual mcp-publisher publish step.
    • Both NuGet push and registry publish are opt-in via PUBLISH_NUGET / PUBLISH_MCP_REGISTRY repo variables.
  • CONTRIBUTING.md updated for the new path and automated registry publish.

Required repo configuration (already set up)

  • nuget.org Trusted Publishing policy (owner Byggarepop, repo TokenSaver, workflow release.yml, environment release)
  • NUGET_USER secret
  • PUBLISH_NUGET=true and PUBLISH_MCP_REGISTRY=true repo variables

Add McpServer package type alongside DotnetTool so the package surfaces
under nuget.org's "MCP Server" filter; the tool install path is unchanged.

Move server.json to .mcp/server.json and rewrite the release workflow to
publish to NuGet via Trusted Publishing (OIDC) and then publish the listing
to the Official MCP Registry, replacing the manual mcp-publisher step.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@Byggarepop
Byggarepop merged commit 9172216 into main Jun 25, 2026
1 check passed
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