Rubin Exchange
Rubin: self-custody DEX for crypto perpetuals & spot - trade, read positions, orders, balances.
Que pouvez-vous faire avec Rubin Exchange ?
- 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
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http rubin-exchange 'https://mcp.mainnet.rubin.trade/mcp' --header 'Authorization: <Bearer MCP token - mint one on the Rubin exchange at rubin.trade (Trading Keys -> MCP Token).>'
{
"mcpServers": {
"rubin-exchange": {
"type": "http",
"url": "https://mcp.mainnet.rubin.trade/mcp",
"headers": {
"Authorization": "<Bearer MCP token - mint one on the Rubin exchange at rubin.trade (Trading Keys -> MCP Token).>"
}
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
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.
- Exchange / app: https://rubin.trade
- MCP & AI-trading docs: https://code.rubin.trade/ai
- Endpoint (mainnet):
https://mcp.mainnet.rubin.trade/mcp· transportstreamable-http - Official MCP Registry:
trade.rubin/exchange
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
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)
{
"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
{
"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.
Links
- Exchange: https://rubin.trade
- Builder & MCP docs: https://code.rubin.trade
- Market data API (indexer): https://indexer.mainnet.rubin.trade
License
Questions fréquentes
Qu'est-ce que Rubin Exchange ?
Rubin: self-custody DEX for crypto perpetuals & spot - trade, read positions, orders, balances.
Comment installer Rubin Exchange ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http rubin-exchange 'https://mcp.mainnet.rubin.trade/mcp' --header 'Authorization: <Bearer MCP token - mint one on the Rubin exchange at rubin.trade (Trading Keys -> MCP Token).>'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Rubin Exchange ?
Oui. Il attend Authorization, à renseigner dans sa configuration.
Rubin Exchange est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient Rubin Exchange ?
Il est publié par rubin-trade. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.