Skip to main content
Glama

Server Details

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

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
spiral-stake/mcp
GitHub Stars
0
ChatGPT
–
Claude
–

TDQS

A4.3/5.0

Scored across 10 tools

Disambiguation5/5

Each tool maps to a distinct resource/action: build vs simulate vs read, and leverage vs equity vs strategy/price/position. Close pairs like build_equity_deposit_tx and simulate_equity_deposit are clearly separated by operation type, and descriptions explicitly disambiguate equity exits from build_manage_tx. No tools appear redundant.

Naming Consistency5/5

All tool names are snake_case with verb-prefixed actions: build_*, simulate_*, get_*, list_*. Object naming follows a clear pattern (leverage_tx, equity_deposit_tx, positions, prices, strategy/strategies). The minor asymmetry between build_equity_deposit_tx and simulate_equity_deposit does not create confusion.

Tool Count5/5

10 tools is well-scoped for the leverage domain, covering reads (positions, prices, strategies), simulations, and transaction builders. Each tool serves a distinct purpose with no apparent bloat or thinness.

Completeness4/5

The tool surface covers the core lifecycle: opening leverage, managing/closing positions, equity vault deposit/exit, and reading positions/strategies/prices. Minor gaps include no dedicated simulate for manage/exit actions and no partial equity-vault management, but these are workaroundable with existing build tools.

Available Tools

10 tools
build_equity_deposit_txBuild Equity Vault DepositAInspect

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 in the app. Swap calldata is time-sensitive (meta.expiresAt).

Inputs: amount (required), strategyId (required), userAddress (required), chainId, +2 more.

build_equity_exit_txBuild Equity Vault ExitAInspect

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) are closed: those get_positions attributes unambiguously, or exactly the ones you pass in yieldPositionIds. Always read meta.closedYieldPositionIds.

Inputs: strategyId (required), userAddress (required), chainId, slippage, +1 more.

build_leverage_txBuild Leverage TransactionAInspect

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.

Inputs: amount (required), payToken (required), strategyId (required), userAddress (required), +4 more.

build_manage_txBuild Manage TransactionAInspect

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.

Inputs: id (required), action (required), userAddress (required), full, +6 more.

get_positionsGet PositionsA
Read-only
Inspect

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 + the yield loop(s) it funds); those loops are excluded from positions.

Inputs: userAddress (required), chainId.

get_pricesGet PricesA
Read-only
Inspect

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.

Inputs: chainId.

get_strategyGet StrategyA
Read-only
Inspect

Get one eligible strategy's full raw facts by its Morpho market id.

Inputs: id (required), chainId.

list_strategiesList StrategiesA
Read-only
Inspect

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 'equity_yield_vault', ids start with 'equity-'). Optionally filter by collateral category.

Inputs: chainId, category.

simulate_equity_depositSimulate Equity Vault DepositA
Read-only
Inspect

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 LTV, fees and price impact per leg.

Inputs: amount (required), strategyId (required), chainId, slippage, +1 more.

simulate_leverageSimulate LeverageA
Read-only
Inspect

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.

Inputs: amount (required), payToken (required), strategyId (required), chainId, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to monitor stablecoin yields, balances, and rewards across Aave, Morpho, and Euler on multiple EVM chains, and to deposit, withdraw, or rebalance positions via user-signed transactions.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes JSON-RPC 2.0 tools that let AI agents scan Base L2 lending positions approaching liquidation, simulate flash-loan-backed debt rescue plans, and generate the calldata needed to repay Morpho Blue and Aave v3 debt while avoiding the 5% penalty. Agents and builders can also attach a referral wallet to collect an instant 0.05% USDC revenue share paid atomically in the same block.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents and quantitative traders to query block-accurate DeFi telemetry across Morpho Blue, Ethena, Fluid, Sky, Euler V2, and Pendle V2, including stablecoin carry/arbitrage radar and pre-trade risk simulation. It provides atomic Multicall3 reads, post-trade utilization and APY slippage checks, cap headroom decoding, and Pendle TWAP/logit-curve analysis through REST and MCP-compatible endpoints.
      7
      1,298 npm
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Self-custodial crypto portfolio and DeFi MCP server. Read balances and positions (Aave, Compound, Morpho, Uniswap V3, Lido, EigenLayer) across Ethereum, Arbitrum, Polygon, and Base, and prepare transactions for approval on a Ledger via WalletConnect.
      100
      145 npm
      4
      Business Source 1.1
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.