xRocket Exchange MCP

io.github.nakazanie-tonPublished by GitHub account nakazanie-tonv0.6.0Updated Oct 27, 2026

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

The publisher's own server: Exchange.news — Crypto offers, campaigns and news

VerifiedStreamable HTTPWeb executableFinanceData & Analytics

Overview

AI-generated overview

xRocket Exchange MCP gives an assistant public xRocket spot market data, and with a local token, guarded autonomous trading inside an operator-set daily limit.

What you can do
  • Read public market data: symbols and trading rules, 24-hour tickers, OHLCV candles, order books, recent trades, asset info, fiat rates and trade fees, plus a combined market snapshot
  • Inspect one exact symbol or asset without guessing ambiguous names
  • With a private profile, read balances, whole-account overview, orders, transfers, withdrawals and quotas
  • Place and cancel spot market or limit orders autonomously within a configured daily value limit and built-in order-count guards
  • Prepare transfers and withdrawals as exact intents that need a short-lived, single-use approval receipt
  • Return sign-in links, local trading setup guidance and API documentation pointers
When to use it
Use it when you want an assistant to watch xRocket spot markets, pull candles, order books and fees, or run a bounded trading strategy on a testnet-first setup. The hosted endpoint is enough for read-only market data; local installation is needed for account access and any trading.
Requirements
Either the hosted public endpoint (no credentials) or a local process via npx, which needs Node.js 20 or newer. Private access needs an xRocket API token in XROCKET_API_TOKEN, plus XROCKET_PROFILE and XROCKET_ENVIRONMENT; trading requires XROCKET_ENABLE_TRADING and XROCKET_TRADING_LIMIT, and mainnet writes also need XROCKET_ALLOW_MAINNET_WRITES.
Before you install
The API token has broad account access with no documented granular scopes; keep it out of chat, the hosted endpoint, committed files, issues and logs. Enabling trading lets the assistant place and cancel real orders autonomously; transfers and withdrawals move funds and need explicit approval receipts. Mainnet writes require XROCKET_ALLOW_MAINNET_WRITES. Ambiguous order outcomes stay reserved against the limit and are not retried. The package is not affiliated with xRocket.

Installation

In SourceWeft

  1. Open xRocket Exchange MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.nakazanie-ton%2Fxrocket/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "xrocket-exchange": {
      "type": "http",
      "url": "https://xrocket-mcp-production.up.railway.app/mcp"
    }
  }
}

README

xRocket Exchange MCP

Set one daily value limit and let an MCP-capable AI agent place and cancel xRocket spot orders autonomously inside it. Transfers and withdrawals remain separate explicit-approval operations.

The hosted endpoint remains a public market-data demo and onboarding path; it never receives account credentials and cannot trade. This package is not affiliated with or endorsed by xRocket. Set up trading or open xRocket.

Trading quick start

  1. Sign in to xRocket and open Menu → Settings → Exchange settings → API token.

  2. Generate a testnet-first MCP configuration with a daily limit:

    bash
    npx -y [email protected] trading-config --limit 100 --asset USD
  3. Paste the printed JSON into your local MCP client. Replace SET_YOUR_XROCKET_API_TOKEN_LOCALLY only in the client's local secret or environment settings.

  4. Give the client a strategy. It can place and cancel market or limit orders on any available spot pair until the configured daily value or built-in order-count limits are reached.

Use npx -y [email protected] trading-config --limit 100 --asset USD --mainnet only after testnet validation. Transfers and withdrawals stay disabled.

The upstream token has broad account access rather than documented granular scopes. Never put it in chat, the hosted endpoint, a committed file, an issue, or a log.

Hosted market demo

Use the connection page or copy the public mainnet endpoint without installing anything or supplying credentials:

text
https://xrocket-mcp-production.up.railway.app/mcp

It exposes only the 10 public tools and cannot read account tokens or enable financial writes. When asked to trade, its onboarding tool points the user to the local setup above.

Local quick start

bash
npx -y [email protected] doctornpx -y [email protected] config

Node.js 20 or newer is required. Public market reads work without configuration:

text
XROCKET_PROFILE=publicXROCKET_ENVIRONMENT=mainnet

Install the all-in-one Codex plugin from the repository marketplace:

bash
codex plugin marketplace add nakazanie-ton/myrocket --ref maincodex plugin add xrocket-exchange@xrocket-agents

GitHub Copilot CLI can install the portable plugin directly:

bash
copilot plugin install nakazanie-ton/myrocket:plugins/xrocket-exchange

The portable install connects only to the hosted public market tools. Use the trading quick start above when local account access is needed.

Gemini CLI:

bash
gemini extensions install https://github.com/nakazanie-ton/myrocket

The root Gemini extension uses the same hosted public-only endpoint and local trading handoff.

Claude Code:

bash
claude plugin marketplace add nakazanie-ton/myrocketclaude plugin install xrocket-exchange@xrocket-agents

Both marketplace plugins start with public market tools. The bundled skill handles the sign-in and one-limit local trading setup when private access is needed.

MCP client example:

json
{  "mcpServers": {    "xrocket": {      "command": "npx",      "args": ["-y", "[email protected]"],      "env": {        "XROCKET_ENVIRONMENT": "mainnet",        "XROCKET_ENABLE_TRADING": "false",        "XROCKET_ENABLE_TRANSFERS": "false",        "XROCKET_ENABLE_WITHDRAWALS": "false",        "XROCKET_ALLOW_MAINNET_WRITES": "false"      }    }  }}

For source development, run npm ci, npm test, and npm run build in this directory.

Profiles and write gates

  • public: 10 unauthenticated tools, including the composed xrocket_market_snapshot.
  • private-read: public tools plus balances, whole-account overview, orders, transfers, withdrawals, and quotas; inferred when XROCKET_API_TOKEN is present.
  • full: all tools, including autonomous trading plus explicit transfer/withdrawal workflows; every capability remains disabled unless its own gate is true.

Write gates are XROCKET_ENABLE_TRADING, XROCKET_ENABLE_TRANSFERS, and XROCKET_ENABLE_WITHDRAWALS; all default to false. Mainnet writes also require XROCKET_ALLOW_MAINNET_WRITES=true.

xrocket_agent_trade estimates and values each order before submitting it once. The local durable ledger enforces the configured daily value limit across restarts, while today's xrmcp-… exchange history recovers usage created by another local process. Daily order-count and active-order guards remain built in. All spot symbols are allowed by default; an optional symbol allowlist is available for advanced setups. Ambiguous order outcomes stay reserved against the limit and are not retried.

Transfers and withdrawals still store an exact prepared intent and accept only its short-lived, single-use approval receipt. The normal trading config keeps both gates disabled.

Boundaries

  • The Exchange API has no deposit-address endpoint; onboarding is a UI guide only.
  • Exchange transfers are internal funding ↔ trading, not user-to-user payments.
  • xRocket Pay is a separate product and is not included.
  • WebSocket channels are audited but 0.6.0 uses bounded REST snapshots.
  • Keep financial values as decimal strings and use TONCOIN where the current API requires it.

Full documentation, coverage, security policy, privacy notice, and terms live in the project repository.

Source: plugins/xrocket-exchange/README.md at commit d8b01f7

Tools

10

xrocket_market_snapshot

xRocket market snapshot

Resolve an exact symbol or base asset and return market rules, ticker, best bid/ask, recent trades, and fees in one read-only call. Exact symbols win; ambiguous assets are never guessed.

Parametersdepthmarketrequiredprecision

xrocket_market_symbols

xRocket symbols

List all exchange symbols or inspect one exact symbol and its trading constraints.

Parameterssymbol

xrocket_market_tickers

xRocket 24h tickers

Get public 24-hour ticker data, optionally for a repeated list of symbols.

Parameterssymbols

xrocket_market_candles

xRocket candles

Get public OHLCV candles for an exact ISO-8601 time window.

ParameterstyperequiredendAtrequiredsymbolrequiredstartAtrequired

xrocket_market_orderbook

xRocket order book

Get a public order-book snapshot. Precision must be valid for the selected pair.

Parametersdepthsymbolrequiredprecision

xrocket_market_trades

xRocket recent trades

Get recent public trades for one symbol.

Parameterssymbolrequired

xrocket_asset_info

xRocket assets

List public assets or inspect one exact asset identifier.

Parametersasset

xrocket_rates

xRocket rates

Get public crypto-asset rates in one fiat base currency.

Parametersbaserequiredassets

xrocket_trade_fees

xRocket trade fees

Get exchange trade-fee data, optionally for repeated symbols.

Parameterssymbols

Version history

1
  1. v0.6.0LatestSep 16, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Exchange integrations