MCP directory
R

Rein

by github.com/bugiiiii11 · v0.8.0 · updated Oct 18, 2026

Spend limits for AI agents that pay with x402: every paywall is policy-checked before a cent moves.

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @reinconsole/[email protected]

Environment variables

  • REIN_AGENT_FILE

    Path to the rein-agent.json written by `npx @reinconsole/init` (engine URL, agent id, API key, wallet).

  • REIN_ENGINE_URL

    Policy engine base URL. Required unless REIN_AGENT_FILE is set.

  • REIN_AGENT_ID

    The one agent this server speaks for. Required unless REIN_AGENT_FILE is set.

  • REIN_ENGINE_API_KEYsecret

    Bearer key for the engine, ideally an evaluate key narrowed to this agent.

  • REIN_PAYER_PRIVATE_KEYsecret

    Agent wallet key. Omit for advisory mode: policy is checked, nothing is paid.

  • REIN_NETWORK_PROFILE

    testnet (default) or mainnet: which network's 402s this server will pay.

More MCP servers