Skip to content
Windsurf

Reins for Windsurf

io.github.r2rlabs/reins

Risk limits and an audit log for AI agents trading Hyperliquid, enforced outside the model.

client:Windsurf transport:stdio runtime:npm

Install Reins in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

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

{
  "mcpServers": {
    "reins": {
      "command": "npx",
      "args": [
        "-y",
        "@r2rlabs/reins"
      ],
      "env": {
        "REINS_SYMBOLS": "<REINS_SYMBOLS>",
        "REINS_MAX_POSITION_USD": "<REINS_MAX_POSITION_USD>",
        "REINS_DAILY_LOSS_USD": "<REINS_DAILY_LOSS_USD>",
        "REINS_MAX_LEVERAGE": "<REINS_MAX_LEVERAGE>",
        "REINS_MODE": "<REINS_MODE>",
        "REINS_NETWORK": "<REINS_NETWORK>",
        "REINS_REQUIRE_STOP_LOSS": "<REINS_REQUIRE_STOP_LOSS>",
        "REINS_LOG_FILE": "<REINS_LOG_FILE>",
        "REINS_PAPER_FILE": "<REINS_PAPER_FILE>",
        "REINS_ACCOUNT_ADDRESS": "<REINS_ACCOUNT_ADDRESS>",
        "REINS_PRIVATE_KEY": "<REINS_PRIVATE_KEY>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

Reins in other clients