NexusTrader MCP
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_balanceB | 获取指定交易所/账户类型的余额。 Args: exchange: 交易所名称,如 binance / bybit / okx account_type: 账户类型,如 USD_M_FUTURE_TESTNET / LINEAR |
| get_all_balancesA | 获取所有已配置账户的余额。 |
| get_positionA | 获取指定交易对的持仓信息。 Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE |
| get_all_positionsA | 获取所有持仓,可按交易所过滤。 Args: exchange: 可选,交易所名称过滤,如 binance / bybit / okx |
| get_tickerA | 获取指定交易对的最新行情(REST 请求,非缓存)。 Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE |
| get_orderbookA | 获取缓存中的最优买卖价(L1 盘口)。需要先预订阅 bookl1。 Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE |
| get_klinesA | 获取历史 K 线数据(REST 请求)。 Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE interval: K 线周期,可选 1m/5m/15m/30m/1h/4h/1d 等 limit: 返回条数,默认 100 |
| get_funding_rateA | 获取缓存中的资金费率。需要先预订阅 funding_rate。 Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE |
| get_mark_priceA | 获取缓存中的标记价格。需要先预订阅 mark_price。 Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE |
| get_index_priceA | 获取缓存中的指数价格。需要先预订阅 index_price。 Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE |
| create_orderA | 【真实交易】下单。将在交易所执行真实交易,请谨慎操作。 Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE side: 方向,BUY 或 SELL type: 订单类型,LIMIT / MARKET / POST_ONLY amount: 数量(字符串,如 "0.01") price: 价格(限价单必填,字符串如 "68000") reduce_only: 是否仅减仓,默认 False |
| cancel_orderB | 撤销一个挂单。 Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE oid: 订单 ID |
| cancel_all_ordersB | 撤销指定交易对的所有挂单。 Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE |
| modify_orderA | 修改一个挂单的价格和数量。 Args: symbol: 交易对 oid: 要修改的订单 ID price: 新价格 amount: 新数量 side: 新方向(可选,不提供则保持原方向) |
| get_open_ordersA | 获取所有挂单。必须提供 symbol 或 exchange 之一。 Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE exchange: 交易所名称,如 binance |
| get_orderB | 获取指定订单的详细信息。 Args: oid: 订单 ID |
| get_exchange_infoA | 获取已配置的交易所及其连接状态。 |
| get_symbolsB | 列出交易所可用交易对。 Args: exchange: 交易所名称,如 binance / bybit / okx instrument_type: 可选,过滤合约类型:linear / spot / inverse |
| get_market_infoA | 获取指定交易对的市场详情(精度、最小数量等)。 Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 19 tools
Each tool targets a distinct resource/action: balances, positions, market data, order management, and exchange metadata. Even similar pairs like get_balance/get_all_balances and get_order/get_open_orders are clearly separated by specificity.
The toolset mostly follows a consistent get_<noun> / <verb>_order pattern, with create_order, cancel_order, cancel_all_orders, and modify_order forming a clear action set. Minor deviations like get_all_balances and get_orderbook (compound noun without underscore) are still readable and predictable.
At 19 tools, the server is slightly heavy but each tool earns its place given the breadth of trading operations: account, positions, market data, order lifecycle, and instrument metadata. There is no meaningful redundancy.
Core trading workflows are covered well, but several market data tools (orderbook, funding, mark, index) require pre-subscriptions that are not exposed via any tool, creating dead ends. Order/trade history is also missing, so agents cannot inspect past fills.