Skip to content

feat(phase-5): v0.3.1 — add mcpName for MCP Registry#15

Merged
sonpiaz merged 1 commit into
mainfrom
feat/phase-5-mcp-registry
May 20, 2026
Merged

feat(phase-5): v0.3.1 — add mcpName for MCP Registry#15
sonpiaz merged 1 commit into
mainfrom
feat/phase-5-mcp-registry

Conversation

@sonpiaz

@sonpiaz sonpiaz commented May 20, 2026

Copy link
Copy Markdown
Owner

Summary

Two-line change to enable submission to the official MCP Server Registry (replaces the retired third-party list in `modelcontextprotocol/servers` README).

File Change
`mcp-server/package.json` Add `mcpName: "io.github.sonpiaz/watch-cli"`; bump version 0.3.0 → 0.3.1
`lib/version.sh` Bump WATCH_CLI_VERSION 0.3.0 → 0.3.1

The `mcpName` field is the GitHub-based ownership verification mechanism required by the MCP registry. It must start with `io.github./` to prove the npm publisher controls the matching GitHub account.

Post-merge sequence (maintainer)

  1. Tag `v0.3.1` on the merge commit and push → release workflow auto-republishes `@sonpiaz/watch-cli-mcp@0.3.1` to npm with the `mcpName` field.
  2. Install `mcp-publisher` CLI: `brew install mcp-publisher`.
  3. `cd mcp-server && mcp-publisher init` to generate `server.json`.
  4. `mcp-publisher login` (interactive GitHub OAuth — runs in your terminal, not CI).
  5. `mcp-publisher publish` to register the server.

Once steps 1–5 complete, the server appears in registry.modelcontextprotocol.io and is discoverable by every MCP-capable agent that consumes the registry.

Why this isn't done by CI

The publish step needs interactive GitHub OAuth. Automating it would require a long-lived OAuth token, which mcp-publisher does not yet support. Once the registry exposes a CI-friendly token flow, the release workflow can chain step 5.

Test plan

  • `./bin/watch --version` reports `watch-cli v0.3.1` after this branch checks out
  • CI smoke matrix stays green
  • No other version refs missed (lib/version.sh + mcp-server/package.json are the only canonical spots; README install snippets still reference v0.3.0 — those don't gate this PR but should be bumped post-tag in a follow-up)

Tiny bump to enable MCP Registry submission (modelcontextprotocol/registry):

- mcp-server/package.json gains `mcpName: io.github.sonpiaz/watch-cli`
  per https://github.com/modelcontextprotocol/registry/blob/main/docs/modelcontextprotocol-io/quickstart.mdx
  Required for GitHub-based ownership verification of the npm package.
- lib/version.sh and mcp-server/package.json both bumped 0.3.0 -> 0.3.1.

No code changes. Tagging v0.3.1 after this merges will:

1. Republish @sonpiaz/watch-cli-mcp@0.3.1 to npm with the mcpName field.
2. (Manual follow-up by maintainer) Run `mcp-publisher publish` to register the server in
   https://registry.modelcontextprotocol.io — that step needs interactive
   GitHub OAuth login and cannot run from CI yet.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@sonpiaz
sonpiaz merged commit 60d9cdc into main May 20, 2026
2 checks passed
@sonpiaz
sonpiaz deleted the feat/phase-5-mcp-registry branch May 20, 2026 00:35
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