Skip to content

DOCS

MCP-SUPPLY-001

An MCP server command starts with npx, uvx, pip, pipx, bunx, pnpm dlx, or deno run https, and the package argument has no version pin. Git and tarball specs that contain :// also have no parseable version pin.

Why it matters

The package is downloaded again the next time the agent starts. The tool you reviewed can be replaced without a config change.

How to fix

Pin a version on the package argument, for example npx -y package@1.2.3 or uvx --from package==1.2.3. -y and --yes are flags. A scoped name such as @scope/pkg is unpinned until it has @1.2.3. A Docker image needs a tag other than latest. A name that is @latest is MCP-SUPPLY-002, not this rule. A git or tarball URL is unpinned; pin a commit, tag, or exact archive revision in the spec if the tool allows it, or replace it with a versioned registry package.

Current scanner

Current scans raise MCP-SUPPLY-001 at medium severity. Specs that contain :// and an @ are unpinned. v0.1.5 already flagged :// specs with no @ and did not raise this finding for specs that contain both.

Back to scan results.