Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

Rubin Exchange

REMOTE · MCP.MAINNET.RUBIN.TRADE · SCANNED AUG 3

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

+3 this week 66 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically against the live server, and we only credit what we can confirm. How we score →

Endpoint Security57
Transport & Reachability100
Schema Quality & AI Usability80
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (good).Pass
  • Context-footprint check failed: tool/resource definitions use about 3639 tokens (~139/item across 26 items; 26 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
  • Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage85
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 54% of tool parameters carry a description.Partial
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

remote · mcp.mainnet.rubin.trade

# add to Claude Code
claude mcp add --transport http trade-rubin-exchange https://mcp.mainnet.rubin.trade/mcp
# ~/.codex/config.toml
[mcp_servers.trade-rubin-exchange]
url = "https://mcp.mainnet.rubin.trade/mcp"
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "trade-rubin-exchange": {
      "type": "remote",
      "url": "https://mcp.mainnet.rubin.trade/mcp",
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add trade-rubin-exchange --url https://mcp.mainnet.rubin.trade/mcp --transport streamable-http
# ~/.hermes/config.yaml
mcp_servers:
  trade-rubin-exchange:
    url: "https://mcp.mainnet.rubin.trade/mcp"
// mcp.json
{
  "mcpServers": {
    "trade-rubin-exchange": {
      "type": "http",
      "url": "https://mcp.mainnet.rubin.trade/mcp"
    }
  }
}

The mcpServers block is a cross-client convention. Remote transports vary, so check your client's docs.

Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 2 Aug 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 20 to 23. That category is still filling its 30-day observation window: 6 days of observed history at the previous scan, 7 at this one. The score rises as the window fills, whether or not the server changes.

  • 31 Jul 26 0
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 30 Jul 26 +1
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 29 Jul 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 7 to 10. That category is still filling its 30-day observation window: 2 days of observed history at the previous scan, 3 at this one. The score rises as the window fills, whether or not the server changes.

  • 27 Jul 26 +1
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 26 Jul 26 62

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Probed https://mcp.mainnet.rubin.trade/mcp

TLS valid

Negotiated TLS 1.3 with TLS_AES_128_GCM_SHA256 .

Subject Issuer Valid from Valid until Key Signature Serial
CN=mcp.mainnet.rubin.trade CN=YR1,O=Let's Encrypt,C=US 19 Jun 2026 17 Sept 2026 RSA 4096 SHA256-RSA 5c3f173273991ef148d86141d2f439abf79
SANs: mcp.mainnet.rubin.trade
CN=YR1,O=Let's Encrypt,C=US (CA) CN=Root YR,O=ISRG,C=US 3 Sept 2025 2 Sept 2028 RSA 2048 SHA256-RSA a20253f15f2691c05dc1ce13b9bcca4e
CN=Root YR,O=ISRG,C=US (CA) CN=ISRG Root X1,O=Internet Security Research Group,C=US 13 May 2026 2 Sept 2032 RSA 4096 SHA256-RSA f24b6d17f9d9ad7cb1c9fea78782699f
DNSSEC insecure

Validation of mcp.mainnet.rubin.trade. Not signed

Zone DS Keys Algorithms Outcome
. trust_anchor 20326, 38696 8, 8 Verified
trade. present 64969 8 Verified
rubin.trade. absent Unsigned (proven) parent-signed NSEC/NSEC3 proves an unsigned delegation
Authentication No authorisation required

The endpoint answered without asking for a token. Anyone who knows the URL can reach it.

Result No authorisation required
HTTP status 200
Transports 2 probes
Transport URL Outcome Status Location
streamable-http https://mcp.mainnet.rubin.trade/mcp Verified 200
http (plaintext) http://mcp.mainnet.rubin.trade/mcp HTTPS enforced 301 https://mcp.mainnet.rubin.trade/mcp
MCP tools — 26 exposed · ~3,216 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
batch_cancel ~50

Cancel multiple SHORT_TERM orders in one tx. SHORT_TERM only (chain limitation) — for stateful/mixed use cancel_all_orders.

NameTypeReqDescription
clientIdsarrayyes
marketstringyes

No output schema declared.

No examples provided.

cancel_all_orders ~85

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.

NameTypeReqDescription
confirmbooleanAfter canceling, verify no orders remain OPEN via the indexer (default true).
marketstringyes

No output schema declared.

No examples provided.

cancel_order ~161

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 / still_open / filled / pending): `code: 0` only means the cancel was broadcast. If `still_open`, the goodTil value likely did not match the original — retry.

NameTypeReqDescription
clientIdintegeryes
confirmbooleanVerify the cancel actually took via the indexer (default true).
goodTilBlockinteger
goodTilTimeSecondsinteger
marketstringyes
orderFlagsstringyes

No output schema declared.

No examples provided.

close_all_positions ~129

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 (default 500 bps = 5%). Returns a per-market result array — for any market reporting unfilled/partially_filled, re-run with a larger slippageBps.

NameTypeReqDescription
confirmboolean
slippageBpsnumberMax slippage vs oracle, in bps (default 500). Raise to sweep thin books.

No output schema declared.

No examples provided.

close_position ~246

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 floored to the market step size. The close is bounded at oracle ± slippageBps mirrored by side (closing a SHORT buys up to oracle×(1+slip), closing a LONG sells down to oracle×(1−slip); default 500 bps = 5%). Returns the verified `confirmation` outcome — if it is `unfilled` or `partially_filled`, the book was thinner than the cap: re-run with a larger slippageBps to sweep deeper. Errors NOT_FOUND if there is no open position in the market.

NameTypeReqDescription
confirmboolean
marketstringyesMarket ticker, e.g. BTC-USD
percentnumberPortion of the position to close (default 100).
slippageBpsnumberMax slippage vs oracle, in bps (default 500). Raise to sweep a thin book.

No output schema declared.

No examples provided.

get_balance ~36

Get the subaccount collateral (USDC asset position) and the on-chain wallet bank balances (gas). Collateral is what backs trading.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get_block_height ~26

Return the latest chain block height. Useful for SHORT_TERM order goodTilBlock math.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get_candles ~91

Get OHLCV candles for a market at a given resolution. Useful for trend/volatility analysis.

NameTypeReqDescription
fromISOstringISO 8601 start time
limitinteger
marketstringyesMarket ticker, e.g. BTC-USD
resolutionstringyesCandle resolution
toISOstringISO 8601 end time

No output schema declared.

No examples provided.

get_candles_multi ~172

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 { candles: { <resolution>: [...] } }, newest first. Lower `limit` (e.g. 20) or pass a `resolutions` subset to keep the payload small.

NameTypeReqDescription
limitintegerCandles per resolution (default 50, most recent).
marketstringyesMarket ticker, e.g. BTC-USD
resolutionsarraySubset of resolutions (default: all indexer resolutions).

No output schema declared.

No examples provided.

get_equity ~30

Get the subaccount summary: equity, freeCollateral, marginEnabled, open perpetual positions and asset positions.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get_fills ~60

Get executed fills for the subaccount, including price, size, fee and maker/taker liquidity.

NameTypeReqDescription
limitinteger
marketstringMarket ticker filter, e.g. BTC-USD
pageinteger

No output schema declared.

No examples provided.

get_market ~53

Get details for one perpetual market (clobPairId, atomicResolution, quantumConversionExponent, tick/step sizes, oracle price, status).

NameTypeReqDescription
marketstringyesMarket ticker, e.g. BTC-USD

No output schema declared.

No examples provided.

get_news ~240

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, matched in the post text and hashtags, e.g. BTC). Each item returns { source, url, publishedAt, tags (hashtags — where tickers appear), text }. There is NO importance field: judge impact yourself from the content (hacks, regulation, large moves, ⚠️ warnings). Use this to factor sentiment/catalysts into an assessment, or to answer "what's the latest?". Headlines are ru/en.

NameTypeReqDescription
categorystringRestrict to one channel category.
channelsarrayExplicit hub channel ids (overrides category), e.g. ["forklog","incrypted"].
limitintegerMax items (default 30).
querystringCase-insensitive keyword/ticker to match in text or hashtags, e.g. BTC.
sinceHoursnumberOnly items newer than this many hours.

No output schema declared.

No examples provided.

get_open_orders ~135

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 NOT include filled positions — a filled market/limit order leaves NO open order, it becomes a POSITION (see get_positions). When there are 0 orders but open positions exist, the result carries a `note` pointing you there.

NameTypeReqDescription
limitinteger
marketstringMarket ticker filter, e.g. BTC-USD
sidestring

No output schema declared.

No examples provided.

get_orderbook ~57

Get the live orderbook (bids/asks) for a market, optionally truncated to a depth.

NameTypeReqDescription
depthintegerMax levels per side
marketstringyesMarket ticker, e.g. BTC-USD

No output schema declared.

No examples provided.

get_pnl ~72

Get historical PnL ticks for the subaccount (equity, totalPnl, netTransfers over time). Use createdOnOrAfter to bound the range.

NameTypeReqDescription
createdOnOrAfterstringISO 8601 lower bound
limitinteger
pageinteger

No output schema declared.

No examples provided.

get_portfolio ~94

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. Use this to answer "what do I have open?" or "how am I doing?" without worrying whether the user means orders or positions — it returns both.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get_position_risk ~85

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-position estimated liquidation price + distance to it. Use before adding risk or to decide whether to protect/close a position.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get_positions ~95

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 is open?", check BOTH this and get_open_orders (or call get_portfolio for both at once).

NameTypeReqDescription
statusstringPosition status filter

No output schema declared.

No examples provided.

list_markets ~42

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.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

open_position ~278

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 takeProfitPrice as conditional orders in the SAME call (the bracket, placed with the opposite/closing side and a 500 bps execution bound past the trigger). slippageBps caps the entry fill vs oracle (default 500). Returns the entry `confirmation` plus any bracket order ids. Bracket legs are placed only if the entry broadcast succeeds; each is reduce-only so it can only close, never flip.

NameTypeReqDescription
confirmboolean
marketstringyesMarket ticker, e.g. BTC-USD
notionalUsdnumberPosition size in quote USD (converted at oracle). Use instead of size.
sidestringyes
sizenumberPosition size in base units.
slippageBpsnumberMax slippage vs oracle for the entry, in bps (default 500).
stopLossPricenumberAttach a reduce-only stop-loss trigger at this price.
takeProfitPricenumberAttach a reduce-only take-profit trigger at this price.

No output schema declared.

No examples provided.

place_limit_order ~296

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). NOTE: stateful (GTT) orders are rate-limited to 2/block and 20 per 100 blocks — pace placements. Returns `confirmation` with the REAL outcome verified via the indexer (filled / partially_filled / resting / unfilled / pending) — broadcast `code: 0` only means the tx was accepted, NOT that it filled. Report from `confirmation.outcome`; if it is `pending`, the indexer is lagging — re-check shortly.

NameTypeReqDescription
clientIdinteger
confirmbooleanVerify the real outcome via the indexer after broadcast (default true).
goodTilBlockOffsetintegerSHORT_TERM blocks ahead (default 10)
goodTilTimeSecondsintegerGTT lifetime (default 3600)
marketstringyesMarket ticker, e.g. BTC-USD
postOnlybooleanReject if it would cross (maker-only). Defaults to server config.
pricenumberyes
reduceOnlyboolean
sidestringyes
sizenumberyesSize in base units
timeInForcestring

No output schema declared.

No examples provided.

place_market_order ~310

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 only limits how deep the sweep goes. reduceOnly closes an existing position. Returns `confirmation` with the REAL outcome verified via the indexer (filled / partially_filled / unfilled / pending): broadcast `code: 0` only means the tx was accepted — an IOC order cancels UNFILLED when the book is entirely beyond the slippage cap (thin/spread market). Always report from `confirmation.outcome`, not `code`; if `unfilled` or `partially_filled`, retry with a larger slippageBps to sweep deeper; if `pending`, the indexer is lagging — wait a few seconds and re-check before concluding.

NameTypeReqDescription
clientIdinteger
confirmbooleanVerify the real fill via the indexer after broadcast (default true).
marketstringyesMarket ticker, e.g. BTC-USD
reduceOnlyboolean
sidestringyes
sizenumberyesSize in base units
slippageBpsnumberMax slippage vs oracle, in bps (default 500). BUY bounds above the oracle, SELL below; raise to sweep a thin book.

No output schema declared.

No examples provided.

place_stop_loss ~158

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 triggerPrice ± slippageBps in the direction of execution (BUY above the trigger, SELL below; default 500 bps) so the close can cross the book.

NameTypeReqDescription
clientIdinteger
marketstringyes
sidestringyes
sizenumberyes
slippageBpsnumberExecution bound past the trigger, in bps (default 500). Raise for thin books.
triggerPricenumberyes

No output schema declared.

No examples provided.

place_take_profit ~158

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 triggerPrice ± slippageBps in the direction of execution (BUY above the trigger, SELL below; default 500 bps) so the close can cross the book.

NameTypeReqDescription
clientIdinteger
marketstringyes
sidestringyes
sizenumberyes
slippageBpsnumberExecution bound past the trigger, in bps (default 500). Raise for thin books.
triggerPricenumberyes

No output schema declared.

No examples provided.

whoami ~57

Report what this session controls: the master account/subaccount, whether it can trade or is read-only, and the exact on-chain authorization scope (which messages, which subaccount, and that it CANNOT withdraw/transfer). Call this first.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.