Skip to content

Reference

Terminal window
npx @mcptoolshop/shipcheck init

Auto-detects your repo type (npm, pypi, vsix, desktop, container) and copies the appropriate templates into your repo root:

  • SHIP_GATE.md — the pre-release checklist
  • SECURITY.md — vulnerability reporting template
  • CHANGELOG.md — change log template
  • SCORECARD.md — pre/post remediation scoring
Terminal window
npx @mcptoolshop/shipcheck audit

Reads SHIP_GATE.md, counts checked/unchecked/skipped items, and reports:

  • Exit 0 if all hard gates pass
  • Exit 1 if gaps remain
Terminal window
npx @mcptoolshop/shipcheck dogfood --repo org/repo --surface cli

Checks the dogfood-labs index for a fresh, verified, passing dogfood record. This is Gate F.

Flags:

FlagRequiredDefaultDescription
--repoyesTarget repo slug (e.g. mcp-tool-shop-org/shipcheck)
--surfaceyesProduct surface (e.g. cli, desktop)
--freshness-daysno30Maximum age in days for the dogfood record
--dogfood-reponomcp-tool-shop-org/dogfood-labsOverride the dogfood-labs repo
--dogfood-refnomainOverride the dogfood-labs branch

Enforcement modes (set via per-repo policy files in dogfood-labs):

  • required — Gate F blocks on failure (default)
  • warn-only — Prints a warning but exits 0
  • exempt — Skips the check entirely
Terminal window
npx @mcptoolshop/shipcheck help

Prints usage information. Also available via --help or -h. Running with no arguments defaults to help.

Terminal window
npx @mcptoolshop/shipcheck --version

Prints the current version. Also available via -V.

VariableEffect
SHIPCHECK_JSONWhen set to any truthy value, error output is emitted as structured JSON instead of coloured text
TemplatePurpose
SHIP_GATE.md31 hard + 4 soft pre-release checklist
SECURITY.mdVulnerability report email, response timeline, threat scope
CHANGELOG.mdStructured change log (Keep a Changelog format)
SCORECARD.mdPre/post remediation scoring by category
HANDBOOK.mdOperational field manual (for complex tools only)

The scorecard tracks maturity across the 5 gate categories:

CategoryMax score
A. Security Baselinevaries by repo type
B. Error Handlingvaries by repo type
C. Operator Docsvaries by repo type
D. Shipping Hygienevaries by repo type
E. Identity (soft)4

Scores reflect actual gate results from shipcheck audit, not estimates. Items marked SKIP with justification are excluded from the denominator.

Every repo that passes shipcheck must be at v1.0.0 or higher. Pre-1.0 repos get promoted to 1.0.0, not patch-bumped. Repos already at v1.x+ get a patch bump.

  • Shipcheck = quality audit (does it meet standards?)
  • The Treatment = polish + publish (badges, translations, coverage, landing page)
  • Order: Shipcheck first, then The Treatment