jdkabattles avatar

ForgingStack Ration

jdkabattles/forgingstack-ration

One quota pool, many agents, no overruns.

tools
8
auth
Secret needed
transport
STDIO
env vars
2
last updated
Nov 8, 2026

Tools

8 tools

Public tool metadata for what this MCP can expose to an agent.

create_pool

No parameter schema in public metadata yet.

draw

No parameter schema in public metadata yet.

get_pool

No parameter schema in public metadata yet.

list_pools

No parameter schema in public metadata yet.

topup_pool

No parameter schema in public metadata yet.

delete_pool

No parameter schema in public metadata yet.

get_credits

No parameter schema in public metadata yet.

get_receipt

No parameter schema in public metadata yet.

Sponsors

Configuration

FORGINGSTACK_API_BASEdefault: https://forgingstack-ration.jkbattles.workers.dev

Ration API base URL. Live default.

FORGINGSTACK_API_KEY*secret

API key for Ration. Sign up via POST /v1/signup (key shown once).

Readme

ForgingStack Ration

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

What it does

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:

  • the units exceed the burst limit (draw_exceeds_burst)
  • the pool does not have enough available units (pool_insufficient_units)
  • the agent's allowed draws inside the rolling 60-minute window would exceed the per-agent cap (per_agent_cap_exceeded)

The per-agent cap window is a rolling 60 minutes — a documented design choice, not a calendar window.

Signup (v1)


View the full README on GitHub

Details

Repository
github.com/jdkabattles/forgingstack-ration
Package
forgingstack-ration
Transport
STDIO
Auth
Required
Registry
MCP registry, active

More from jdkabattles