Docs · command line

Command line

The same package ships the unfragile command: verify prints a signed verdict for a package or MCP server, guard wraps an install command and blocks a flagged target.

Verify a package

verify a packagesh
npx -p @unfragile/mcp-server unfragile verify npm:postmark-mcp

Verdicts are trusted, caution, unverified or flagged. Unknown is never trusted. Exit code 1 means stop.

Guard an install

guard an installsh
npx -p @unfragile/mcp-server unfragile guard -- claude mcp add pg -- npx -y @scope/pg-mcp

It blocks a target it has checked and found flagged.

When the check cannot run

From version 0.12.0 it also stops when the check cannot be reached or no install target can be read: the command does not run. To run it anyway, pass --allow-unverified before the --; the guard prints a warning, and a flagged target stays blocked.