Skip to content

OpenCode ​

Merge the snippet into Workspace opencode.json. Keep existing servers and settings.

sh
npm install --prefix "C:/ShipWitness Tools" --save-exact shipwitness@0.1.1
json
{
  "mcp": {
    "servers": {
      "shipwitness": {
        "type": "local",
        "command": [
          "node",
          "C:/ShipWitness Tools/node_modules/shipwitness/dist/cli.js",
          "mcp",
          "--project-root",
          "C:/Projects/My App"
        ]
      }
    }
  }
}

Replace both paths with absolute paths. On Linux or macOS use paths such as /home/me/ShipWitness Tools and /home/me/My App. On Windows, use forward slashes as shown. Use the absolute Node executable as command if the client does not inherit your terminal’s PATH. ShipWitness requires Node.js 24. The agent needs access to the same machine and workspace.

Approve the local server in the client's trust UI if prompted. Restart or reload the client, then try list_checks and plan_verification. This configuration uses the read-only default.

For the skill, run npx skills add saifmodan2006/ShipWitness --agent opencode --skill shipwitness-verification from the target project, then reload skills.

OpenCode plugins and events can invoke commands. This guide does not install a completion hook.

OpenCode 1.19.6 on Windows reported the server connected in opencode mcp list using the published ShipWitness 0.1.1 CLI. A live model tool call remains untested.

Official MCP configuration