capacity-attest is an MCP server for AI agent capacity trading that addresses the lack of verifiable records of whether "the promised capacity was actually delivered" after an x402 payment completes. When a buyer agent pays via x402 for GPU hours, storage, API/inference quota, or bandwidth, the session ends and the delivery experience is lost, so the next agent that wants to trade with that seller has to start from scratch. This project lets the payer leave a cryptographically signed factual claim after settlement for other agents to query before transacting.
Main capabilities include: record_delivery, called by the buyer after x402 settlement, declaring delivered as yes/no/partial with an evidence hash; the server validates the schema, whether claimId is the content hash, and whether the signature recovers to buyerAddress, and upon passing appends to the append-only ledger data/claims.jsonl; get_delivery_history, which returns the raw claims from the local ledger sorted by time for a seller address, without aggregate scoring, and includes scope and explanatory text; since 0.4.0 it also includes a completeness field that analyzes the priorClaimId chain and flags possibleOmissions, but this field is computed by the same server and cannot be fully trusted, so it must be independently verified; discoverDeliveryHistory can aggregate, deduplicate, and re-verify claims from multiple untrusted sources (local ledger, EAS, HTTP endpoints); resolve_agent_identity performs read-only queries against the ERC-8004 Identity Registry, requires the caller to provide agentRegistryRef and rpcUrl, and does not fetch the content pointed to by tokenURI; publishReputationFeedback is a library function rather than an MCP tool, publishing the delivered fact of a signed claim via a mechanical mapping (yes=1.0, partial=0.5, no=0.0) to the ERC-8004 Reputation Registry's giveFeedback(), re-verifying the signature and checking that the agentId owner matches sellerAddress before writing.
Usage: it can be installed via npm install capacity-attest, and it is also listed in the official MCP registry (io.github.holistis/capacity-attest). The project provides several runnable examples and fixtures, such as npm run fixture, npm run discovery-fixture, examples/reputation-lookup.mjs, etc., for independently verifying the completeness checks and aggregation logic.
Applicable scenarios: x402-based capacity trading between AI agents, where the buyer records delivery facts after payment and potential buyers query the seller's history before transacting.
Limitations: the project is explicitly not reputation scoring, not a financial product, does not issue tokens, does not do credit extension, and does not provide an identity or dispute resolution layer; externalRefs only reference external systems. get_delivery_history reflects only the local ledger, and an empty history does not mean the seller is clean; the completeness check cannot detect a hidden last claim or an entirely hidden buyer; write operations require the caller to supply their own signer and gas, and the server does not store private keys. The project status is MVP, and the README describes the main branch code, which may be ahead of the published npm version, so the actual version should be checked before use.