Rein
io.github.bugiiiii11/rein
v0.8.0Updated Oct 18, 2026stdio · npm
Spend limits for AI agents that pay with x402: every paywall is policy-checked before a cent moves.
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add rein -- npx -y @reinconsole/[email protected]Configuration
6 settings.
REIN_ENGINE_API_KEYEnv var· optional· secretBearer key for the engine, ideally an evaluate key narrowed to this agent.REIN_PAYER_PRIVATE_KEYEnv var· optional· secretAgent wallet key. Omit for advisory mode: policy is checked, nothing is paid.REIN_AGENT_FILEEnv var· optionalPath to the rein-agent.json written by `npx @reinconsole/init` (engine URL, agent id, API key, wallet).REIN_ENGINE_URLEnv var· optionalPolicy engine base URL. Required unless REIN_AGENT_FILE is set.REIN_AGENT_IDEnv var· optionalThe one agent this server speaks for. Required unless REIN_AGENT_FILE is set.REIN_NETWORK_PROFILEEnv var· optionaltestnet (default) or mainnet: which network's 402s this server will pay.
Links
Listed in the official MCP Registry since Oct 18, 2026. Mirrored daily; last checked Nov 26, 2026.