DidWork

v0.1.4
sh.didwork/didwork Checked 6 hours ago Published 16 hours ago

Independent outcome evidence to verify completion and guide agents through authorized recovery

Values you need

VariableWhat it is
DIDWORK_API_KEYoptional secret DidWork API key, free at https://didwork.sh/console. Optional: the server falls back to the ~/.didwork/api_key file (or DIDWORK_API_KEY_FILE); with no key at all it runs keyless and only http.ok claims verify.
DIDWORK_BASE_URLoptional Override the DidWork API base URL (defaults to the hosted API)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add didwork -- npx -y --package=@didwork/mcp@0.1.4 didwork-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "didwork": {
      "args": [
        "-y",
        "--package=@didwork/mcp@0.1.4",
        "didwork-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "didwork": {
      "args": [
        "-y",
        "--package=@didwork/mcp@0.1.4",
        "didwork-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "didwork": {
      "args": [
        "-y",
        "--package=@didwork/mcp@0.1.4",
        "didwork-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.didwork]
command = "npx"
args = ["-y", "--package=@didwork/mcp@0.1.4", "didwork-mcp"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: did_verify, did_get, did_verify_contract, did_get_run, did_list, did_watch, did_watches, did_unwatch, ….
  4. 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