streamable-httpMITupdated 2mo ago
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).
What can you do with 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-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
Install
Add Rubin Exchange to your client. Pick the one you use.
claude mcp add --transport http rubin-exchange https://mcp.mainnet.rubin.trade/mcpcodex mcp add rubin-exchange --url https://mcp.mainnet.rubin.trade/mcp{
"mcpServers": {
"rubin-exchange": {
"url": "https://mcp.mainnet.rubin.trade/mcp"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"rubin-exchange": {
"type": "http",
"url": "https://mcp.mainnet.rubin.trade/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"rubin-exchange": {
"url": "https://mcp.mainnet.rubin.trade/mcp"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"rubin-exchange": {
"serverUrl": "https://mcp.mainnet.rubin.trade/mcp"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
Score
39 / 100
Incomplete
- Documentation22/25
- Maintenance22/25
- Trust16/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 61 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint โ no local install
Version history
| Versions | Published |
|---|---|
| 1.0.2Latest | Jun 22, 2026 |
| 1.0.1 | Jun 22, 2026 |
| 1.0.0 | Jun 21, 2026 |