CLI reference
Commands
| Command | Description |
|---|---|
check access | Access contract |
check config | Config contract |
check migration | Migration contract |
check boundary | Boundary contract |
check webhook | Webhook contract |
check restore | Restore contract |
check all | Every contract in config |
validate | Parse YAML only |
doctor | Credential / config diagnostics |
init | Scaffold config + optional MCP |
remote-mcp | Print remote MCP JSON for Cursor |
Global flags
| Flag | Description |
|---|---|
--config <path> | Config file (default: prodverdict.yml) |
--format text|json|agent | Output shape |
--fixtures | Use fixture data |
--fixtures-dir <path> | Scenario directory |
--strict | Exit 1 on warn |
--repo-root <path> | Repo root for migration scan |
Version
npx prodverdict --version
Upload to dashboard (optional)
export PRODVERDICT_API_URL=https://prodverdict.com
export PRODVERDICT_API_KEY=pv_...
export PRODVERDICT_PROJECT_ID=...
npx prodverdict check access --fixtures --upload
Examples
npx prodverdict init --stack nextjs-stripe --mcp --cursor-rule
npx prodverdict doctor --format agent
npx prodverdict check all --format agent