
One quota pool, many agents, no overruns.
Public tool metadata for what this MCP can expose to an agent.
create_poolNo parameter schema in public metadata yet.
drawNo parameter schema in public metadata yet.
get_poolNo parameter schema in public metadata yet.
list_poolsNo parameter schema in public metadata yet.
topup_poolNo parameter schema in public metadata yet.
delete_poolNo parameter schema in public metadata yet.
get_creditsNo parameter schema in public metadata yet.
get_receiptNo parameter schema in public metadata yet.
Sponsors
FORGINGSTACK_API_BASEdefault: https://forgingstack-ration.jkbattles.workers.devRation API base URL. Live default.
FORGINGSTACK_API_KEY*secretAPI key for Ration. Sign up via POST /v1/signup (key shown once).
One quota pool, many agents, no overruns.
mcp-name: io.github.jdkabattles/forgingstack-ration
This is the public client for Ration. The service itself — the token bucket, the receipt chain, the key store, and billing — runs on ForgingStack's private service and is not in this repo. Copying this repo does not give you the service: you still need an API key and credits, from signup below.
Live API: https://forgingstack-ration.jkbattles.workers.dev
A principal creates a pool with a capacity, a refill rate, a per-agent cap, and a burst limit. Agents draw units from it. The pool enforces the limits and issues a hash-chained receipt for every draw attempt — allowed and denied.
A draw is denied when:
draw_exceeds_burst)pool_insufficient_units)per_agent_cap_exceeded)The per-agent cap window is a rolling 60 minutes — a documented design choice, not a calendar window.
forgingstack-ration