Agent♥︎Age
Catalog

XFuel

Official

by XFuel-Lab · JavaScript

Submit AI inference to XFuel, pay per task (USDC via x402 or TFUEL), fetch/verify ZK proofs.

io.github.XFuel-Lab/xfuel-mcp (Model Context Protocol Server)

This MCP server submits AI inference requests to XFuel, where usage is billed per task. It supports paying in USDC via x402 or TFUEL and can fetch and verify ZK proofs. It also provides signed receipts and access to possession-gated records about collected spend.

🛠️ Key Features

  • Submit AI inference to XFuel; pay per task
  • Pay in USDC via x402 or TFUEL
  • Fetch/verify ZK proofs
  • POST /v1/chat/completions returns a signed receipt (hub, model, amount, verify_url)
  • Possession-gated spend access via GET|POST /v1/agents/:agent_id/book

🚀 Use Cases

  • Inference requests with signed, verifiable receipts
  • Verifying ZK proofs on demand
  • Accessing last-N collected spend with possession gating

⚡ Developer Benefits

  • Receipt table stakes includes hub, model, amount, and verify_url
  • Signed receipt is provided via HMAC
  • SP1 settlement proof is available on demand

⚠️ Limitations

  • Without a collected USDC payment.ref, the receipt is only client-attested
  • Demo key chit402-demo skips payment (rate-limited)

Topics

ai-agentsmcpmodel-context-protocolx402zk-proofsbasesdksolana