The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Rubin Exchange listing page.
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.
https://mcp.mainnet.rubin.trade/mcp · transport streamable-httptrade.rubin/exchangeSend an Authorization: Bearer <token> header. Mint a free MCP token on the Rubin exchange:
https://rubin.trade → Trading Keys → MCP Token
Claude Code / CLI
Generic mcp.json (Claude Desktop / Cursor / others)
VS Code (GitHub Copilot) — .vscode/mcp.json
See code.rubin.trade/ai for ready-made snippets for every client.
server.json — the MCP Registry manifest for this server.