← rubin.trade
INDIVIDUAL MCP TOOL
get_balance
Get the subaccount collateral (USDC asset position) and the on-chain wallet bank balances (gas).
Input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent endpoint
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.ritbit-mcp]
url = "https://mcp.mainnet.rubin.trade/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"ritbit-mcp": {
"type": "http",
"url": "https://mcp.mainnet.rubin.trade/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: ritbit-mcp
Remote MCP URL: https://mcp.mainnet.rubin.trade/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"ritbit-mcp": {
"url": "https://mcp.mainnet.rubin.trade/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"ritbit-mcp": {
"type": "http",
"url": "https://mcp.mainnet.rubin.trade/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "ritbit-mcp",
"transport": "streamable-http",
"url": "https://mcp.mainnet.rubin.trade/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
whoami— 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).get_block_height— Return the latest chain block height.list_markets— List all perpetual markets with ticker, status and oracle price.get_market— Get details for one perpetual market (clobPairId, atomicResolution, quantumConversionExponent, tick/step sizes, oracle price, status).get_orderbook— Get the live orderbook (bids/asks) for a market, optionally truncated to a depth.get_candles— Get OHLCV candles for a market at a given resolution.get_candles_multi— 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.get_equity— Get the subaccount summary: equity, freeCollateral, marginEnabled, open perpetual positions and asset positions.