Skip to content
Claude Desktop

Rein for Claude Desktop

io.github.bugiiiii11/rein

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

client:Claude Desktop transport:stdio runtime:npm

Install Rein in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "rein": {
      "command": "npx",
      "args": [
        "-y",
        "@reinconsole/mcp"
      ],
      "env": {
        "REIN_AGENT_FILE": "<REIN_AGENT_FILE>",
        "REIN_ENGINE_URL": "<REIN_ENGINE_URL>",
        "REIN_AGENT_ID": "<REIN_AGENT_ID>",
        "REIN_ENGINE_API_KEY": "<REIN_ENGINE_API_KEY>",
        "REIN_PAYER_PRIVATE_KEY": "<REIN_PAYER_PRIVATE_KEY>",
        "REIN_NETWORK_PROFILE": "<REIN_NETWORK_PROFILE>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

Rein in other clients