xRocket Exchange MCP

v0.6.0
io.github.nakazanie-ton/xrocket Checked 2 days ago Published 3 months ago

Autonomous xRocket CEX trading inside operator-set limits, plus live market data over MCP

Values you need

VariableWhat it is
XROCKET_PROFILEoptional Tool catalog: public, private-read, or full Default: public
XROCKET_ENVIRONMENToptional Official xRocket environment Default: mainnet
XROCKET_API_TOKENoptional secret xRocket bearer token required for private profiles
XROCKET_ENABLE_TRADINGoptional Allow autonomous order placement and cancellation inside the configured policy Default: false
XROCKET_TRADING_LIMIToptional Required daily autonomous trading value when trading is enabled; for example 100 USD or 2.5 TONCOIN
XROCKET_ENABLE_TRANSFERSoptional Allow guarded internal funding/trading transfers in full profile Default: false
XROCKET_ENABLE_WITHDRAWALSoptional Allow guarded blockchain withdrawals in full profile Default: false
XROCKET_ALLOW_MAINNET_WRITESoptional Additional explicit gate for every mainnet financial write Default: false
XROCKET_APPROVAL_TTL_MSoptional Optional lifetime in milliseconds for prepared transfer and withdrawal approvals

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add xrocket -- npx -y xrocket-mcp@0.6.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "xrocket": {
      "args": [
        "-y",
        "xrocket-mcp@0.6.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "xrocket": {
      "args": [
        "-y",
        "xrocket-mcp@0.6.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "xrocket": {
      "args": [
        "-y",
        "xrocket-mcp@0.6.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.xrocket]
command = "npx"
args = ["-y", "xrocket-mcp@0.6.0"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http xrocket https://xrocket-mcp-production.up.railway.app/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "xrocket": {
      "args": [
        "-y",
        "mcp-remote",
        "https://xrocket-mcp-production.up.railway.app/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "xrocket": {
      "url": "https://xrocket-mcp-production.up.railway.app/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "xrocket": {
      "type": "http",
      "url": "https://xrocket-mcp-production.up.railway.app/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.xrocket]
command = "npx"
args = ["-y", "mcp-remote", "https://xrocket-mcp-production.up.railway.app/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: xrocket_market_snapshot, xrocket_market_symbols, xrocket_market_tickers, xrocket_market_candles, xrocket_market_orderbook, xrocket_market_trades, xrocket_asset_info, xrocket_rates, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json