Rubin Exchange
REMOTE · MCP.MAINNET.RUBIN.TRADE · SCANNED AUG 3
Rubin: self-custody DEX for crypto perpetuals & spot - trade, read positions, orders, balances.
Available components
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
- The endpoint's TLS certificate is valid, in date, and uses a strong key. View diagnostics → Pass
- Authorisation check failed: no authorisation is required to call this server, and it exposes a tool marked destructive (cancel_order). See how to fix → View diagnostics → Fail
- HTTPS is enforced; there's no plaintext access path. View diagnostics → Pass
- HSTS check failed: the Strict-Transport-Security header is absent. See how to fix → View diagnostics → Fail
- DNSSEC check failed: this domain isn't protected by DNSSEC. See how to fix → View diagnostics → Fail
Transport & Reachability100
- Verified streamable-http transport via a live MCP handshake. View diagnostics → Pass
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
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
claude mcp add --transport http trade-rubin-exchange https://mcp.mainnet.rubin.trade/mcp
[mcp_servers.trade-rubin-exchange] url = "https://mcp.mainnet.rubin.trade/mcp"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"trade-rubin-exchange": {
"type": "remote",
"url": "https://mcp.mainnet.rubin.trade/mcp",
"enabled": true
}
}
} openclaw mcp add trade-rubin-exchange --url https://mcp.mainnet.rubin.trade/mcp --transport streamable-http
mcp_servers:
trade-rubin-exchange:
url: "https://mcp.mainnet.rubin.trade/mcp" {
"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.
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.
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 |
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.
batch_cancel Batch cancel short-term orders ~50
Cancel multiple SHORT_TERM orders in one tx. SHORT_TERM only (chain limitation) — for stateful/mixed use cancel_all_orders.
| Name | Type | Req | Description |
|---|---|---|---|
| clientIds | array | yes | — |
| market | string | yes | — |
No output schema declared.
No examples provided.
cancel_all_orders Cancel all orders in a market ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| confirm | boolean | — | After canceling, verify no orders remain OPEN via the indexer (default true). |
| market | string | yes | — |
No output schema declared.
No examples provided.
cancel_order Cancel an 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.
| Name | Type | Req | Description |
|---|---|---|---|
| clientId | integer | yes | — |
| confirm | boolean | — | Verify the cancel actually took via the indexer (default true). |
| goodTilBlock | integer | — | — |
| goodTilTimeSeconds | integer | — | — |
| market | string | yes | — |
| orderFlags | string | yes | — |
No output schema declared.
No examples provided.
close_all_positions 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.
| Name | Type | Req | Description |
|---|---|---|---|
| confirm | boolean | — | — |
| slippageBps | number | — | Max slippage vs oracle, in bps (default 500). Raise to sweep thin books. |
No output schema declared.
No examples provided.
close_position Close a 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.
| Name | Type | Req | Description |
|---|---|---|---|
| confirm | boolean | — | — |
| market | string | yes | Market ticker, e.g. BTC-USD |
| percent | number | — | Portion of the position to close (default 100). |
| slippageBps | number | — | Max slippage vs oracle, in bps (default 500). Raise to sweep a thin book. |
No output schema declared.
No examples provided.
get_balance Get balances ~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 Get latest 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 Get candles (OHLCV) ~91
Get OHLCV candles for a market at a given resolution. Useful for trend/volatility analysis.
| Name | Type | Req | Description |
|---|---|---|---|
| fromISO | string | — | ISO 8601 start time |
| limit | integer | — | — |
| market | string | yes | Market ticker, e.g. BTC-USD |
| resolution | string | yes | Candle resolution |
| toISO | string | — | ISO 8601 end time |
No output schema declared.
No examples provided.
get_candles_multi Get multi-timeframe candles ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | — | Candles per resolution (default 50, most recent). |
| market | string | yes | Market ticker, e.g. BTC-USD |
| resolutions | array | — | Subset of resolutions (default: all indexer resolutions). |
No output schema declared.
No examples provided.
get_equity Get account summary ~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 Get fills (trade history) ~60
Get executed fills for the subaccount, including price, size, fee and maker/taker liquidity.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | — | — |
| market | string | — | Market ticker filter, e.g. BTC-USD |
| page | integer | — | — |
No output schema declared.
No examples provided.
get_market Get a perpetual market ~53
Get details for one perpetual market (clobPairId, atomicResolution, quantumConversionExponent, tick/step sizes, oracle price, status).
| Name | Type | Req | Description |
|---|---|---|---|
| market | string | yes | Market ticker, e.g. BTC-USD |
No output schema declared.
No examples provided.
get_news Get latest 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.
| Name | Type | Req | Description |
|---|---|---|---|
| category | string | — | Restrict to one channel category. |
| channels | array | — | Explicit hub channel ids (overrides category), e.g. ["forklog","incrypted"]. |
| limit | integer | — | Max items (default 30). |
| query | string | — | Case-insensitive keyword/ticker to match in text or hashtags, e.g. BTC. |
| sinceHours | number | — | Only items newer than this many hours. |
No output schema declared.
No examples provided.
get_open_orders 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.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | — | — |
| market | string | — | Market ticker filter, e.g. BTC-USD |
| side | string | — | — |
No output schema declared.
No examples provided.
get_orderbook Get orderbook ~57
Get the live orderbook (bids/asks) for a market, optionally truncated to a depth.
| Name | Type | Req | Description |
|---|---|---|---|
| depth | integer | — | Max levels per side |
| market | string | yes | Market ticker, e.g. BTC-USD |
No output schema declared.
No examples provided.
get_pnl Get historical PnL ~72
Get historical PnL ticks for the subaccount (equity, totalPnl, netTransfers over time). Use createdOnOrAfter to bound the range.
| Name | Type | Req | Description |
|---|---|---|---|
| createdOnOrAfter | string | — | ISO 8601 lower bound |
| limit | integer | — | — |
| page | integer | — | — |
No output schema declared.
No examples provided.
get_portfolio Get full 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 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 Get perpetual 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).
| Name | Type | Req | Description |
|---|---|---|---|
| status | string | — | Position status filter |
No output schema declared.
No examples provided.
list_markets List perpetual 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 Open a position (market entry + optional bracket) ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| confirm | boolean | — | — |
| market | string | yes | Market ticker, e.g. BTC-USD |
| notionalUsd | number | — | Position size in quote USD (converted at oracle). Use instead of size. |
| side | string | yes | — |
| size | number | — | Position size in base units. |
| slippageBps | number | — | Max slippage vs oracle for the entry, in bps (default 500). |
| stopLossPrice | number | — | Attach a reduce-only stop-loss trigger at this price. |
| takeProfitPrice | number | — | Attach a reduce-only take-profit trigger at this price. |
No output schema declared.
No examples provided.
place_limit_order Place a 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.
| Name | Type | Req | Description |
|---|---|---|---|
| clientId | integer | — | — |
| confirm | boolean | — | Verify the real outcome via the indexer after broadcast (default true). |
| goodTilBlockOffset | integer | — | SHORT_TERM blocks ahead (default 10) |
| goodTilTimeSeconds | integer | — | GTT lifetime (default 3600) |
| market | string | yes | Market ticker, e.g. BTC-USD |
| postOnly | boolean | — | Reject if it would cross (maker-only). Defaults to server config. |
| price | number | yes | — |
| reduceOnly | boolean | — | — |
| side | string | yes | — |
| size | number | yes | Size in base units |
| timeInForce | string | — | — |
No output schema declared.
No examples provided.
place_market_order Place a 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.
| Name | Type | Req | Description |
|---|---|---|---|
| clientId | integer | — | — |
| confirm | boolean | — | Verify the real fill via the indexer after broadcast (default true). |
| market | string | yes | Market ticker, e.g. BTC-USD |
| reduceOnly | boolean | — | — |
| side | string | yes | — |
| size | number | yes | Size in base units |
| slippageBps | number | — | Max 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 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.
| Name | Type | Req | Description |
|---|---|---|---|
| clientId | integer | — | — |
| market | string | yes | — |
| side | string | yes | — |
| size | number | yes | — |
| slippageBps | number | — | Execution bound past the trigger, in bps (default 500). Raise for thin books. |
| triggerPrice | number | yes | — |
No output schema declared.
No examples provided.
place_take_profit 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.
| Name | Type | Req | Description |
|---|---|---|---|
| clientId | integer | — | — |
| market | string | yes | — |
| side | string | yes | — |
| size | number | yes | — |
| slippageBps | number | — | Execution bound past the trigger, in bps (default 500). Raise for thin books. |
| triggerPrice | number | yes | — |
No output schema declared.
No examples provided.
whoami Describe this session ~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.