What is the Reins MCP server?
Risk limits and an audit log for AI agents trading Hyperliquid, enforced outside the model.
How to install Reins
Copy-paste configuration for popular MCP clients.
REINS_SYMBOLSrequiredMarkets the agent may trade, comma separated, e.g. BTC,ETH. Every other market is refused.
REINS_MAX_POSITION_USDrequiredLargest position per market, in USD.
REINS_DAILY_LOSS_USDrequiredRealised loss in a UTC day after which new risk is refused.
REINS_MAX_LEVERAGELargest total exposure as a multiple of account value.
REINS_MODEpaper (live prices, simulated fills, nothing signed) or live.
REINS_NETWORKHyperliquid network for prices and, in live mode, orders. Mainnet spends real money.
REINS_REQUIRE_STOP_LOSStrue to refuse any order that adds risk without a stop-loss.
REINS_LOG_FILEDecision log, one JSON line per action with the agent's stated reason. In memory if unset.
REINS_PAPER_FILEWhere the paper account is kept between runs. In memory if unset.
REINS_ACCOUNT_ADDRESSLive mode: the Hyperliquid account traded. Approve Reins' 2 bp builder fee from it first: npx @r2rlabs/reins approve-builder
REINS_PRIVATE_KEYsecretLive mode: an API wallet's key, which can trade but not withdraw. Never the account's own key.
Related MCP servers
Corporate travel booking and expense management for TripGain, exposed as an MCP server.
View repository →Build product adoption your way - Product adoption infrastructure no-code or all-code.
Generate and manage Claude Code configs: CLAUDE.md, skills, agents, hooks, and MCP settings.
View repository →Enterprise certification for codebases with multi-agent security, reliability, and quality audits
View repository →Verify docs against code, detect drift, and generate verified specs (MCP server).
View repository →Persistent AI memory for coding assistants. 80+ tools for decisions, patterns, errors.
View repository →
