L'Atlas / Serveurs MCP / leverage
Serveur MCP

leverage

xyz.spiralstake/leverage

Serveur MCP OK 10 outils

Faire examiner Voir les tarifs

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

Fiche technique

Auteur
spiralstake.xyz (espace de noms du registre)
Dépôt
github.com/spiral-stake/mcp
Site
spiralstake.xyz
Version
0.1.1
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://api.spiralstake.xyz/mcp Streamable HTTP
Outils
10
Catégories
—
Dernière mise à jour
15 juil. 2026
Publication
15 juil. 2026

Auteur vérifié et popularité

Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la

Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.

  • Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
  • ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
  • et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli

Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche

MarkdownREADME.md
[![Statut sur L’Atlas](https://latlas.dev/badge/statut/mcp/xyz.spiralstake/leverage.svg)](https://latlas.dev/mcp/xyz.spiralstake/leverage)
HTML
<a href="https://latlas.dev/mcp/xyz.spiralstake/leverage"><img src="https://latlas.dev/badge/statut/mcp/xyz.spiralstake/leverage.svg" alt="Statut sur L’Atlas" height="20"></a>

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/xyz.spiralstake/leverage.svg)](https://latlas.dev/mcp/xyz.spiralstake/leverage)
HTML
<a href="https://latlas.dev/mcp/xyz.spiralstake/leverage"><img src="https://latlas.dev/badge/fiche/xyz.spiralstake/leverage.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://api.spiralstake.xyz/mcp
Dernier résultat
OK 28 nov. 2026, 11:38
Temps de réponse
736 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
spiralstake 0.1.0
Outils
10

Historique

DateRésultatRéponseOutils
28 nov. 2026, 11:38OK736 ms10

Outils exposés (10, réponse à tools/list, 28 nov. 2026)

list_strategies

List Strategies

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.

ParamètreTypeRequisDescription
categorystringnonFilter by collateral category: 'stable', 'ETH', 'BTC', 'stable-PT', 'stocks' (equity vaults), 'Other' (perps).
chainIdintegernonChain to target. Supported: 1, 4663. Default: 1.

get_strategy

Get Strategy

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

ParamètreTypeRequisDescription
idstringouiMorpho market id (0x followed by 64 hex chars).
chainIdintegernonChain to target. Supported: 1, 4663. Default: 1.

get_prices

Get Prices

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.

ParamètreTypeRequisDescription
chainIdintegernonChain to target. Supported: 1, 4663. Default: 1.

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.

ParamètreTypeRequisDescription
strategyIdstringouiMorpho market id of the strategy (from list_strategies / get_strategy).
payTokenstringouiAddress of the token you pay in. May be the collateral (opened directly) or any other token (zapped: swapped to collateral first). Native ETH = the zero address 0x0000…0000.
amountstringouiAmount of payToken in human units (e.g. '10000' for 10,000 USDC).
leveragenumbernonTarget leverage, e.g. 3. Provide this OR desiredLtv.
desiredLtvstringnonTarget LTV percent, e.g. '66.67'. Provide this OR leverage.
slippagenumbernonSwap slippage as a ratio (0.005 = 0.5%). Default 0.005, capped at 0.01.
chainIdintegernonChain to target. Supported: 1, 4663. Default: 1.

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.

ParamètreTypeRequisDescription
strategyIdstringouiMorpho market id of the strategy (from list_strategies / get_strategy).
payTokenstringouiAddress of the token you pay in. May be the collateral (opened directly) or any other token (zapped: swapped to collateral first). Native ETH = the zero address 0x0000…0000.
amountstringouiAmount of payToken in human units (e.g. '10000' for 10,000 USDC).
leveragenumbernonTarget leverage, e.g. 3. Provide this OR desiredLtv.
desiredLtvstringnonTarget LTV percent, e.g. '66.67'. Provide this OR leverage.
slippagenumbernonSwap slippage as a ratio (0.005 = 0.5%). Default 0.005, capped at 0.01.
chainIdintegernonChain to target. Supported: 1, 4663. Default: 1.
userAddressstringouiThe wallet address that will sign and send. Approvals and onBehalfOf are built for it.

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. `equityPositions` lists the wallet's open equity vaults (stock leg + the yield loop(s) it funds); those loops are excluded from `positions`.

ParamètreTypeRequisDescription
userAddressstringouiWallet address to read positions for.
chainIdintegernonChain to target. Supported: 1, 4663. Default: 1.

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.

ParamètreTypeRequisDescription
userAddressstringouiWallet that owns the position and will sign.
idintegerouiOn-chain position index, from get_positions (its `id`).
actionenum: "close" | "increase_leverage" | "add_collateral" | "remove_collateral" | "repay" | "borrow"ouiWhat to do to the position.
amountstringnonHuman-units amount. Required for add_collateral/remove_collateral/repay/borrow.
payTokenstringnonToken to pay in (add_collateral/repay). Collateral/loan = direct; any other = zapped. ETH = zero address.
fullbooleannonrepay only: clear the entire remaining debt.
desiredLtvstringnonincrease_leverage: target LTV percent (e.g. '80'). Provide this OR leverage.
leveragenumbernonincrease_leverage: target leverage. Provide this OR desiredLtv.
slippagenumbernonSwap slippage ratio (0.005 = 0.5%). Default 0.005, capped at 0.01.
chainIdintegernonChain to target. Supported: 1, 4663. Default: 1.

simulate_equity_deposit

Simulate Equity Vault Deposit

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.

ParamètreTypeRequisDescription
strategyIdstringouiThe vault's id from list_strategies (starts with 'equity-').
amountstringouiDeposit amount in human units of the vault's deposit token (USDG), e.g. '10000'.
stockLtvPctstringnonStock-leg LTV percent to borrow at (e.g. '50'). Default: the vault's targetLtvPct. Capped at 88% of the stock market's liquidation LTV (55 on a 62.5% market) — a higher value is refused, not clamped.
slippagenumbernonSwap slippage ratio. Default 0.01 (the app's setting for vaults), capped at 0.01.
chainIdintegernonChain to target. Supported: 1, 4663. Default: 1.

build_equity_deposit_tx

Build Equity Vault Deposit

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).

ParamètreTypeRequisDescription
strategyIdstringouiThe vault's id from list_strategies (starts with 'equity-').
amountstringouiDeposit amount in human units of the vault's deposit token (USDG), e.g. '10000'.
stockLtvPctstringnonStock-leg LTV percent to borrow at (e.g. '50'). Default: the vault's targetLtvPct. Capped at 88% of the stock market's liquidation LTV (55 on a 62.5% market) — a higher value is refused, not clamped.
slippagenumbernonSwap slippage ratio. Default 0.01 (the app's setting for vaults), capped at 0.01.
chainIdintegernonChain to target. Supported: 1, 4663. Default: 1.
userAddressstringouiThe wallet that will sign and send; the stock leg and yield loop are opened for it.

build_equity_exit_tx

Build Equity Vault Exit

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.

ParamètreTypeRequisDescription
strategyIdstringouiThe vault's id ('equity-0x…').
userAddressstringouiWallet that owns the vault and will sign.
yieldPositionIdsarray<integer>nonThe yield loop id(s) to close with the stock leg (from get_positions). Optional when the vault's yieldLoopMatch is tagged/basis/mixed; REQUIRED when it is 'ambiguous'. Nothing outside this list is closed.
slippagenumbernonSwap slippage ratio. Default 0.01, capped at 0.01.
chainIdintegernonChain to target. Supported: 1, 4663. Default: 1.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://api.spiralstake.xyz/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http leverage https://api.spiralstake.xyz/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : leverage ; URL : https://api.spiralstake.xyz/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : leverage ; Server URL : https://api.spiralstake.xyz/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "leverage": {
      "url": "https://api.spiralstake.xyz/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "leverage": {
      "type": "http",
      "url": "https://api.spiralstake.xyz/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "leverage": {
      "url": "https://api.spiralstake.xyz/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "leverage": {
      "httpUrl": "https://api.spiralstake.xyz/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.leverage]
url = "https://api.spiralstake.xyz/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

leverage · L’Atlas · Test du

Markdown
[leverage — L’Atlas](https://latlas.dev/mcp/xyz.spiralstake/leverage)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.