MCP server: One MCP server.

Rubin Exchange

@rubinRun by its publisher: served from their own domain, namespace checked by the registry.MCP server · External

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

Tradingv1.0.2MIT
Freeno charge per call

One address for any MCP client. No sign-in needed on this server.

What it does

21 read9 act3 other

Grouped by tool name. At most: moves money, runs code or commands, deletes data, or sends messages for you.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Tools

33 · grouped by tool name · checked 11 Oct 2026

Read · 21Look things up

  • whoami
  • get_block_height
  • list_markets
  • get_market
  • get_orderbook
  • get_candles
  • get_candles_multi
  • get_balance
  • get_equity
  • get_positions
  • get_open_orders
  • get_portfolio
  • get_position_risk
  • get_fills
  • get_pnl
  • get_funding_status
  • get_news
  • get_leaderboard
  • get_my_rank
  • get_fee_tier
  • get_referral_program

Act · 9Change something

  • deposit_to_subaccount
  • place_limit_order
  • place_market_order
  • cancel_order
  • cancel_all_orders
  • batch_cancel
  • place_stop_loss
  • close_position
  • close_all_positions

Other · 3Neither hinted nor named

  • top_up_gas
  • place_take_profit
  • open_position
Try it in the Inspector
README1 min read

Rubin MCP server (mainnet)

Trade crypto perpetual futures and spot on Rubin — a self-custody decentralized exchange — directly from AI agents and assistants via the Model Context Protocol (MCP).

Rubin runs a hosted, remote MCP server (streamable-HTTP). Connect any MCP client (Claude, Cursor, VS Code, etc.) and let agents place and manage orders and read live market and account data. You keep custody of your funds — trading is authorized by a scoped token you mint yourself.

Tools

  • Market data — list markets, order book, candles, market stats, block height
  • Account — balances, equity, positions, open orders, fills, PnL
  • Trading — place / cancel limit & market orders, stop-loss, take-profit, cancel-all, batch-cancel

Authentication

Send an Authorization: Bearer <token> header. Mint a free MCP token on the Rubin exchange:

https://rubin.trade → Trading Keys → MCP Token

Connect

Claude Code / CLI

bash
claude mcp add --transport http rubin https://mcp.mainnet.rubin.trade/mcp \
  --header "Authorization: Bearer <YOUR_MCP_TOKEN>"

Generic mcp.json (Claude Desktop / Cursor / others)

json
{
  "mcpServers": {
    "rubin": {
      "type": "streamable-http",
      "url": "https://mcp.mainnet.rubin.trade/mcp",
      "headers": { "Authorization": "Bearer <YOUR_MCP_TOKEN>" }
    }
  }
}

VS Code (GitHub Copilot) — .vscode/mcp.json

json
{
  "servers": {
    "rubin": {
      "type": "http",
      "url": "https://mcp.mainnet.rubin.trade/mcp",
      "headers": { "Authorization": "Bearer <YOUR_MCP_TOKEN>" }
    }
  }
}

See code.rubin.trade/ai for ready-made snippets for every client.

Manifest

server.json — the MCP Registry manifest for this server.

License

MIT

Similar modules

Browse Trading