Reins

by R2Rlabsio.github.R2Rlabs/hyperliquid-reinsv0.1.8

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

  • Runs on your machine
  • No known advisories
  • MIT

Version checks

  • Available on npm, latest 0.1.8 · checked

Not run yet – package checks are being switched on. It runs from a package on your machine, so instead of uptime we will start each new version in our sandbox.

How we check

Run it on your machine

Run in a terminal:

codex mcp add hyperliquid-reins --env REINS_SYMBOLS=YOUR_REINS_SYMBOLS --env REINS_MAX_POSITION_USD=YOUR_REINS_MAX_POSITION_USD --env REINS_DAILY_LOSS_USD=YOUR_REINS_DAILY_LOSS_USD -- npx -y @r2rlabs/[email protected]

Replace YOUR_REINS_SYMBOLS,YOUR_REINS_MAX_POSITION_USD,YOUR_REINS_DAILY_LOSS_USD with your own values.

For agents: the install prompt

Every step above as one Markdown text, for an assistant installing it for you.

# Install the MCP server Reins (`io.github.R2Rlabs/hyperliquid-reins`)

Its page: https://plug.directory/servers/io.github.R2Rlabs/hyperliquid-reins

It runs on the person's machine and needs Node.js installed.

Ask the person for `YOUR_REINS_SYMBOLS`, `YOUR_REINS_MAX_POSITION_USD`, `YOUR_REINS_DAILY_LOSS_USD` and put it in place of the placeholder; never invent a value.

Use the section for the person's client.

## Claude Desktop, Cursor, Devin Desktop, Cline, LM Studio, Gemini CLI, mcp-client-cli, oterm, TUUI, BoltAI, AnythingLLM, Augment Code, Bob Shell, ECA, Kiro, Kiro CLI

Merge into the place for the person's client:

- Claude Desktop: claude_desktop_config.json (Settings › Developer › Edit Config)
- Cursor: ~/.cursor/mcp.json
- Devin Desktop: ~/.config/devin/mcp_config.json
- Cline: cline_mcp_settings.json (MCP Servers › Configure › Configure MCP Servers)
- LM Studio: mcp.json (Program › Install › Edit mcp.json)
- Gemini CLI: ~/.gemini/settings.json
- mcp-client-cli: ~/.llm/config.json
- oterm: config.json in oterm's data folder (~/Library/Application Support/oterm on macOS, ~/.local/share/oterm on Linux, %APPDATA%\oterm on Windows)
- TUUI: resources/assets/config/mcp.json in the installed app
- BoltAI: ~/.boltai/mcp.json
- AnythingLLM: anythingllm_mcp_servers.json in the AnythingLLM storage plugins directory
- Augment Code: Augment Settings Panel – MCP section – Import from JSON (VS Code extension)
- Bob Shell: ~/.bob/settings/mcp.json (global) or .bob/mcp.json (project)
- ECA: ~/.config/eca/config.json (global) or .eca/config.json in the project
- Kiro: ~/.kiro/settings/mcp.json (user) or .kiro/settings/mcp.json (workspace)
- Kiro CLI: ~/.kiro/settings/mcp.json (user) or .kiro/settings/mcp.json (workspace)

```json
{
  "mcpServers": {
    "hyperliquid-reins": {
      "command": "npx",
      "args": ["-y", "@r2rlabs/[email protected]"],
      "env": { "REINS_SYMBOLS": "YOUR_REINS_SYMBOLS", "REINS_MAX_POSITION_USD": "YOUR_REINS_MAX_POSITION_USD", "REINS_DAILY_LOSS_USD": "YOUR_REINS_DAILY_LOSS_USD" }
    }
  }
}
```

## Claude Code

Run in a terminal:

```sh
claude mcp add --env REINS_SYMBOLS=YOUR_REINS_SYMBOLS --env REINS_MAX_POSITION_USD=YOUR_REINS_MAX_POSITION_USD --env REINS_DAILY_LOSS_USD=YOUR_REINS_DAILY_LOSS_USD --transport stdio hyperliquid-reins -- npx -y @r2rlabs/[email protected]
```

## VS Code

Merge into .vscode/mcp.json:

```json
{
  "servers": {
    "hyperliquid-reins": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@r2rlabs/[email protected]"],
      "env": { "REINS_SYMBOLS": "YOUR_REINS_SYMBOLS", "REINS_MAX_POSITION_USD": "YOUR_REINS_MAX_POSITION_USD", "REINS_DAILY_LOSS_USD": "YOUR_REINS_DAILY_LOSS_USD" }
    }
  }
}
```

## Zed

Merge into ~/.config/zed/settings.json:

```json
{
  "context_servers": {
    "hyperliquid-reins": {
      "command": "npx",
      "args": ["-y", "@r2rlabs/[email protected]"],
      "env": { "REINS_SYMBOLS": "YOUR_REINS_SYMBOLS", "REINS_MAX_POSITION_USD": "YOUR_REINS_MAX_POSITION_USD", "REINS_DAILY_LOSS_USD": "YOUR_REINS_DAILY_LOSS_USD" }
    }
  }
}
```

## Continue

Merge into ~/.continue/config.yaml:

```yaml
mcpServers:
  - name: "hyperliquid-reins"
    type: stdio
    command: "npx"
    args:
      - "-y"
      - "@r2rlabs/[email protected]"
    env:
      "REINS_SYMBOLS": "YOUR_REINS_SYMBOLS"
      "REINS_MAX_POSITION_USD": "YOUR_REINS_MAX_POSITION_USD"
      "REINS_DAILY_LOSS_USD": "YOUR_REINS_DAILY_LOSS_USD"
```

## Goose

Merge into ~/.config/goose/config.yaml:

```yaml
extensions:
  "hyperliquid-reins":
    type: stdio
    name: "hyperliquid-reins"
    enabled: true
    cmd: "npx"
    args: ["-y", "@r2rlabs/[email protected]"]
    env_keys: []
    envs: { "REINS_SYMBOLS": "YOUR_REINS_SYMBOLS", "REINS_MAX_POSITION_USD": "YOUR_REINS_MAX_POSITION_USD", "REINS_DAILY_LOSS_USD": "YOUR_REINS_DAILY_LOSS_USD" }
    timeout: 300
```

## Codex

Run in a terminal:

```sh
codex mcp add hyperliquid-reins --env REINS_SYMBOLS=YOUR_REINS_SYMBOLS --env REINS_MAX_POSITION_USD=YOUR_REINS_MAX_POSITION_USD --env REINS_DAILY_LOSS_USD=YOUR_REINS_DAILY_LOSS_USD -- npx -y @r2rlabs/[email protected]
```

## Agenvoy

Merge into ~/.config/agenvoy/mcp.json:

```json
{
  "servers": {
    "hyperliquid-reins": {
      "command": "npx",
      "args": ["-y", "@r2rlabs/[email protected]"],
      "env": { "REINS_SYMBOLS": "YOUR_REINS_SYMBOLS", "REINS_MAX_POSITION_USD": "YOUR_REINS_MAX_POSITION_USD", "REINS_DAILY_LOSS_USD": "YOUR_REINS_DAILY_LOSS_USD" }
    }
  }
}
```

## Amp

Merge into ~/.config/amp/settings.json (user) or .amp/settings.json (workspace):

```json
{
  "amp.mcpServers": {
    "hyperliquid-reins": {
      "command": "npx",
      "args": ["-y", "@r2rlabs/[email protected]"],
      "env": { "REINS_SYMBOLS": "YOUR_REINS_SYMBOLS", "REINS_MAX_POSITION_USD": "YOUR_REINS_MAX_POSITION_USD", "REINS_DAILY_LOSS_USD": "YOUR_REINS_DAILY_LOSS_USD" }
    }
  }
}
```

Then restart the client, or reload its MCP servers, and ask it to list the server's tools to confirm it started.

Known advisories

None known for its packages.

Checked 2026-10-28 against OSV.dev and deps.dev.

From the publisher's entry in the Official MCP Registry (the registry entry)and from npm. We have not checked this server yet. Report a problem