Repository avatar
AI Tools
v1.0.0
active

xguard-open-verifier

io.github.moelayyan90/xguard-open-verifier

Inspect signed x402 offers and merchant receipts against a local policy.

Documentation

XGuard Open Verifier

XGuard gives operators of open-source agents a way to inspect a merchant's signed x402 offer, approve one specific request and check the merchant receipt. The verifier runs locally on Node.js 24 under Apache-2.0. It works with independently configured merchants. The standalone package uses the Node standard library.

npm run verifier:demo
npm run verifier:test

The offline demo verifies sample artifacts and tries to use the same approval twice. Its output includes the price in token atomic units, the approval result and the reason the second use was rejected.

Hosted reference API

XGuard also runs a paid technical intelligence API. Its public catalog gives current service definitions and prices. A merchant can implement the same signed-offer profile under its own domain and keys. The verifier, its local policy, tests and demo run independently of this service.

Development

Use Node.js 24. To exercise the relay and the official MCP client as well as the standalone verifier, run the following commands from the repository root.

npm ci --prefix apps/relay
npm run check
npm test
npm run build

Production changes use the repository's pull request, CI and deployment workflows. A signed merchant receipt can be checked locally. Independent blockchain settlement and service delivery require their own evidence.

MCPB
https://github.com/moelayyan90/XGuard/releases/download/open-verifier-v1.0.0/xguard-open-verifier.mcpb
Install Command
# mcpb: https://github.com/moelayyan90/XGuard/releases/download/open-verifier-v1.0.0/xguard-open-verifier.mcpb