Skip to content
Gemini CLI

Rubin Exchange for Gemini CLI

trade.rubin/exchange

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

client:Gemini CLI transport:streamable-http tools:33

Install Rubin Exchange in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "exchange": {
      "httpUrl": "https://mcp.mainnet.rubin.trade/mcp"
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

What Gemini CLI can do once it is connected

All 33 tools →

Rubin Exchange in other clients