Search / io.github.R2Rlabs/hyperliquid-reins
Reins
L0· runs locallyRisk limits and an audit log for AI agents trading Hyperliquid, enforced outside the model.
v0.1.8 · active · repository · website · descriptor JSON · versions
Search / io.github.R2Rlabs/hyperliquid-reins
L0· runs locallyRisk limits and an audit log for AI agents trading Hyperliquid, enforced outside the model.
v0.1.8 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"hyperliquid-reins": {
"command": "npx",
"args": [
"-y",
"@r2rlabs/[email protected]"
],
"env": {
"REINS_SYMBOLS": "${REINS_SYMBOLS}",
"REINS_MAX_POSITION_USD": "${REINS_MAX_POSITION_USD}",
"REINS_DAILY_LOSS_USD": "${REINS_DAILY_LOSS_USD}",
"REINS_MAX_LEVERAGE": "3",
"REINS_MODE": "paper",
"REINS_NETWORK": "testnet",
"REINS_REQUIRE_STOP_LOSS": "false",
"REINS_PRIVATE_KEY": "${REINS_PRIVATE_KEY}"
}
}
}
}claude mcp add hyperliquid-reins -e "REINS_SYMBOLS=${REINS_SYMBOLS}" -e "REINS_MAX_POSITION_USD=${REINS_MAX_POSITION_USD}" -e "REINS_DAILY_LOSS_USD=${REINS_DAILY_LOSS_USD}" -e "REINS_MAX_LEVERAGE=3" -e "REINS_MODE=paper" -e "REINS_NETWORK=testnet" -e "REINS_REQUIRE_STOP_LOSS=false" -e "REINS_PRIVATE_KEY=${REINS_PRIVATE_KEY}" -- npx -y @r2rlabs/[email protected][mcp_servers.hyperliquid-reins]
command = "npx"
args = ["-y", "@r2rlabs/[email protected]"]
env = { "REINS_SYMBOLS" = "${REINS_SYMBOLS}", "REINS_MAX_POSITION_USD" = "${REINS_MAX_POSITION_USD}", "REINS_DAILY_LOSS_USD" = "${REINS_DAILY_LOSS_USD}", "REINS_MAX_LEVERAGE" = "3", "REINS_MODE" = "paper", "REINS_NETWORK" = "testnet", "REINS_REQUIRE_STOP_LOSS" = "false", "REINS_PRIVATE_KEY" = "${REINS_PRIVATE_KEY}" }
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"hyperliquid-reins": {
"type": "local",
"command": [
"npx",
"-y",
"@r2rlabs/[email protected]"
],
"enabled": true,
"environment": {
"REINS_SYMBOLS": "{env:REINS_SYMBOLS}",
"REINS_MAX_POSITION_USD": "{env:REINS_MAX_POSITION_USD}",
"REINS_DAILY_LOSS_USD": "{env:REINS_DAILY_LOSS_USD}",
"REINS_MAX_LEVERAGE": "3",
"REINS_MODE": "paper",
"REINS_NETWORK": "testnet",
"REINS_REQUIRE_STOP_LOSS": "false",
"REINS_PRIVATE_KEY": "{env:REINS_PRIVATE_KEY}"
}
}
}
}{
"mcpServers": {
"hyperliquid-reins": {
"command": "npx",
"args": [
"-y",
"@r2rlabs/[email protected]"
],
"env": {
"REINS_SYMBOLS": "${REINS_SYMBOLS}",
"REINS_MAX_POSITION_USD": "${REINS_MAX_POSITION_USD}",
"REINS_DAILY_LOSS_USD": "${REINS_DAILY_LOSS_USD}",
"REINS_MAX_LEVERAGE": "3",
"REINS_MODE": "paper",
"REINS_NETWORK": "testnet",
"REINS_REQUIRE_STOP_LOSS": "false",
"REINS_PRIVATE_KEY": "${REINS_PRIVATE_KEY}"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=hyperliquid-reins&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkByMnJsYWJzL3JlaW5zQDAuMS44Il0sImVudiI6eyJSRUlOU19TWU1CT0xTIjoiJHtSRUlOU19TWU1CT0xTfSIsIlJFSU5TX01BWF9QT1NJVElPTl9VU0QiOiIke1JFSU5TX01BWF9QT1NJVElPTl9VU0R9IiwiUkVJTlNfREFJTFlfTE9TU19VU0QiOiIke1JFSU5TX0RBSUxZX0xPU1NfVVNEfSIsIlJFSU5TX01BWF9MRVZFUkFHRSI6IjMiLCJSRUlOU19NT0RFIjoicGFwZXIiLCJSRUlOU19ORVRXT1JLIjoidGVzdG5ldCIsIlJFSU5TX1JFUVVJUkVfU1RPUF9MT1NTIjoiZmFsc2UiLCJSRUlOU19QUklWQVRFX0tFWSI6IiR7UkVJTlNfUFJJVkFURV9LRVl9In19"
}{
"servers": {
"hyperliquid-reins": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@r2rlabs/[email protected]"
],
"env": {
"REINS_SYMBOLS": "${REINS_SYMBOLS}",
"REINS_MAX_POSITION_USD": "${REINS_MAX_POSITION_USD}",
"REINS_DAILY_LOSS_USD": "${REINS_DAILY_LOSS_USD}",
"REINS_MAX_LEVERAGE": "3",
"REINS_MODE": "paper",
"REINS_NETWORK": "testnet",
"REINS_REQUIRE_STOP_LOSS": "false",
"REINS_PRIVATE_KEY": "${REINS_PRIVATE_KEY}"
}
}
}
}{
"mcpServers": {
"hyperliquid-reins": {
"command": "npx",
"args": [
"-y",
"@r2rlabs/[email protected]"
],
"env": {
"REINS_SYMBOLS": "${REINS_SYMBOLS}",
"REINS_MAX_POSITION_USD": "${REINS_MAX_POSITION_USD}",
"REINS_DAILY_LOSS_USD": "${REINS_DAILY_LOSS_USD}",
"REINS_MAX_LEVERAGE": "3",
"REINS_MODE": "paper",
"REINS_NETWORK": "testnet",
"REINS_REQUIRE_STOP_LOSS": "false",
"REINS_PRIVATE_KEY": "${REINS_PRIVATE_KEY}"
}
}
}
}extensions:
"hyperliquid-reins":
enabled: true
name: "hyperliquid-reins"
type: stdio
cmd: "npx"
args:
- "-y"
- "@r2rlabs/[email protected]"
envs:
"REINS_SYMBOLS": "${REINS_SYMBOLS}"
"REINS_MAX_POSITION_USD": "${REINS_MAX_POSITION_USD}"
"REINS_DAILY_LOSS_USD": "${REINS_DAILY_LOSS_USD}"
"REINS_MAX_LEVERAGE": "3"
"REINS_MODE": "paper"
"REINS_NETWORK": "testnet"
"REINS_REQUIRE_STOP_LOSS": "false"
"REINS_PRIVATE_KEY": "${REINS_PRIVATE_KEY}"
timeout: 300
Placeholders to fill from your own secret store: ${REINS_PRIVATE_KEY}. The registry never accepts secret values.
This is a local package: the command runs on your machine.
Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)stability.changes, stability.rug_pulltool list unknowndeps.known_vulnsno known advisory in 18 resolved packagesdeps.mcp_sdk_version@modelcontextprotocol/server 2.3.0, no known advisorydeps.resolvable@r2rlabs/[email protected] resolved: 18 packagesNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo +website ~liveness-unmeasured +updated-16d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
@r2rlabs/[email protected] npm17 dependencies, resolved · MCP SDK @modelcontextprotocol/server 2.3.0 · advisories checked 2026-10-19
No known advisory affects this dependency graph.
Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
@r2rlabs/reins | npm | 0.1.8 | npx | REINS_PRIVATE_KEY |
No tools observed. Local packages are never executed by the registry.
Schemas: list_tools.
{
"name": "io.github.R2Rlabs/hyperliquid-reins",
"title": "Reins",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "0.1.8",
"packages": [
{
"version": "0.1.8",
"transport": {
"type": "stdio"
},
"identifier": "@r2rlabs/reins",
"runtimeHint": "npx",
"registryType": "npm",
"environmentVariables": [
{
"name": "REINS_SYMBOLS",
"format": "string",
"isRequired": true,
"description": "Markets the agent may trade, comma separated, e.g. BTC,ETH. Every other market is refused.",
"placeholder": "BTC,ETH"
},
{
"name": "REINS_MAX_POSITION_USD",
"format": "number",
"isRequired": true,
"description": "Largest position per market, in USD.",
"placeholder": "5000"
},
{
"name": "REINS_DAILY_LOSS_USD",
"format": "number",
"isRequired": true,
"description": "Realised loss in a UTC day after which new risk is refused.",
"placeholder": "500"
},
{
"name": "REINS_MAX_LEVERAGE",
"format": "number",
"default": "3",
"description": "Largest total exposure as a multiple of account value."
},
{
"name": "REINS_MODE",
"format": "string",
"choices": [
"paper",
"live"
],
"default": "paper",
"description": "paper (live prices, simulated fills, nothing signed) or live."
},
{
"name": "REINS_NETWORK",
"format": "string",
"choices": [
"testnet",
"mainnet"
],
"default": "testnet",
"description": "Hyperliquid network for prices and, in live mode, orders. Mainnet spends real money."
},
{
"name": "REINS_REQUIRE_STOP_LOSS",
"format": "boolean",
"default": "false",
"description": "true to refuse any order that adds risk without a stop-loss."
},
{
"name": "REINS_LOG_FILE",
"format": "filepath",
"description": "Decision log, one JSON line per action with the agent's stated reason. In memory if unset."
},
{
"name": "REINS_PAPER_FILE",
"format": "filepath",
"description": "Where the paper account is kept between runs. In memory if unset."
},
{
"name": "REINS_ACCOUNT_ADDRESS",
"format": "string",
"description": "Live mode: the Hyperliquid account traded. Approve Reins' 2 bp builder fee from it first: npx @r2rlabs/reins approve-builder"
},
{
"name": "REINS_PRIVATE_KEY",
"format": "string",
"isSecret": true,
"description": "Live mode: an API wallet's key, which can trade but not withdraw. Never the account's own key."
}
]
}
],
"repository": {
"url": "https://github.com/R2Rlabs/reins",
"source": "github"
},
"websiteUrl": "https://r2rlabs.com",
"description": "Risk limits and an audit log for AI agents trading Hyperliquid, enforced outside the model."
}