Getting Started
Install
Section titled “Install”Install globally via npm:
npm install -g @mcptoolshop/shipcheckOr run directly:
npx @mcptoolshop/shipcheck initApply to a repo
Section titled “Apply to a repo”The full adoption takes about 30 minutes per repo:
1. Initialize (2 min)
Section titled “1. Initialize (2 min)”npx @mcptoolshop/shipcheck initThis auto-detects your repo type and copies the appropriate templates:
SHIP_GATE.md— the checklistSECURITY.md— vulnerability reporting templateCHANGELOG.md— change log templateSCORECARD.md— scoring template
2. Fill security baseline (5 min)
Section titled “2. Fill security baseline (5 min)”- Fill in
SECURITY.mdwith your contact email and response timeline - Add a threat model section to your README
3. Implement error shape (10 min)
Section titled “3. Implement error shape (10 min)”At minimum, all user-facing errors should have:
{ "code": "INPUT_TEXT_EMPTY", "message": "Text must not be empty", "hint": "Provide at least one character", "retryable": false}For CLI/MCP/desktop apps, add exit codes and a typed error class.
4. Update docs (5 min)
Section titled “4. Update docs (5 min)”- Ensure README is current
- Add or update CHANGELOG
- Verify LICENSE exists
- Check
--helpoutput is accurate (for CLIs)
5. Shipping hygiene (5 min)
Section titled “5. Shipping hygiene (5 min)”- Add a
verifyscript (build + test) - Confirm version matches tag
- Enable dependency scanning in CI
6. Review the gate (3 min)
Section titled “6. Review the gate (3 min)”Open SHIP_GATE.md and mark every line:
[x]— done (with date)SKIP: reason— not applicable to this repo[ ]— still needs work
7. Audit
Section titled “7. Audit”npx @mcptoolshop/shipcheck auditExits 0 when all hard gates pass. Exits 1 if gaps remain.
8. Dogfood check (optional)
Section titled “8. Dogfood check (optional)”If your org uses dogfood-labs for verification, you can also check Gate F:
npx @mcptoolshop/shipcheck dogfood --repo org/repo --surface cliThis verifies that a fresh, passing dogfood record exists. See the Reference page for all flags and enforcement modes.