Rein

io.github.bugiiiii11/rein

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "rein": {
      "command": "npx",
      "args": [
        "-y",
        "@reinconsole/mcp@0.8.0"
      ],
      "env": {
        "REIN_ENGINE_API_KEY": "<your REIN_ENGINE_API_KEY>",
        "REIN_PAYER_PRIVATE_KEY": "<your REIN_PAYER_PRIVATE_KEY>"
      }
    }
  }
}
Environment variables
  • REIN_ENGINE_API_KEYsecretBearer key for the engine, ideally an evaluate key narrowed to this agent.
  • REIN_PAYER_PRIVATE_KEYsecretAgent wallet key. Omit for advisory mode: policy is checked, nothing is paid.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.8.0
Registry
active
Published
10/18/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Rein is listed here — it’s also the link we check for a free listing.

Rein — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-bugiiiii11-rein?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Rein — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Rein — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-bugiiiii11-rein?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.