{"id":"xyz.spiralstake/leverage","slug":"xyz-spiralstake-leverage","title":"Leverage","description":"Leveraged-yield router on Morpho. List strategies, simulate, and build UNSIGNED txs.","version":"0.1.1","publisher":{"kind":"domain","id":"spiralstake.xyz","label":"spiralstake.xyz","url":"https://spiralstake.xyz"},"website":"https://spiralstake.xyz","repository":"https://github.com/spiral-stake/mcp","remotes":[{"type":"streamable-http","url":"https://api.spiralstake.xyz/mcp"}],"packages":[],"published":"2026-07-15","updated":"2026-07-15","status":"online","auth":"","latency_ms":927,"checked":"2026-11-19","uptime":100,"checks":3,"tools":[{"name":"list_strategies","title":"List Strategies","description":"List eligible Spiral strategies on a chain with raw risk facts (collateral/borrow APY, leverage ladder, oracle type, exit liquidity, LTVs, curator). Mainnet (1): correlated yield loops on stables, ETH, BTC and Pendle PTs. Robinhood Chain (4663): stable loops on USDG, directional perps (spiralHints.profile 'leveraged_perp' — APYs are financing carry only) and stock + yield equity vaults (profile 'e","read_only":true},{"name":"get_strategy","title":"Get Strategy","description":"Get one eligible strategy's full raw facts by its Morpho market id.","read_only":true},{"name":"get_prices","title":"Get Prices","description":"Current USD prices of every loan and collateral token the chain's strategies use (token address -> USD), including equity-vault stocks. Loan tokens are priced from CoinGecko; collateral from the market oracle × its loan token's price — the same figures the strategies' priceUsd fields carry.","read_only":true},{"name":"simulate_leverage","title":"Simulate Leverage","description":"Preview opening a leveraged position — deterministic, read-only, no wallet needed. Returns the resulting leverage, effective LTV, leveraged collateral, expected leveraged APY, price impact, the auto-selected execution path, flash-loan size, and (if the flash loan exceeds direct market liquidity) the public-allocator reallocation fee. Numbers move with market prices.","read_only":true},{"name":"build_leverage_tx","title":"Build Leverage Transaction","description":"Build the UNSIGNED transaction to open a leveraged position, for the given wallet to sign. Non-custodial: this server never signs, sends, or holds keys. The canonical output is the executable { approvals[], tx{to,data,value} } — sign and broadcast it directly (approvals first), plus the same position preview as simulate_leverage. meta.signingUrl is an optional one-click link for a human to sign in","read_only":false},{"name":"get_positions","title":"Get Positions","description":"Read a wallet's open/closed Spiral leverage positions from chain state (read-only). For each: collateral/loan, leveraged collateral, net equity, debt, current LTV vs liquidation LTV (with headroom), current leverage, net USD value, and current leveraged APY. No cost-basis / realized P&L (those need off-chain history). Newest first. `equityPositions` lists the wallet's open equity vaults (stock leg","read_only":true},{"name":"build_manage_tx","title":"Build Manage Transaction","description":"Build the UNSIGNED transaction to adjust or close an OPEN position, for the given wallet to sign. Non-custodial (never signs/holds keys). Canonical output is the executable { approvals[], tx{to,data,value} } (sign/broadcast directly); meta.signingUrl is an optional link for a human to sign in their own wallet. Actions: 'close' (unwind fully), 'increase_leverage' (borrow to a higher LTV), 'add_coll","read_only":false},{"name":"simulate_equity_deposit","title":"Simulate Equity Vault Deposit","description":"Preview depositing USDG into a stock + yield equity vault — deterministic, read-only, no wallet. You end up 1x long the stock (held as your own Morpho collateral), with `stockLtvPct` of its value borrowed as USDG and flash-looped into the vault's yield strategy. Returns the stock received, the borrow, the stock liquidation price and headroom, the yield leg's size/leverage/APY, the net APY at that ","read_only":true},{"name":"build_equity_deposit_tx","title":"Build Equity Vault Deposit","description":"Build the UNSIGNED call batch to deposit into a stock + yield equity vault, for the given wallet to sign. Non-custodial. Returns `calls[]` (approve USDG → router, authorize the router on Morpho, the one-call equityEntry, revoke) to submit as ONE atomic batch (EIP-5792 wallet_sendCalls / Safe), plus the same preview as simulate_equity_deposit. meta.signingUrl is a one-click link for a human to sign","read_only":false},{"name":"build_equity_exit_tx","title":"Build Equity Vault Exit","description":"Build the UNSIGNED call batch to fully unwind an OPEN equity vault (from get_positions.equityPositions): close each of its yield loops, then one self-funded router call repays the stock debt, withdraws the stock, swaps it to USDG and returns the proceeds. Submit as ONE atomic batch. Non-custodial; the vault's yield loop cannot be closed alone through build_manage_tx. Only the vault's own loop(s) a","read_only":false}],"server_info":{"name":"spiralstake","version":"0.1.0"},"category":"travel","tags":[],"kind":"remote","source":"registry","submitted":{},"first_party":true,"domain_rank":null,"score":100,"indexable":true,"first_seen":"2026-07-15","stars":0,"badges":[],"sponsor":null,"page":"https://agentsindex.org/agents/xyz-spiralstake-leverage/"}