RubinTrade
OfficialAllows AI agents using GitHub Copilot to trade crypto perpetual futures and spot on Rubin exchange.
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-httpOfficial 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
Related MCP server: Purple Flea Trading
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rubin-trade/rubin-mainnet-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server