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
- 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
- deposit_to_subaccount
- top_up_gas
- place_limit_order
- place_market_order
- cancel_order
- cancel_all_orders
- batch_cancel
- place_stop_loss