# leverage MCP server

Leveraged-yield router on Morpho. List strategies, simulate, and build UNSIGNED txs.

## Links
- Registry page: https://www.getdrio.com/mcp/xyz-spiralstake-leverage
- Repository: https://github.com/spiral-stake/mcp
- Website: https://spiralstake.xyz

## Install
- Endpoint: https://api.spiralstake.xyz/mcp
- Auth: Not captured

## Setup notes
- Remote endpoint: https://api.spiralstake.xyz/mcp

## Tools
- list_strategies (List Strategies) - List eligible Spiral leveraged-yield strategies with raw risk facts (collateral/borrow APY, leverage ladder, oracle type, exit-liquidity, LTVs). Optionally filter by collateral category. Endpoint: https://api.spiralstake.xyz/mcp
- get_strategy (Get Strategy) - Get one eligible strategy's full raw facts by its Morpho market id. Endpoint: https://api.spiralstake.xyz/mcp
- get_prices (Get Prices) - Current USD prices for loan/collateral tokens (token address -> USD). Endpoint: https://api.spiralstake.xyz/mcp
- simulate_leverage (Simulate Leverage) - 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. Endpoint: https://api.spiralstake.xyz/mcp
- build_leverage_tx (Build Leverage Transaction) - 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 their own wallet. The embedded swap calldata is time-sensitive (see meta.expiresAt) — rebuild if stale. Endpoint: https://api.spiralstake.xyz/mcp
- get_positions (Get Positions) - 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. Endpoint: https://api.spiralstake.xyz/mcp
- build_manage_tx (Build Manage Transaction) - 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_collateral' (top up — pay in collateral or any token), 'remove_collateral' (withdraw), 'repay' (pay down debt; set full=true to clear it), 'borrow' (draw more loan token). Get the position `id` from get_positions. Swap calldata (close/increase/zap paths) is time-sensitive — see meta.expiresAt. Endpoint: https://api.spiralstake.xyz/mcp

## Resources
Not captured

## Prompts
Not captured

## Metadata
- Owner: xyz.spiralstake
- Version: 0.1.1
- Runtime: Streamable Http
- Transports: HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: Jul 15, 2026
- Source: https://registry.modelcontextprotocol.io
