Receipt Gate

v0.2.0
io.github.adekvatologiy/receipt-gate Checked 4 days ago Published 13 days ago

Holds an agent's claim of completion until an independent adapter observes the promised state.

Values you need

VariableWhat it is
RECEIPT_GATE_LEDGERoptional Path of the append-only, hash-chained ledger. Open promises are read back from it, so the same path across runs keeps the debts. Default: ./ledger.jsonl
RECEIPT_GATE_ROOToptional The root every adapter path stays inside. A configured path resolving outside it is refused. Default: .

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add receipt-gate -- uvx receipt-gate==0.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "receipt-gate": {
      "args": [
        "receipt-gate==0.2.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "receipt-gate": {
      "args": [
        "receipt-gate==0.2.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "receipt-gate": {
      "args": [
        "receipt-gate==0.2.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.receipt-gate]
command = "uvx"
args = ["receipt-gate==0.2.0"]

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: open_promise, request_capability, record_action, claim_done, settle, cancel_by_owner, impossible_in_scope, hand_over, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json