L'Agora
MCPRépond

Rubin Exchange

trade.rubin/exchange

Rubin: self-custody DEX for crypto perpetuals & spot - trade, read positions, orders, balances.

Description fournie par l’auteur dans le registre officiel MCP (en anglais).

C’est votre projet ? Revendiquez la fiche pour répondre aux questions, être prévenu des avis et apparaître comme auteur.

Tous les projets de rubin.trade

Dépôt
github.com/rubin-trade/rubin-mainnet-mcp
Site
code.rubin.trade/ai
Adresse du serveur
https://mcp.mainnet.rubin.trade/mcp (streamable-http)
Version
1.0.2
Auteur
rubin.trade (espace de noms vérifié par le registre)
Source
Registre officiel MCP (mis à jour le 22 juin 2026)

Avis

Pas encore d’avis.

Connectez-vous pour donner votre avis. Il suffit de votre e-mail.

Questions à l’auteur

Pas encore de question.

Connectez-vous pour poser une question à l’auteur. L’auteur n’a pas encore revendiqué cette fiche : il ne sera prévenu que s’il la revendique. Les autres membres peuvent répondre.

Continuer avec GoogleRecevoir un lien par e-mail

Comment l’installer

Le serveur accepte et demande un en-tête : Authorization. Remplacez VOTRE_CLE par votre clé.

Claude Code

Dans un terminal :

claude mcp add --transport http exchange https://mcp.mainnet.rubin.trade/mcp \
  --header "Authorization: Bearer VOTRE_CLE"
Claude (application et claude.ai)

Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.

https://mcp.mainnet.rubin.trade/mcp
ChatGPT

Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.

https://mcp.mainnet.rubin.trade/mcp
Cursor ~/.cursor/mcp.json

Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :

{
  "mcpServers": {
    "exchange": {
      "url": "https://mcp.mainnet.rubin.trade/mcp",
      "headers": {
        "Authorization": "Bearer VOTRE_CLE"
      }
    }
  }
}
VS Code .vscode/mcp.json

Ajoutez ceci au fichier .vscode/mcp.json de votre projet :

{
  "servers": {
    "exchange": {
      "type": "http",
      "url": "https://mcp.mainnet.rubin.trade/mcp",
      "headers": {
        "Authorization": "Bearer VOTRE_CLE"
      }
    }
  }
}

Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.

Notre test

Répond Le serveur répond au protocole MCP et liste ses outils.

Date
28 nov. 2026, 08:41 (test fait par L’Atlas)
Temps de réponse
660 ms (test complet)
Outils trouvés
33
Nom annoncé
ritbit-mcp 0.2.0
Protocole
MCP 2025-11-25
Prochain test
5 déc. 2026
Voir les outils (33)
  • whoami
    Report what this session controls: the master account (its address in BOTH forms — cosmos rit1… and EVM 0x…, the same 20 bytes), the subaccount, whether it can trade or is read-only, and the exact on-chain authorization scope (which message
  • get_block_height
    Return the latest chain block height. Useful for SHORT_TERM order goodTilBlock math.
  • list_markets
    List all perpetual markets with ticker, status and oracle price. Use this first to discover valid market tickers (e.g. BTC-USD) before placing orders.
  • get_market
    Get details for one perpetual market (clobPairId, atomicResolution, quantumConversionExponent, tick/step sizes, oracle price, status).
  • get_orderbook
    Get the live orderbook (bids/asks) for a market, optionally truncated to a depth.
  • get_candles
    Get OHLCV candles for a market at a given resolution. Useful for trend/volatility analysis.
  • get_candles_multi
    Get recent OHLCV candles for a market across MULTIPLE resolutions in one call — by default ALL indexer resolutions (1MIN, 5MINS, 15MINS, 30MINS, 1HOUR, 4HOURS, 1DAY) — so the agent can read the trend across timeframes at once. Returns { can
  • get_balance
    Get the subaccount collateral (USDC asset position) and the on-chain wallet bank balances. Collateral is what backs trading; the WALLET balance is where money sent to the account lands and is NOT collateral until deposited. `funding` summar
  • get_equity
    Get the subaccount summary: equity, freeCollateral, marginEnabled, open perpetual positions and asset positions.
  • get_positions
    Get perpetual POSITIONS with size, side, entryPrice, unrealizedPnl, realizedPnl and netFunding. Defaults to OPEN positions. NOTE: a position is what you HOLD after an order fills — it is NOT an open order. When the user asks loosely "what i
  • get_open_orders
    Get currently active ORDERS for the subaccount, optionally filtered by market and side. Includes OPEN resting orders and UNTRIGGERED conditional orders (TP/SL accepted on-chain but not yet triggered). Returns { orders: [...] }. This does NO
  • get_portfolio
    One-call snapshot of everything the account has "open": equity & freeCollateral, every open POSITION (with notional, unrealized PnL and estimated liquidation price), every active ORDER (resting + untriggered TP/SL), and account margin risk.
  • get_position_risk
    Margin health for the subaccount: equity, freeCollateral, total maintenance/initial margin, maintenanceMarginBufferUsd (the EXACT liquidation guard — liquidatable when < 0), marginUsageRatio (1.0 = at liquidation), account leverage, and per
  • get_fills
    Get executed fills for the subaccount, including price, size, fee and maker/taker liquidity.
  • get_pnl
    Get historical PnL ticks for the subaccount (equity, totalPnl, netTransfers over time). Use createdOnOrAfter to bound the range.
  • get_funding_status
    Where the account's USDC sits: in the WALLET (bank balance — money sent to the account lands here and is NOT collateral) vs in the trading SUBACCOUNT (equity / free collateral). Returns depositableUsdc (wallet minus the $0.95 gas reserve),
  • deposit_to_subaccount
    Deposit USDC from the account's WALLET into its trading SUBACCOUNT so it becomes collateral. Without amountUsd it moves everything above the $0.95 gas reserve (what the web app does); with amountUsd it moves exactly that much, as long as $0
  • top_up_gas
    Move a little USDC from the trading subaccount back to the WALLET when the wallet is at or below $0.55 — just enough to restore the $0.95 gas reserve that deposit/withdraw transactions need. Only the gas reserve, only to the account's own w
  • place_limit_order
    Place a limit order. Default timeInForce=GTT (long-term, durable, broadcast-commit so errors return synchronously). Use SHORT_TERM only for latency-sensitive orders (expire within ~20 blocks, broadcast async). The price is checked against t
  • place_market_order
    Place an IOC market order. It executes as an IOC limit at a worst-acceptable price mirrored around the oracle by side — BUY caps ABOVE the oracle, SELL below — at slippageBps distance (default 500 = 5%). Fills happen at book prices; the cap
  • cancel_order
    Cancel a single order by clientId. For SHORT_TERM pass goodTilBlock; for LONG_TERM/CONDITIONAL pass goodTilTimeSeconds (the original good-til value, available from get_open_orders). Returns `confirmation` with the verified result (canceled
  • cancel_all_orders
    Cancel every OPEN order for the subaccount in a market (handles SHORT_TERM and LONG_TERM automatically). Returns `confirmation.remainingOpen` — orders still OPEN after the cancel (0 = all gone); if > 0, retry.
  • batch_cancel
    Cancel multiple SHORT_TERM orders in one tx. SHORT_TERM only (chain limitation) — for stateful/mixed use cancel_all_orders.
  • place_stop_loss
    Place a reduce-only Stop loss (conditional market order) that triggers at triggerPrice. Side must be the CLOSING side of the position: SELL closes a LONG, BUY closes a SHORT. Once triggered it executes as an IOC limit bounded at triggerPric
  • place_take_profit
    Place a reduce-only Take profit (conditional market order) that triggers at triggerPrice. Side must be the CLOSING side of the position: SELL closes a LONG, BUY closes a SHORT. Once triggered it executes as an IOC limit bounded at triggerPr
  • close_position
    Close all or part of an open perpetual position with a reduce-only MARKET order. Reads the current position, flips the side automatically (LONG→SELL, SHORT→BUY) and sizes the close. percent defaults to 100 (full close); a partial close is f
  • close_all_positions
    Flatten EVERY open perpetual position with reduce-only MARKET orders (one per market). Respects the operator market allowlist (disallowed markets are skipped and reported). Each close is bounded at oracle ± slippageBps mirrored by side (def
  • open_position
    Enter a NEW position with a MARKET order, sized by base `size` OR quote `notionalUsd` (exactly one required; notionalUsd converts at the oracle price and is floored to the step size). Optionally attach a reduce-only stopLossPrice and/or tak
  • get_news
    Fetch the latest headlines from the ritbit news feed (curated crypto / markets / business channels, newest first). Filter by `category` (crypto|markets|business) or explicit `channels`, and/or a free-text `query` (a ticker or keyword, match
  • get_leaderboard
    The trader PnL leaderboard for a time span (ONE_DAY, SEVEN_DAYS, THIRTY_DAYS, ONE_YEAR, ALL_TIME): rank, username, address, PnL (USD), ROI (%) and current equity per trader, paginated. Also returns `me` — this account's own row on that boar
  • get_my_rank
    Where THIS account ranks on the PnL leaderboard: rank, board size ("21 of 66"), PnL, ROI and equity — for one time span, or for every time span (ONE_DAY … ALL_TIME) when none is given. A null entry means the account is not ranked on that bo
  • get_fee_tier
    This account's current trading fee tier and conditions: maker/taker fee (% of notional; a negative maker fee is a rebate), the 30-day maker/taker volume it is judged on, any staking discount, the next tier and how much more 30d volume it ta
  • get_referral_program
    This account's referral / affiliate program status: referral code and link, whether the link is unlocked (lifetime volume threshold, or already an affiliate), current affiliate tier and taker-fee share, referred volume (30d / all-time), ear

Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus

Citer cette fiche

Pour un article ou une comparaison, utilisez ce lien permanent et précisez la date du test. La description appartient à sa source ; les avis sont ceux des membres. Un test réussi ne constitue pas un audit de sécurité.

Rubin Exchange · L’Agora · Test du

[Rubin Exchange — L’Agora](https://lagora.dev/fiche/trade.rubin/exchange)

Sources, méthode et limites

Commentaires

Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.

Connectez-vous pour commenter.

C’est votre projet ? Connectez-vous pour revendiquer la fiche.

Badge pour votre README

trade.rubin/exchange sur L’Agora

Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.

Markdown (GitHub)

[![trade.rubin/exchange sur L’Agora](https://lagora.dev/badge/trade.rubin/exchange.svg)](https://lagora.dev/fiche/trade.rubin/exchange)

HTML

<a href="https://lagora.dev/fiche/trade.rubin/exchange"><img src="https://lagora.dev/badge/trade.rubin/exchange.svg" alt="trade.rubin/exchange sur L’Agora" height="20"></a>

Mettre en avant

Réservé à l’auteur de la fiche : connectez-vous pour continuer.

Signaler cette fiche