Skip to content

feat: publish to MCP Registry on release (v1.8.1)#127

Merged
freema merged 1 commit into
mainfrom
feat/mcp-registry-publish
Apr 26, 2026
Merged

feat: publish to MCP Registry on release (v1.8.1)#127
freema merged 1 commit into
mainfrom
feat/mcp-registry-publish

Conversation

@freema
Copy link
Copy Markdown
Owner

@freema freema commented Apr 26, 2026

Summary

  • Adds server.json at repo root with namespace io.github.freema/mcp-gsheets (npm package only — no GHCR/OCI distribution).
  • Adds the <!-- mcp-name: io.github.freema/mcp-gsheets --> ownership marker to README so mcp-publisher can verify the namespace.
  • Adds mcpName field to package.json — required by registry validation when it inspects the published npm package.
  • Adds .github/workflows/publish-mcp-registry.yml (runs on release: published and workflow_dispatch). Waits for npm package availability before calling mcp-publisher publish. Authenticates via GitHub OIDC — no secrets needed for io.github.freema/* namespace.
  • Bumps version to 1.8.1 so the next npm publish carries the mcpName field (registry rejects packages without it).

Why now

The official MCP Registry (registry.modelcontextprotocol.io) is the canonical discovery channel for MCP clients (Claude.ai, Cursor, VS Code, Windsurf). Publishing makes the server installable through their built-in catalogs.

Test plan

Notes

  • No Docker/OCI distribution in server.json — this repo doesn't push to GHCR. Add later if a Docker image is published.
  • GitHub release events created from inside release.yml (via GITHUB_TOKEN) do not trigger downstream workflows. That's why the MCP Registry publish needs to be triggered manually after npm goes live, OR release.yml needs to use a PAT instead.

- Add server.json with namespace io.github.freema/mcp-gsheets (npm only)
- Add README ownership marker for mcp-publisher namespace verification
- Add mcpName field to package.json (required by registry validation)
- Add publish-mcp-registry workflow (release: published + workflow_dispatch)
- Bump version to 1.8.1 so npm release picks up the mcpName field
@freema freema merged commit 4655901 into main Apr 26, 2026
3 checks passed
@freema freema deleted the feat/mcp-registry-publish branch April 26, 2026 12:07
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