npm · @bsvkey/inference-mcp
$npx -y @bsvkey/inference-mcp@1.3.3 BSVKEY_API_KEY · secret — A funded channel key in the form channelId:channelSecret. Open + fund a channel once at https://inference.bsvkey.com. Optional (can be passed per call).
BSVKEY_BASE_URL — Gateway base URL. Defaults to https://inference.bsvkey.com/v1; override to point at a self-hosted deployment.
BSVKEY_WIF · secret — A funded BSV private key (WIF) used by the x402_infer tool to pay per call in BSV (no channel). Signing is local; the key never leaves the process. Optional (can be passed per call).
BSVKEY_FUNDED_SATS — The amount you funded your channel with on-chain. When set, usage receipts are verified against this instead of the broker-signed fundedSats. Optional (can be passed per call as fundedSats).
BSVKEY_RECEIPT_STATE — Path to a JSON file where per-channel receipt continuity (seq + running totals) is persisted, so replays are caught across restarts. Optional; in-memory only if unset.