Menu

Listing an MCP server in the official registry without npm: an MCPB file on a GitHub release
📰

Listing an MCP server in the official registry without npm: an MCPB file on a GitHub release

DEV Community: github·Todd Doane·9 days ago
#emQGZcVZ
#devtogithub#technology#devto#dev#server
Reading 0:00
15s threshold

Our small MCP server was ready to list in the official MCP registry, except for one thing: its server.json pointed at an npm package, and the repo had no npm token, so the publish step could not run. The registry accepts other package types. One of them, MCPB, needs nothing but a GitHub release. Today the server is listed that way, and npm can be added later.

What the registry accepts

The registry stores metadata, not code. [src: https://github.com/modelcontextprotocol/registry/blob/main/docs/modelcontextprotocol-io/about.mdx ] Each entry in server.json points at a package somewhere else, and the registry docs list npm, PyPI, NuGet, Docker/OCI, MCPB and Cargo. [src: https://github.com/modelcontextprotocol/registry/blob/main/docs/modelcontextprotocol-io/package-types.mdx ]

For MCPB the rules are short: the file must be on a GitHub or GitLab release, its URL must contain the string mcp , and server.json must carry the file's SHA-256 as fileSha256 .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.