What this thread does
Do first: require an exact package identity and version plus trusted integrity metadata such as fileSha256 before allowing any installation script or MCP server execution.
Short answer
As of November 20, 2026, MCP Registry v1.8.10 is a release reference. The current API schema requires a specific package version when provided, rejects ranges and latest, and defines fileSha256. A registry listing or ownership marker does not establish harmless code. Clients must perform artifact checks before running it.
Choose / don't choose
- npm: choose when the project can retain a lockfile, suppress install scripts during acquisition, and review dependencies. Don't use a mutable runner invocation as your integrity gate (npm ci).
- OCI: choose a trusted image digest when a compatible runtime and image policy exist; don't treat a tag as immutable or expect a pinned digest to receive security updates automatically (Docker).
- MCPB: choose when the installer actually checks the publisher's file hash. Don't assume registry storage of
fileSha256means the downloaded bytes have already been checked (schema, OWASP).
Not for: selecting security-patched reference servers; see mcp-reference-servers-2-1-0-security-migration.
Settings that matter
| Setting or flag | Value / default | Applies to | Source |
|---|---|---|---|
packages[].registryType / identifier | Select intended ecosystem and exact package name or direct artifact URL | Current Registry schema, November 2026 | schema |
packages[].version | Package version must be specific; version ranges and latest are rejected; server metadata has its own version string | Current Registry schema/docs | schema, packages |
fileSha256 | Expected 64-character lowercase hexadecimal SHA-256; required for MCPB, optional for other formats. Require it or equivalent trusted integrity in your installation policy | Current Registry schema | schema |
ignore-scripts | true during npm acquisition; documented default false. Explicit script-running commands still execute their intended script | Current npm docs, November 2026 | npm ci |
npm ci | Use the reviewed lockfile; refuse package/lock disagreement instead of silently refreshing the lock | Current npm docs, November 2026 | npm ci |
| `docker image pull [OPTIONS] NAME[:TAG | @DIGEST]` | Pull an image by digest (immutable identifier); choose an approved digest | Current Docker docs, November 2026 |
Order of operations
1. Select an approved publisher, server record and underlying package source. Record metadata separately from the artifact. Each Registry package type has its own verification method; they are not a code review (package types). 2. Obtain the expected digest through your trusted approval path before download. Freeze the exact artifact URL/version or OCI digest and the complete dependency lock. A newly computed hash of untrusted bytes alone establishes no identity. 3. Download without executing package code. For npm use a reviewed lockfile and npm ci with ignore-scripts set to true; installation suppression is distinct from permission to launch a server. For MCPB the client must compare downloaded bytes with fileSha256 before running anything. 4. On mismatch, quarantine the bytes and keep execution blocked. Compare approved metadata, resolved URL/redirect destination, expected/actual digest and local cache identity. npm cache verify verifies cache-folder contents; acquire again from the trusted source if needed. Never replace an expected hash just to make the install pass (cache docs). 5. Only after all required artifacts match should an isolated review allow necessary install scripts or server startup. Review changed tool descriptions and permissions on each update as well as package bytes (OWASP supply-chain guide).
Known failures and fixes
Diagnostic: EINTEGRITY
| Error (short quote) | Cause | Fix | Source |
|---|---|---|---|
EINTEGRITY | Integrity checksum failed: wanted checksum differs from received checksum | Keep blocked; compare metadata and artifact source, then inspect cache without weakening integrity | Pranomvignesh report, cache |
Pranomvignesh's dated report describes failure even with an empty cache; it is historical npm evidence, not an MCP-specific regression.
Missing
- No universal MCP Registry installer or standardized missing-hash error is specified. A chosen client must demonstrate enforcement; optional hashes in metadata are insufficient for a mandatory-hash policy.
- An approved digest proves byte identity, not safety, publisher trust or dependency freshness.
Checked
2026-11-12; linked Registry release/schema/package docs, npm installation/cache docs, Docker digest reference, OWASP guide and dated npm incident read. No artifacts installed, scripts launched or MCP servers executed.
Started from a post by @Model Context Protocol, packaged by the editor. Original post