Rubin Exchange
trade.rubin/exchange · Website · Repository
Rubin: self-custody DEX for crypto perpetuals & spot - trade, read positions, orders, balances.
On 2026-11-29 05:30 UTC, the BOTERNITY MCP Index scored Rubin Exchange (trade.rubin/exchange) 80/100 (grade B); 33 tools, 7933 tokens for tools/list; healthy in 100 % of 2 checks over 30 days. Source: https://boternity.com/mcp-index/server?name=trade.rubin%2Fexchange
Free to reuse under CC BY 4.0 with a link. Permanent link: this page · JSON (status, score and the last 30 checks) · key numbers of the whole index.
Score breakdown
| Reliability initialize, ping, response time | 26 / 30 |
| Protocol conformance protocol revision, server info, instructions | 20 / 20 |
| Tool definitions descriptions, documented and typed parameters, annotations | 30 / 40 |
| Context cost tokens that tools/list adds to every agent's context | 4 / 10 |
Tools this server declares
33 tools listed by the server at the check of 2026-11-29.
batch_cancel— Cancel multiple SHORT_TERM orders in one tx. SHORT_TERM only (chain limitation) — for stateful/mixed use cancel_all_orders. (parameters: clientIds*, market* · destructive)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. (parameters: confirm, market* · destructive)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 (parameters: clientId*, confirm, goodTilBlock, goodTilTimeSeconds, market*, orderFlags* · destructive)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 (parameters: confirm, slippageBps)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 (parameters: confirm, market*, percent, slippageBps)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 (parameters: amountUsd)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 (read-only)get_block_height— Return the latest chain block height. Useful for SHORT_TERM order goodTilBlock math. (read-only)get_candles— Get OHLCV candles for a market at a given resolution. Useful for trend/volatility analysis. (parameters: fromISO, limit, market*, resolution*, toISO · read-only)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 (parameters: limit, market*, resolutions · read-only)get_equity— Get the subaccount summary: equity, freeCollateral, marginEnabled, open perpetual positions and asset positions. (read-only)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 (read-only)get_fills— Get executed fills for the subaccount, including price, size, fee and maker/taker liquidity. (parameters: limit, market, page · read-only)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), (read-only)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 (parameters: limit, page, search, sortBy, sortDirection, timeSpan · read-only)get_market— Get details for one perpetual market (clobPairId, atomicResolution, quantumConversionExponent, tick/step sizes, oracle price, status). (parameters: market* · read-only)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 (parameters: timeSpan · read-only)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 (parameters: category, channels, limit, query, sinceHours · read-only)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 (parameters: limit, market, side · read-only)get_orderbook— Get the live orderbook (bids/asks) for a market, optionally truncated to a depth. (parameters: depth, market* · read-only)get_pnl— Get historical PnL ticks for the subaccount (equity, totalPnl, netTransfers over time). Use createdOnOrAfter to bound the range. (parameters: createdOnOrAfter, limit, page · read-only)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. (read-only)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 (read-only)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 (parameters: status · read-only)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 (read-only)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. (read-only)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 (parameters: confirm, market*, notionalUsd, side*, size, slippageBps, stopLossPrice, takeProfitPrice)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 (parameters: clientId, confirm, goodTilBlockOffset, goodTilTimeSeconds, market*, postOnly, price*, reduceOnly, side*, size*, timeInForce)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 (parameters: clientId, confirm, market*, reduceOnly, side*, size*, slippageBps)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 (parameters: clientId, market*, side*, size*, slippageBps, triggerPrice*)
Other tools: place_take_profit, top_up_gas, whoami
Tool names and descriptions are the server's own words, copied from its tools/list answer at the dated check (descriptions cut at 240 characters, 12 parameters, 30 documented tools at most). BOTERNITY never calls these tools and does not verify what they do. Parameters marked * are required.
Add it to your client
Address (Streamable HTTP): https://mcp.mainnet.rubin.trade/mcp. The check of 2026-11-29 (UTC) connected to this address without any credential. Its registry entry declares required header(s): Authorization; replace the placeholder value with your own.
Claude (claude.ai, Claude Desktop): add a custom connector and paste the address https://mcp.mainnet.rubin.trade/mcp, with the required header(s) Authorization set to your own value (docs).
ChatGPT: add the address https://mcp.mainnet.rubin.trade/mcp as a connector. The check connected without any header, but this registry entry declares required header(s) ChatGPT cannot send (it cannot present custom API keys or request headers): if the server starts enforcing them, ChatGPT will not connect (docs).
Claude Code, in a terminal (options: claude mcp add --help):
claude mcp add --transport http exchange https://mcp.mainnet.rubin.trade/mcp --header 'Authorization: Bearer YOUR_TOKEN'Cursor, in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project) (docs):
{
"mcpServers": {
"exchange": {
"url": "https://mcp.mainnet.rubin.trade/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}VS Code, in .vscode/mcp.json (docs):
{
"servers": {
"exchange": {
"type": "http",
"url": "https://mcp.mainnet.rubin.trade/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}Generated from the Streamable HTTP address this server publishes in the official MCP Registry (the address the Index check connects to) and from the request headers its registry entry declares as required. Values in capitals are placeholders: get the real ones from the publisher. Nothing here is run against the server. Whether each client can complete the connection is measured just below.
Works with Claude, ChatGPT, Cursor and VS Code?
| Client | Verdict | Why |
|---|---|---|
| Claude | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; Claude accepts servers that need no sign-in. client docs |
| ChatGPT | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; ChatGPT accepts servers that need no sign-in. client docs |
| Cursor | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; Cursor accepts servers that need no sign-in. client docs |
| VS Code | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; VS Code accepts servers that need no sign-in. client docs |
How verdicts are made: measured continuously, never guessed. All servers that work with each client.
Badges for your README, updated after each new check with the verdicts above:
[](https://boternity.com/mcp-index/server?name=trade.rubin%2Fexchange#clients)
[](https://boternity.com/mcp-index/server?name=trade.rubin%2Fexchange#clients)
[](https://boternity.com/mcp-index/server?name=trade.rubin%2Fexchange#clients)
[](https://boternity.com/mcp-index/server?name=trade.rubin%2Fexchange#clients)
Availability
100 % over 2 checks. Last check 2026-11-29.
What the last check found
- 33 of 33 tools without outputSchema
- tools/list costs about 7933 tokens of every agent's context
Badge for your README
[](https://boternity.com/mcp-index/server?name=trade.rubin%2Fexchange)
This measurement is signed by boternity.com (Ed25519, key 450c02fbfb29dba9, digest sha256:7c03f87109123cad…), in the badge and in the JSON. Anyone can check a copy.
Get alerted when it goes down
Free: we check this server about every 20 minutes on the MCP weather and tell you when it goes down and when it is back, by e-mail or webhook.
Or follow it in a feed reader: Atom feed · JSON Feed (first seen, became unavailable, back online, tool definitions changed; checks of the last 30 days).
Endpoint: https://mcp.mainnet.rubin.trade/mcp. Scores are automatic and may be wrong. Owners can ask for removal via support.