Rubin Exchange

Official registry Finance and payments

Rubin: self-custody DEX for crypto perpetuals & spot - trade, read positions, orders, balances.

What can you do with 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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
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).>'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "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

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. Rubin MCP server (mainnet)
  2. Tools
  3. Authentication
  4. Connect
  5. Manifest
  6. Links
  7. License

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.

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.

License

MIT

Frequently asked questions

What is Rubin Exchange?

Rubin: self-custody DEX for crypto perpetuals & spot - trade, read positions, orders, balances.

How do I install Rubin Exchange?

It runs as a remote server. In 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).>'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does Rubin Exchange need an API key?

Yes. It expects Authorization, which you set in its configuration.

Is Rubin Exchange open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains Rubin Exchange?

It is published by rubin-trade. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.