ShipWitness

v0.2.0
io.github.saifmodan2006/shipwitness Checked 2 days ago Published 1 day ago

Inspect local software verification plans, results, and evidence.

Values you need

VariableWhat it is
SHIPWITNESS_PROJECT_ROOTrequired Absolute path to a workspace you authorize ShipWitness to inspect.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add shipwitness -e 'SHIPWITNESS_PROJECT_ROOT=<SHIPWITNESS_PROJECT_ROOT>' -- npx -y shipwitness@0.1.1 mcp --registry
Add to claude_desktop_config.json
{
  "mcpServers": {
    "shipwitness": {
      "args": [
        "-y",
        "shipwitness@0.1.1",
        "mcp",
        "--registry"
      ],
      "command": "npx",
      "env": {
        "SHIPWITNESS_PROJECT_ROOT": "<SHIPWITNESS_PROJECT_ROOT>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "shipwitness": {
      "args": [
        "-y",
        "shipwitness@0.1.1",
        "mcp",
        "--registry"
      ],
      "command": "npx",
      "env": {
        "SHIPWITNESS_PROJECT_ROOT": "<SHIPWITNESS_PROJECT_ROOT>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SHIPWITNESS_PROJECT_ROOT",
      "id": "shipwitness-project-root",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "shipwitness": {
      "args": [
        "-y",
        "shipwitness@0.1.1",
        "mcp",
        "--registry"
      ],
      "command": "npx",
      "env": {
        "SHIPWITNESS_PROJECT_ROOT": "${input:shipwitness-project-root}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.shipwitness]
command = "npx"
args = ["-y", "shipwitness@0.1.1", "mcp", "--registry"]
env = { "SHIPWITNESS_PROJECT_ROOT" = "<SHIPWITNESS_PROJECT_ROOT>" }

For AI agents

  1. Ask the user for: SHIPWITNESS_PROJECT_ROOT. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: detect_project, list_checks, plan_verification, execute_checks, get_run, get_evidence, compare_runs, evaluate_policy.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json