ForgingStack Ration

v0.1.1
io.github.jdkabattles/forgingstack-ration Checked 3 days ago Published 8 days ago

One quota pool, many agents, no overruns.

Values you need

VariableWhat it is
FORGINGSTACK_API_BASEoptional Ration API base URL. Live default. Default: https://forgingstack-ration.jkbattles.workers.dev
FORGINGSTACK_API_KEYrequired secret API key for Ration. Sign up via POST /v1/signup (key shown once).

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add forgingstack-ration -e 'FORGINGSTACK_API_KEY=<FORGINGSTACK_API_KEY>' -- uvx forgingstack-ration==0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "forgingstack-ration": {
      "args": [
        "forgingstack-ration==0.1.1"
      ],
      "command": "uvx",
      "env": {
        "FORGINGSTACK_API_KEY": "<FORGINGSTACK_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "forgingstack-ration": {
      "args": [
        "forgingstack-ration==0.1.1"
      ],
      "command": "uvx",
      "env": {
        "FORGINGSTACK_API_KEY": "<FORGINGSTACK_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "FORGINGSTACK_API_KEY",
      "id": "forgingstack-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "forgingstack-ration": {
      "args": [
        "forgingstack-ration==0.1.1"
      ],
      "command": "uvx",
      "env": {
        "FORGINGSTACK_API_KEY": "${input:forgingstack-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.forgingstack-ration]
command = "uvx"
args = ["forgingstack-ration==0.1.1"]
env = { "FORGINGSTACK_API_KEY" = "<FORGINGSTACK_API_KEY>" }

For AI agents

  1. Ask the user for: FORGINGSTACK_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: create_pool, draw, get_pool, list_pools, topup_pool, delete_pool, get_credits, get_receipt.
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json