Learning resourcesReviewed · Model Context Protocol

MCP Registry Supported Package Types

MCP Registry Supported Package Types is a guide for developers publishing MCP servers, with the catch that the registry is in preview and may introduce breaking changes or data resets. It explains supported package hosts, server.json configuration, ownership markers and the different installation requirements of Cargo and MCPB packages.

Researched 13 Nov 2026

In short.

MCP Registry Supported Package Types is a publishing reference for MCP server developers, but the registry is still in preview and may change or reset its data. It covers npm, PyPI, NuGet, Cargo, OCI images and MCPB bundles. Particularly useful details include Cargo's requirement for a visible README ownership marker, restrictions on supported package hosts, and MCPB's mandatory artifact hash. The documentation says clients validate MCPB hashes while the registry does not. Successful publication, client compatibility, costs and licensing are not established by this page.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected page at [https://modelcontextprotocol.io/registry/package-types.md]: its preview notice, six package types, supported hosts, configuration examples, ownership rules, Cargo runtime guidance and MCPB integrity requirements. Linked documentation, the documentation index, issue tracker, schema contents, package-host pages and release artifacts are excluded. No execution or publication was performed; runtime behavior, client compatibility and actual hash enforcement are untested. Costs and licensing remain unknown.

The overview

identity

This documentation page describes the MCP Registry's supported package formats and their verification rules [https://modelcontextprotocol.io/registry/package-types.md]. It explains how package entries in server.json identify installable server packages and connect them to a registry server name.

Its scope covers npm, PyPI, NuGet, Cargo, Docker/OCI images and MCPB bundles.

assessment

This is useful when choosing a distribution format or preparing package metadata for registry verification. Its strongest practical details concern mistakes that can prevent matching: mismatched server names, punctuation after README markers and Cargo markers hidden in comments.

The page provides configuration examples and explains verification behavior. It supplies no demonstrated publication results or client compatibility measurements, so those outcomes are not assessed.

users

The primary audience is developers and maintainers distributing MCP servers through JavaScript, Python, .NET, Rust, container or bundle ecosystems. Beginners can use it to understand which package metadata must match; experienced developers get exact field names and format-specific exceptions.

Developers implementing installation support can also use the Cargo runtime explanation and MCPB integrity notes. A complete client implementation guide is outside the page's coverage.

capabilities

The guide maps each package format to a registryType value: npm, pypi, nuget, cargo, oci or mcpb. For the first four, supported sources are the public npm registry [https://registry.npmjs.org], official PyPI [https://pypi.org], official NuGet [https://api.nuget.org/v3/index.json] and crates.io [https://crates.io], respectively.

Supported OCI hosts are Docker Hub, GitHub Container Registry, Quay.io, Google Artifact Registry on *.pkg.dev domains, Azure Container Registry on *.azurecr.io domains, and Microsoft Container Registry. MCPB artifacts must be hosted through GitHub or GitLab releases.

Using it

requirements

The examples describe packages inside server.json using registryType, identifier and transport fields. npm, PyPI, NuGet and Cargo examples also show a package version. All supplied examples use stdio transport; support for other transports is not established here.

Cargo source installation requires a Rust toolchain. MCPB is presented as a way to distribute prebuilt Rust binaries without requiring that toolchain. MCPB metadata must include fileSha256, and its artifact URL must contain the string mcp, which can appear in the .mcpb extension or repository name. Exact operating-system and client requirements are unknown.

mechanism

For npm, verification checks that mcpName in package.json matches name in server.json. For PyPI and NuGet, it looks for an mcp-name: marker containing the same server name in the package README. The marker needs an accepted boundary such as whitespace, a newline, an HTML tag or a comment close; an immediately trailing period prevents a match.

Cargo also uses a README marker, but crates.io removes HTML comments when rendering Markdown. Cargo authors therefore need visible marker text. For OCI images, the documented ownership field is io.modelcontextprotocol.server.name, matching the server name; the example sets it using a Dockerfile LABEL.

For MCPB, fileSha256 records the artifact's SHA-256 digest. The page explicitly says the registry does not validate that hash, while MCP clients validate it before installation. Downstream registries may perform additional validation.

setup

Choose a supported host and package format, prepare its ownership marker where applicable, and describe the package in server.json. OCI identifiers include the registry, namespace, repository and a tag or digest. MCPB entries point to a release artifact and include its calculated SHA-256 hash.

Cargo uses a separate installation step: cargo install <crate> installs a compiled binary into ~/.cargo/bin, which must be on PATH for invocation by name. The Cargo example intentionally omits runtimeHint because execution uses the installed binary rather than a per-invocation package runner. The page does not supply the complete registry publication procedure.

example

In the npm example, server.json names the server io.github.username/email-integration-mcp and identifies @username/email-integration-mcp at version 1.0.0 with stdio transport. The corresponding package.json sets mcpName to io.github.username/email-integration-mcp. The exact name match is the relevant verification requirement; these package names and versions are illustrative.

For the Cargo example, the README visibly includes mcp-name: io.github.username/widget-mcp. Putting that marker inside an HTML comment would hide it from the rendered content inspected by the validator.

Assessment & evidence

limitations

The registry's preview notice warns of breaking changes and possible data resets before general availability. Supported hosts are restricted to those listed, so compatibility with private npm registries, alternative Python indexes or other unlisted hosts is not established.

The documented checks concern package ownership markers and artifact integrity. They do not establish server functionality, security or compatibility with a particular client. Platform support, performance and end-to-end publishing behavior are not assessed.

reasoning

The Cargo guidance matters because verification depends on what survives README rendering: a marker present in the source can disappear before the validator reads it. Visible text addresses that specific failure mode.

The MCPB guidance separates declaring a digest from checking it. A required fileSha256 field does not mean the registry has verified the artifact against that value; the page assigns that check to clients and potentially downstream registries.

alternatives

For Rust authors, the page explicitly compares Cargo source distribution with MCPB prebuilt distribution. Cargo follows the Rust installation model and requires users to have the toolchain. MCPB avoids that toolchain requirement and adds release-artifact and hash requirements.

Authors already distributing through npm, PyPI, NuGet or supported container hosts can use the corresponding package type. The page provides no comparative benchmarks or evidence that one format is universally easier or more reliable.

evidence

The technical basis is the complete documentation page at [https://modelcontextprotocol.io/registry/package-types.md]. Its package definitions, README markers, Dockerfile label and hash command are documentation examples, not execution results.

No commands, installations, registry submissions or client sessions were executed. Actual verification behavior and interoperability remain untested.

Access & freshness

costs

The page provides no registry fees, hosting prices, build-cost estimates or server operating costs. Those costs are unknown; listing a supported public package host does not establish that every part of publishing or running a server is free.

rights

The supplied page includes no documentation licence or redistribution grant. It also does not establish licences for server implementations, dependencies, container images or MCPB artifacts. Supported hosting and ownership verification do not establish permission to reuse or redistribute their contents.

freshness

The available source snapshot was captured on 13 November 2026. The page itself supplies no publication or last-updated date.

Its configuration examples reference the schema at [https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json]. That schema date does not establish the page's revision date or a current registry software version. The preview notice makes future compatibility uncertain.

actions

Before publishing, confirm that the chosen package host is supported and that the package's ownership marker exactly matches the server name. For PyPI and NuGet, preserve the marker boundary; for Cargo, keep the marker visible in rendered README content.

For MCPB, calculate the digest from the actual release artifact and include fileSha256 alongside its URL. For Cargo, account for toolchain installation and binary availability on PATH. Consult separate publication instructions for the full submission procedure and check the intended client's package support.

Evidence for this report

selected-page.txtselected · checked 2026-11-13