Skip to content

fix(mcp): preserve GitHub org case in mcpName (Mnexa-AI not mnexa-ai)#103

Merged
jiashuoz merged 1 commit into
mainfrom
fix/mcp-registry-name-case
May 22, 2026
Merged

fix(mcp): preserve GitHub org case in mcpName (Mnexa-AI not mnexa-ai)#103
jiashuoz merged 1 commit into
mainfrom
fix/mcp-registry-name-case

Conversation

@jiashuoz
Copy link
Copy Markdown
Member

Why

MCP Registry rejected the 0.3.1 publish:

status 403: You have permission to publish: `io.github.jiashuoz/`, `io.github.Mnexa-AI/`. Attempting to publish: `io.github.mnexa-ai/mcp-server`.

The Registry's publishing guide lowercases the org name in its example (`io.github.my-username/...`), but the actual permission engine is case-sensitive and preserves the canonical GitHub org slug. Our org is `Mnexa-AI` (mixed case), so the published name must be `io.github.Mnexa-AI/mcp-server`, not what #101 landed.

What

Two-file diff in both mcp/package.json and mcp/server.json:

  • mcpName / name: io.github.mnexa-ai/mcp-serverio.github.Mnexa-AI/mcp-server
  • version (and packages[0].version): 0.3.10.3.2

The version bump is necessary because 0.3.1 is already locked on npm with the wrong mcpName. Registry verification reads the live npm manifest and would still reject at 0.3.1 even after the typo fix.

Verification

  • mcp/server.json re-validates against schema 2025-12-11 with the new name
  • ✅ Three version locations consistent: package.json, server.json:version, server.json:packages[0].version
  • ⏳ Registry publish — gated on this PR merging + tag mcp-v0.3.2 firing publish-mcp.yml

Post-merge ceremony

git tag mcp-v0.3.2 && git push origin mcp-v0.3.2
# wait for publish-mcp.yml (~60s)
cd mcp && mcp-publisher publish

🤖 Generated with Claude Code

Registry rejected the 0.3.1 publish:

  status 403: You have permission to publish: io.github.jiashuoz/*,
  io.github.Mnexa-AI/*. Attempting to publish:
  io.github.mnexa-ai/mcp-server.

The Registry's publishing-guide example lowercases the org name
("io.github.my-username/...") but its actual permission check is
case-sensitive and preserves the canonical GitHub org slug. Since
our org is `Mnexa-AI` (mixed case), the published name must be
`io.github.Mnexa-AI/mcp-server`, not the lowercased form #101
landed.

Two-line fix in both files. Version bumps 0.3.1 → 0.3.2 because
0.3.1 is already locked on npm with the wrong mcpName — Registry's
verification step reads the live npm manifest and would still
reject if we re-tried at 0.3.1.

Post-merge ceremony stays the same:
  git tag mcp-v0.3.2 && git push origin mcp-v0.3.2
  # wait for publish-mcp.yml
  cd mcp && mcp-publisher publish

Validated against schema 2025-12-11 with the new name.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jiashuoz jiashuoz merged commit 8b521f3 into main May 22, 2026
10 checks passed
@jiashuoz jiashuoz deleted the fix/mcp-registry-name-case branch May 22, 2026 01:53
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