xRocket Exchange MCP
v0.6.0Autonomous xRocket CEX trading inside operator-set limits, plus live market data over MCP
Values you need
| Variable | What it is | |
|---|---|---|
XROCKET_PROFILE | optional | Tool catalog: public, private-read, or full Default: public |
XROCKET_ENVIRONMENT | optional | Official xRocket environment Default: mainnet |
XROCKET_API_TOKEN | optional secret | xRocket bearer token required for private profiles |
XROCKET_ENABLE_TRADING | optional | Allow autonomous order placement and cancellation inside the configured policy Default: false |
XROCKET_TRADING_LIMIT | optional | Required daily autonomous trading value when trading is enabled; for example 100 USD or 2.5 TONCOIN |
XROCKET_ENABLE_TRANSFERS | optional | Allow guarded internal funding/trading transfers in full profile Default: false |
XROCKET_ENABLE_WITHDRAWALS | optional | Allow guarded blockchain withdrawals in full profile Default: false |
XROCKET_ALLOW_MAINNET_WRITES | optional | Additional explicit gate for every mainnet financial write Default: false |
XROCKET_APPROVAL_TTL_MS | optional | 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.0Add 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/mcpAdd 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
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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