Server data from the Official MCP Registry
Unofficial xRocket market data and opt-in local account and financial workflow tools
About
Unofficial xRocket market data and opt-in local account and financial workflow tools
Security Report
This is a well-designed MCP server for xRocket Exchange with strong security-first principles. The code demonstrates careful authentication design with explicit feature gates, prepare/execute approval workflows for writes, and environment-based configuration. Permissions are appropriate for the stated purpose (financial API access). No critical vulnerabilities were identified. Minor code quality observations exist but do not significantly impact security. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity). Package verification found 1 issue.
3 files analyzed · 5 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: XROCKET_PROFILE
Environment variable: XROCKET_ENVIRONMENT
Environment variable: XROCKET_API_TOKEN
Environment variable: XROCKET_ENABLE_TRADING
Environment variable: XROCKET_ENABLE_TRANSFERS
Environment variable: XROCKET_ENABLE_WITHDRAWALS
Environment variable: XROCKET_ALLOW_MAINNET_WRITES
Environment variable: XROCKET_APPROVAL_TTL_MS
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-nakazanie-ton-xrocket": {
"env": {
"XROCKET_PROFILE": "your-xrocket-profile-here",
"XROCKET_API_TOKEN": "your-xrocket-api-token-here",
"XROCKET_ENVIRONMENT": "your-xrocket-environment-here",
"XROCKET_ENABLE_TRADING": "your-xrocket-enable-trading-here",
"XROCKET_APPROVAL_TTL_MS": "your-xrocket-approval-ttl-ms-here",
"XROCKET_ENABLE_TRANSFERS": "your-xrocket-enable-transfers-here",
"XROCKET_ENABLE_WITHDRAWALS": "your-xrocket-enable-withdrawals-here",
"XROCKET_ALLOW_MAINNET_WRITES": "your-xrocket-allow-mainnet-writes-here"
},
"args": [
"-y",
"xrocket-mcp"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
xRocket Exchange for agents
Unofficial, safety-first agent tooling for the xRocket Exchange API: one MCP server, one agent skill, and one Codex plugin bundle.
The default installation is intentionally public and read-only. Private account access and financial writes are available only in explicit local profiles, with separate feature gates and a prepare/execute approval flow. This project is not affiliated with, endorsed by, or operated by xRocket.
Open xRocket · Download v0.2.0 · Official API overview · Coverage · Safety model · Legal review · Distribution status
What is included
| Layer | Purpose | Default |
|---|---|---|
| MCP server | Semantic tools over the official REST API | public, mainnet, read-only |
| Agent skill | Teaches agents safe discovery, analysis, approval, and reconciliation workflows | Read first; never infer write approval |
| Codex plugin | Installs the server and skill together from a repo-local marketplace | Public tools only |
| Registry metadata | server.json for io.github.nakazanie-ton/xrocket | Published in the Official MCP Registry |
The API surface was re-audited on 2026-08-24 and still covers all 50 Exchange documentation pages, all 26 OpenAPI operations, and all 7 WebSocket channels. The four linked legal PDFs were reviewed separately on 2026-08-07. The current OpenAPI document has canonical SHA-256 5de074def6ee9f59c7c1d1a2f8a06e1f5e2fafb446ebef58af7168e32813e2a3. See the source inventory.
Tool profiles
| Profile | Tools | Token | Financial writes |
|---|---|---|---|
public | 10 public market-data and onboarding tools | Not used | Impossible |
private-read | Public tools plus 6 account/history tools | Required | Impossible |
full | Public and private reads plus 8 prepare/execute write tools | Required | Still disabled until each feature gate is enabled |
For normal questions, xrocket_market_snapshot resolves a symbol or base asset and returns rules, ticker, best bid/ask, recent trades, and fees in one call. Private mode adds xrocket_account_overview for funding balances, trading balances, and active orders without inventing portfolio valuation. Narrow tools remain available for detailed queries. Full mode adds guarded order, cancel, internal-transfer, and withdrawal workflows.
Quick start
Requirements: Node.js 20 or newer. No clone or configuration is needed for public market data:
npx -y xrocket-mcp@0.2.0 doctor
npx -y xrocket-mcp@0.2.0 config
The second command prints this copy-paste MCP client configuration:
{
"mcpServers": {
"xrocket": {
"command": "npx",
"args": ["-y", "xrocket-mcp@0.2.0"],
"env": {
"XROCKET_ENVIRONMENT": "mainnet",
"XROCKET_ENABLE_TRADING": "false",
"XROCKET_ENABLE_TRANSFERS": "false",
"XROCKET_ENABLE_WITHDRAWALS": "false",
"XROCKET_ALLOW_MAINNET_WRITES": "false"
}
}
}
}
The Codex bundle is described by plugins/xrocket-exchange/.codex-plugin/plugin.json, and its safe defaults are already set in plugins/xrocket-exchange/.mcp.json. Register this repository's marketplace, then install the all-in-one plugin:
codex plugin marketplace add nakazanie-ton/myrocket --ref main
codex plugin add xrocket-exchange@xrocket-agents
For a local clone, replace the first command with codex plugin marketplace add /absolute/path/to/myrocket.
For source development:
git clone https://github.com/nakazanie-ton/myrocket.git
cd myrocket/plugins/xrocket-exchange
npm ci
npm test
npm run build
The published package is xrocket-mcp@0.2.0.
Enabling private reads
Create a dedicated xRocket API bot token and pass it only through the process environment. With a token present, the profile defaults to private-read; an explicit profile is still respected:
export XROCKET_ENVIRONMENT=testnet
export XROCKET_API_TOKEN='replace-with-your-token'
node dist/cli.js
Never put the bearer token in a prompt, tool argument, committed MCP file, issue, or log. xRocket describes one broad bearer credential rather than fine-grained scopes, so treat it as full account access.
Enabling a write capability
full does not enable writes by itself. Enable only the capability you need:
export XROCKET_PROFILE=full
export XROCKET_ENVIRONMENT=testnet
export XROCKET_API_TOKEN='replace-with-your-token'
export XROCKET_ENABLE_TRADING=true
# XROCKET_ENABLE_TRANSFERS and XROCKET_ENABLE_WITHDRAWALS remain false
node dist/cli.js
Every write is two-stage:
- Call the matching
*_preparetool. It validates inputs, reads relevant limits/state, stores the exact prepared intent in server memory, and returns a short-lived approval receipt. - Show the proposed action to the user and obtain explicit approval.
- Call the matching
*_executetool once with only that receipt. The server retrieves the stored intent; the receipt is single-use and writes are never automatically retried. - If the network outcome is ambiguous, reconcile by client identifier before considering any retry.
The receipt binds execution to the prepared payload, but it is not proof that a human approved it. Once a client exposes full execute tools and the corresponding gate is enabled, an agent can technically call them. Use a client with a trusted approval UI or an out-of-band operator policy; otherwise keep the execute capability disabled.
Mainnet writes additionally require XROCKET_ENVIRONMENT=mainnet and XROCKET_ALLOW_MAINNET_WRITES=true. See configuration and safety details.
Important API boundaries
- The Exchange API has no deposit-address or create-deposit endpoint.
xrocket_onboarding_linksprovides the configured UI path; balances can be refreshed afterward. - Exchange
POST /api/v1/accounts/transfersmoves funds only between the same user'sfundingandtradingaccounts. It is not a user-to-user payment tool. - xRocket Pay is a different product, uses different authentication, and is outside this server.
- The official API currently uses asset identifier
TONCOINin places where the UI may say TON. - The 0.2.0 server uses REST snapshots. WebSocket channels are audited but not exposed until the upstream documentation defines reliable replay, gap recovery, and orderbook delta deletion semantics.
- Decimal financial values remain strings. Do not coerce them through binary floating point.
Development
cd plugins/xrocket-exchange
npm ci
npm test
npm run typecheck
npm run build
npm pack --dry-run
CI also checks the recorded documentation inventory and OpenAPI digest for drift. No live private credentials are used in tests.
Policy and support
This software can submit trades, transfers, and blockchain withdrawals when a local operator explicitly enables those capabilities. Review SECURITY.md, PRIVACY.md, TERMS.md, the project's legal and policy review, and xRocket's canonical terms and policies guide before use.
OpenAI's public plugin directory rules currently prohibit tools that execute investment trades, money transfers, or cryptocurrency transfers. The full profile is therefore not eligible for that public directory. This local Codex bundle remains public-read-only by default; directory submission would require a separately hosted public-only MCP deployment and a fresh policy/vendor review.
Report defects through GitHub Issues. Report vulnerabilities privately as described in SECURITY.md.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
