mcp-usage-kit

UsageKit conformance suite

The versioned JSON vectors under crates/mcp-usage-core/conformance define the observable accounting contract independently of Rust, Tower, any billing provider, or any storage backend.

An implementation conforms to version 1 when it produces the expected verdict, unit quantity, free reason, and idempotency key for every vector. Implementations may add private behavior, but must fail toward free when a response is malformed or cannot be attributed safely.

Compatibility policy

The Rust reference test is compiled and run by workspace CI. Other languages can consume the JSON directly without reproducing the Rust type model.