Skip to content

feat: add publishing to the official MCP registry - #28

Merged
kujenga merged 3 commits into
mainfrom
at/mcp-registry
Aug 7, 2026
Merged

feat: add publishing to the official MCP registry#28
kujenga merged 3 commits into
mainfrom
at/mcp-registry

Conversation

@kujenga

@kujenga kujenga commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Why

The official MCP registry is the upstream metadata source for MCP server discovery — aggregators like Glama and PulseMCP pull from it, and MCP clients increasingly browse it directly. This project isn't listed there yet, while an unrelated server with the same name (io.github.54yyyu/zotero-mcp, PyPI package zotero-mcp-server) already is. Publishing as io.github.kujenga/zotero-mcp claims our namespace, disambiguates the two projects, and gets discoverability everywhere downstream from a single publish.

What changed

Everything needed to publish, minus the publish itself: the server.json metadata file, the PyPI ownership marker in the README, a make publish-mcp target, release-steps docs, and a version bump to 0.3.1. The branch also leads with a security fix so it rides along in the 0.3.1 release: an upgrade of the transitive cryptography dependency to 50.0.0, resolving the high-severity Dependabot alert GHSA-g6cj-pr64-35w5 (Bleichenbacher oracle in PKCS#7 decryption; pulled in via mcp → pyjwt[crypto], so only uv.lock changes). See commits for review.

Two decisions worth flagging:

  • PyPI verification works differently from the npm examples in the registry docs: the registry matches an mcp-name: marker in the README as rendered on PyPI against server.json (package-types docs). That's why this includes a version bump — the marker only becomes visible to the registry once 0.3.1 is on PyPI.
  • The GHCR Docker image is deliberately not listed as a package. OCI validation requires an io.modelcontextprotocol.server.name LABEL baked into a version-pinned image, and our workflow currently only pushes branch-tagged images (:main). Follow-up once versioned image tags exist.

Validation

  • server.json validates against the official 2025-12-11 schema: uvx check-jsonschema --schemafile https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json server.json
  • Test suite (58 passed) and ruff format/lint are green, including after the cryptography upgrade.
  • The registry publish itself has not been run — it can't be until 0.3.1 is on PyPI.

Deploy notes

After merging, going live is manual (also documented in the new README "Releasing" section):

  1. make publish (PyPI first — the registry checks the marker on the 0.3.1 PyPI page)
  2. mcp-publisher login github (one-time; brew install mcp-publisher)
  3. make publish-mcp

Note the registry is still in preview — breaking changes or data resets may occur before GA, in which case a re-publish may be needed.

🤖 Generated with Claude Code

kujenga and others added 3 commits August 6, 2026 20:15
Resolves the high-severity Dependabot alert
(https://github.com/kujenga/zotero-mcp/security/dependabot/4) for a
Bleichenbacher oracle in PKCS#7 EnvelopedData decryption, affecting
cryptography >= 44.0.0, < 50.0.0:
GHSA-g6cj-pr64-35w5

cryptography is a transitive dependency (mcp -> pyjwt[crypto] ->
cryptography), so only uv.lock changes, upgraded with:
uv lock --upgrade-package cryptography

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Patch release to get the MCP registry ownership marker into the README
rendered on PyPI, which the registry validates against server.json.
Also ships the cryptography upgrade for GHSA-g6cj-pr64-35w5 from the
previous commit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Registers this server as io.github.kujenga/zotero-mcp in the official
registry (https://github.com/modelcontextprotocol/registry), the
upstream source for aggregators like Glama and PulseMCP as well as MCP
clients that browse it directly. Also disambiguates this project from
io.github.54yyyu/zotero-mcp, an unrelated server with the same name
that is already listed there.

PyPI packages verify ownership differently from npm: instead of an
mcpName field in package.json, the registry looks for an
'mcp-name: <server name>' marker in the README as rendered on PyPI,
so publishing 0.3.1 to PyPI must precede the first registry publish.
See https://modelcontextprotocol.io/registry/package-types for the
marker format and boundary rules.

The GHCR Docker image is deliberately not listed as a package yet: OCI
validation requires an io.modelcontextprotocol.server.name LABEL baked
into a version-pinned image, and the current workflow only tags
branch-based images (:main). This can be added once versioned image
tags are published.

server.json validates against the 2025-12-11 schema via:
uvx check-jsonschema --schemafile \
  https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json \
  server.json

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@kujenga
kujenga merged commit 8461cc4 into main Aug 7, 2026
4 checks 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