Skip to main content
Glama

ShipWitness

AI writes. ShipWitness verifies.

npm version npm monthly downloads MIT License Cross-platform CI Documentation

ShipWitness runs software verification locally and records the evidence behind a release decision. Use it to check a project before merging, deploying, or claiming a task is complete.

ShipWitness dashboard showing three passing checks, two skipped checks, and two verified requirements from the working example

Quick start

Requires Node.js 24 LTS. Install ShipWitness from npm, then run the first check in a project directory. The GitHub release also provides the tarball and its checksum.

Try the first check from a project directory without a global install.

npx --yes shipwitness@0.1.1 verify --only secrets

For repeated use, install the CLI globally.

npm install --global shipwitness@0.1.1
shipwitness verify --only secrets

To build from source, use pnpm 11.25.0.

git clone https://github.com/saifmodan2006/ShipWitness.git
cd ShipWitness
pnpm install --frozen-lockfile
pnpm --filter shipwitness... run build
node packages/cli/dist/cli.js -C examples/working verify --plan
node packages/cli/dist/cli.js -C examples/working verify --approve --only build,test,secrets
node packages/cli/dist/cli.js -C examples/working dashboard

From a project with ShipWitness installed, shipwitness verify --only secrets records a first run without starting your app or running its scripts. Use shipwitness init to discover scripts and set mandatory checks. Review shipwitness verify --plan before approving scripts.

Run the intentionally broken fixture to see failing build, test, environment and migration checks.

node packages/cli/dist/cli.js -C examples/broken verify --approve --only build,test,environment,migrations --ci

Related MCP server: Vibgrate AI Context

What it verifies

Area

Evidence

Project scripts

npm and pnpm build, lint, type-check and test output, exit codes and timings

Environment and API

Missing variable names, HTTP status and JSON field type checks

Browser and visual

Desktop and mobile overflow, axe findings, page errors and exact PNG comparison

Security and migrations

Local credential signatures, package-manager advisories and SQL risk patterns

Release decisions

Mandatory checks, requirement mappings, Git-aware secret scanning and saved run comparisons

The CLI, dashboard, MCP server, and GitHub Action share the same engine and run format.

The read-only MCP launcher is available through the official MCP Registry. Set SHIPWITNESS_PROJECT_ROOT to the absolute path of the workspace you want it to inspect.

flowchart LR
    CLI[CLI] --> Engine[Verification engine]
    MCP[Stdio MCP] --> Engine
    Action[GitHub Action] --> CLI
    Engine --> Checks[Checks and trusted plugins]
    Checks --> Policy[Evidence and release policy]
    Policy --> Runs[(Local JSON and screenshots)]
    Runs --> Reports[JSON and HTML reports]
    Runs --> Dashboard[Loopback dashboard]

Security and limits

Preview plans before approving scripts or network requests. Approved scripts run with the current user's permissions. Use an isolated disposable environment for untrusted projects. Secret and migration checks are heuristic. A skipped mandatory check fails the release policy. See SECURITY.md.

Use --docker to execute npm checks in disposable Linux containers with the network disabled during script execution. Use shipwitness report --share for a summary without logs or images, and shipwitness report --verify-integrity to verify the stored SHA-256 hashes.

Read the documentation site for the CLI, Docker mode, configuration, agent hooks, GitHub Actions, and plugin integration. See release instructions and contributor setup.

See the generated-code failure and fix demo and measured benchmarks and test coverage. MIT licensed.

If you try ShipWitness on your own project, share your setup and observations in the independent testing discussion.

60-second replay of a failed ShipWitness run and a successful rerun after the fix

Available Tools

8 tools
compare_runsC
Read-only

Compare two stored runs

Inputs: current (required), previous (required).

detect_projectC
Read-only

Detect the fixed workspace

Inputs: no named parameters.

evaluate_policyC
Read-only

Evaluate mandatory checks against a stored run

Inputs: id (required), mandatory (required).

execute_checksB

Execute a previewed plan within permissions granted at server startup

Inputs: planHash (required), base, only.

get_evidenceC
Read-only

Read referenced evidence metadata with no raw logs or screenshot pixels

Inputs: id (required), name (required).

get_runC
Read-only

Read stored check status and evidence references

Inputs: id (required).

list_checksA
Read-only

List built-in verification checks

Inputs: no named parameters.

plan_verificationC
Read-only

Preview verification before requesting execution

Inputs: base, only.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool maps to a distinct step in the verification workflow: discovery, planning, execution, retrieval, comparison, and policy evaluation. Potential pairs like plan_verification/execute_checks and get_run/get_evidence are clearly separated by their descriptions.

    Naming Consistency5/5

    All tool names use consistent snake_case with a predictable verb_noun structure such as detect_project, list_checks, execute_checks, and compare_runs. There are no mixed conventions or vague standalone verbs.

    Tool Count5/5

    Eight tools is well-scoped for a verification/audit workflow, with each tool covering a meaningful stage rather than duplicating functionality. The set feels intentionally designed around planning, execution, evidence, and policy review.

    Completeness4/5

    The surface covers the core verification lifecycle from project detection and check listing through execution, evidence retrieval, run comparison, and policy evaluation. However, there is no obvious list_runs or run-discovery tool, which may make it harder to find stored run IDs for compare_runs and get_run.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      A secure, local-first MCP server for read-only inspection and troubleshooting of development environments, exposing narrow, typed, auditable capabilities for repository inspection, log summarization, Docker review, and security scanning without granting unrestricted machine access.
      8
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A read-only MCP server that lets AI assistants inspect local workspace files, search context, view git diffs, and fetch a fixed GitHub profile, all within a sandboxed stdio transport.
      5
      ISC