# io.github.OrderlyNetwork/trading-mcp (npm · @orderly.network/trading-mcp)

Orderly Network trading MCP server backed by the orderly CLI. Keys stay in the OS keychain.

- Trust score: 81/100 (high trust)
- Change this week: +4
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-30

## Components

- npm · `@orderly.network/trading-mcp`: 81/100 (this document), [markdown](https://verifymcp.io/servers/orderlynetwork-trading-mcp/orderly-network-trading-mcp.md), [page](https://verifymcp.io/servers/orderlynetwork-trading-mcp/orderly-network-trading-mcp)

## Channel facts

- Registry: `npm`
- Package: `@orderly.network/trading-mcp`
- Version: `0.2.5`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-30.

- **Supply Chain Security**: 99/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 28 of 98 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 4 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 80/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 3157 tokens (~131/item across 24 items; 20 tools + 4 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 70/100
  - Stability observed for 21 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 20 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 22 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the io.github.OrderlyNetwork/trading-mcp server?

io.github.OrderlyNetwork/trading-mcp runs locally as an npm package, launched with npx -y @orderly.network/trading-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add orderlynetwork-trading-mcp -- npx -y @orderly.network/trading-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "orderlynetwork-trading-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orderly.network/trading-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "orderlynetwork-trading-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orderly.network/trading-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add orderlynetwork-trading-mcp -- npx -y @orderly.network/trading-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "orderlynetwork-trading-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@orderly.network/trading-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add orderlynetwork-trading-mcp --command npx --arg -y --arg @orderly.network/trading-mcp
```

### Hermes

```yaml
mcp_servers:
  orderlynetwork-trading-mcp:
    command: "npx"
    args: ["-y", "@orderly.network/trading-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "orderlynetwork-trading-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@orderly.network/trading-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add orderlynetwork-trading-mcp -t stdio -c npx -a -y @orderly.network/trading-mcp
```

### Other

```json
{
  "mcpServers": {
    "orderlynetwork-trading-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@orderly.network/trading-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-30 (score 81, +1)

No change was recorded against any check on this day. Stability & Change Management went from 67 to 70. That category is still filling its 30-day observation window: 20 days of observed history at the previous scan, 21 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-28 (score 80, +1)

No change was recorded against any check on this day. Stability & Change Management went from 60 to 63. That category is still filling its 30-day observation window: 18 days of observed history at the previous scan, 19 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-26 (score 79, +1)

No change was recorded against any check on this day. Stability & Change Management went from 53 to 57. That category is still filling its 30-day observation window: 16 days of observed history at the previous scan, 17 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-25 (score 78, 0)

- [functional] Package version: 0.2.4 → 0.2.5

### 2026-11-24 (score 78, +1)

No change was recorded against any check on this day. Stability & Change Management went from 47 to 50. That category is still filling its 30-day observation window: 14 days of observed history at the previous scan, 15 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-22 (score 77, +1)

No change was recorded against any check on this day. Stability & Change Management went from 40 to 43. That category is still filling its 30-day observation window: 12 days of observed history at the previous scan, 13 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-20 (score 76, +1)

No change was recorded against any check on this day. Stability & Change Management went from 33 to 37. That category is still filling its 30-day observation window: 10 days of observed history at the previous scan, 11 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-19 (score 75, +15)

- [security improvement] Malware scan: unverified → pass

## MCP tools (20)

### `wallet_create` (~140 tokens)

Create a wallet (onboarding step 1)

Generate a new EVM or SOL wallet and store its private key in the OS keychain. Only the address is returned; the private key is never printed and never leaves the CLI process. The wallet is not tradeable until wallet_register and wallet_add_key run. To use an existing wallet instead, ask the user to run `orderly-trading-mcp setup` in a terminal.

Input parameters:

- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.
- `type` (string): Wallet type: EVM or SOL (required in non-interactive mode) One of: EVM, SOL.

### `wallet_register` (~128 tokens)

Register an account (onboarding step 2)

Register the wallet with Orderly under a broker ID (for example "demo" on testnet). This creates the account record on the exchange and returns the account ID. Requires the wallet address from wallet_create. Ask the user for the broker ID; do not invent one.

Input parameters:

- `address` (required): Wallet address (required for AI/scripts, prompts if omitted)
- `broker_id` (required): Broker ID, e.g., "demo" (required for AI/scripts, prompts if omitted)
- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.

### `wallet_add_key` (~168 tokens)

Issue an API key (onboarding step 3)

Create an Orderly API key for the wallet, store it in the OS keychain and return the public key plus the accountId used by every other tool. Only read and trading scope can be granted through the MCP; asset (withdrawal) scope must be added with the CLI directly. Requires the wallet address and, for a new account, the broker ID.

Input parameters:

- `address` (required): Wallet address (required for AI/scripts, prompts if omitted)
- `broker_id`: Broker ID (required when no API key stored for wallet)
- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.
- `scope` (string): Key scopes: read,trading,asset (default: read,trading) One of: read, trading.

### `auth_list` (~101 tokens)

List Orderly accounts

List stored API-key accounts: account ID, wallet address, network and public key. No secrets are returned. Use an accountId from this list as the `account` argument on other tools. Call this first when the account is unknown.

Input parameters:

- `ids` (boolean): Output only account IDs, one per line (for scripting/piping)
- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.

### `account_balance` (~77 tokens)

Account balance

Show the account's token holdings (USDC balance, frozen amount, isolated margin). Use positions_list for account value, free collateral and margin ratios.

Input parameters:

- `account`: Account ID (auto-resolves if single account)
- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.

### `order_place` (~315 tokens)

Place a perpetual order

Place a perpetual-futures order. ALWAYS call with dry_run=true first to preview the exact request, then repeat with dry_run=false to execute. symbol must be uppercase (e.g. PERP_ETH_USDC). type is LIMIT, MARKET, IOC, FOK or POST_ONLY and is required for BUY/SELL orders. price is required for LIMIT, IOC, FOK and POST_ONLY. Short form: side=BID (market buy) or ASK (market sell), with no type or price. For Orderly Predict rounds use predict_buy/predict_sell instead. Set client_order_id to make retries idempotent. Returns the order object, including order_id.

Input parameters:

- `account`: Account ID (auto-resolves if single account)
- `client_order_id`: Custom client order ID (optional)
- `dry_run` (boolean): Print the request payload without signing or sending it
- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.
- `price`: Order price (required for LIMIT, IOC, FOK, POST_ONLY)
- `quantity` (required): quantity
- `reduce_only` (boolean): Reduce-only order (can only reduce existing position, not open new)
- `side` (string, required): side One of: BUY, SELL, BID, ASK.
- `symbol` (required): symbol
- `type` (string): Order type (omitted for the short BID/ASK form) One of: LIMIT, MARKET, IOC, FOK, POST_ONLY.

### `order_cancel` (~118 tokens)

Cancel an order

Cancel one order by order_id. symbol is optional and auto-fetched when omitted. Call with dry_run=true to preview the DELETE request before executing.

Input parameters:

- `account`: Account ID (auto-resolves if single account)
- `dry_run` (boolean): Print the request payload without signing or sending it
- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.
- `order_id` (required): order-id
- `symbol`: Symbol of the order (auto-fetched if not provided)

### `order_cancel_all` (~94 tokens)

Cancel all orders

Cancel every open order, optionally limited to one symbol. This is destructive and has no dry-run; prefer order_cancel for a single order unless the user explicitly asks to cancel all.

Input parameters:

- `account`: Account ID (auto-resolves if single account)
- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.
- `symbol`: Filter by symbol (optional)

### `order_list` (~287 tokens)

List orders

List orders, defaulting to open/incomplete orders. Filter by symbol, status, side, order_type or product_type. Set all=true to include completed orders. Use order_get via orderly_run for one specific order.

Input parameters:

- `account`: Account ID (auto-resolves if single account)
- `all` (boolean): Show all orders (overrides default INCOMPLETE filter)
- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.
- `order_type` (string): Filter by type: LIMIT, MARKET One of: LIMIT, MARKET, IOC, FOK, POST_ONLY.
- `page`: Page number (default: 1)
- `product_type` (string): Filter by product type: PERP or BINARY One of: PERP, BINARY.
- `side` (string): Filter by side: BUY, SELL One of: BUY, SELL.
- `size`: Page size (default: 25, max: 500)
- `sort_by`: Sort: CREATED_TIME_ASC, CREATED_TIME_DESC, UPDATED_TIME_ASC, UPDATED_TIME_DESC
- `status`: Filter by status. Individual: NEW, FILLED, CANCELLED, PARTIAL_FILLED, REJECTED. Bundled: INCOMPLETE, COMPLETED. Default: INCOMPLETE
- `symbol`: Filter by symbol

### `positions_list` (~126 tokens)

List open positions

List open positions plus account value, free collateral and margin ratios. Use product_type=BINARY for Orderly Predict positions (positive quantity is UP, negative is DOWN). Position quantities can lag a moment after a fill; re-read before closing or sizing a new order.

Input parameters:

- `account`: Account ID (auto-resolves if single account)
- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.
- `product_type` (string): Filter by product type: PERP or BINARY One of: PERP, BINARY.

### `positions_close` (~129 tokens)

Close a position

Close a position with a reduce-only MARKET order. Omit quantity to close the full position; pass quantity for a partial close. Perpetual futures only — use predict_close for Orderly Predict. Preview with dry_run=true.

Input parameters:

- `account`: Account ID (auto-resolves if single account)
- `dry_run` (boolean): Print the request payload without signing or sending it
- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.
- `quantity`: Partial close quantity (default: full position)
- `symbol` (required): symbol

### `leverage_set` (~106 tokens)

Set leverage

Set leverage for a symbol. value is required. Preview a change with dry_run=true. Use leverage_get to read the current leverage without mutating.

Input parameters:

- `account`: Account ID (auto-resolves if single account)
- `dry_run` (boolean): Print the request payload without signing or sending it
- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.
- `symbol` (required): symbol
- `value` (required): value

### `market_price` (~71 tokens)

Market price

Get index price, mark price, 24h statistics, funding and open interest for one symbol (e.g. PERP_ETH_USDC). Read-only.

Input parameters:

- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.
- `symbol` (required): symbol

### `market_orderbook` (~81 tokens)

Market order book

Get the order book for one symbol, including best bid/ask and depth. Use it to price limit orders. Read-only.

Input parameters:

- `depth`: Number of price levels per side (default: all)
- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.
- `symbol` (required): symbol

### `kline` (~173 tokens)

Candlestick data

Get candlestick/kline data. type is one of 1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w, 1mon; size defaults to 100 (max 1000). Read-only.

Input parameters:

- `network` (string): Network override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.
- `size`: Number of candles (default: 100, max: 1000)
- `symbol` (required): symbol
- `type` (string, required): type One of: 1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w, 1mon.

### `leverage_get` (~80 tokens)

Read leverage

Read the current leverage and margin mode for a symbol. Read-only; use leverage_set to change it.

Input parameters:

- `account` (string): Account ID. Defaults to ORDERLY_MCP_ACCOUNT, then the CLI default.
- `network` (string): Network override for this call.
- `symbol` (string, required): Symbol, e.g. PERP_ETH_USDC.

### `orderly_commands` (~196 tokens)

Search the Orderly CLI commands

Search the orderly CLI command surface available to this server. Use this before orderly_run whenever a dedicated tool does not cover the task. Returns command names, whether they mutate, usage, argument names/types/enums and help. Pass an exact command name (kebab-case or snake_case) for full detail, or a keyword to search. detail='full' includes long_about and complete argument help.

Input parameters:

- `detail` (string): summary (default) omits long help; full includes long_about and every argument description.
- `limit` (integer): Maximum commands to return (default 50, max 200).
- `mutates` (boolean): Filter to mutating (true) or read-only (false) commands.
- `offset` (integer): Number of matching commands to skip (default 0).
- `query` (string): Command name (order-place), keyword (algo, predict, history), or empty to list available commands.

### `orderly_read` (~157 tokens)

Run a read-only Orderly CLI command

Run an allowed read-only Orderly CLI command with structured arguments. Use this instead of orderly_run for reads when your client asks for confirmation on destructive tools. Mutating commands are rejected. Prefer a dedicated read tool when one exists; call orderly_commands first for exact argument names and enums.

Input parameters:

- `args` (object): Structured arguments keyed by the names returned by orderly_commands. Put network here, or use the top-level network field.
- `command` (string, required): Read-only CLI command name, e.g. "trades" or "funding-rates". Must appear in orderly_commands.
- `network` (string): Network override for this call. Takes precedence over args.network. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.

### `orderly_run` (~221 tokens)

Run an Orderly CLI command

Run an allowed Orderly CLI command with structured arguments. Prefer a dedicated tool when one exists; use this for commands that do not have one. Call orderly_commands first to get exact argument names, enums and required flags. Examples: algo_order_place, order_edit, order_get, trades, funding_rates, symbols, predict_rounds. Mutating commands execute immediately unless they support dry_run and it is set to true — always preview first. Wallet import/export, key removal and auth administration are never available. Pass network to override the default.

Input parameters:

- `args` (object): Structured arguments keyed by the names returned by orderly_commands, e.g. {"symbol":"PERP_ETH_USDC","side":"BUY"}. Put network here, or use the top-level network field.
- `command` (string, required): CLI command name, e.g. "order-place" or "order_place". Must appear in orderly_commands.
- `network` (string): Network override for this call. Takes precedence over args.network. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.

### `orderly_status` (~69 tokens)

Orderly CLI status

Report CLI discovery, the selected binary and version, the schema source, profile, network and account configuration. Call this when a trading tool reports that the orderly CLI is missing, too old, or misconfigured. When no CLI is installed, the other tools are listed from the bundled schema but cannot execute.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/orderlynetwork-trading-mcp/orderly-network-trading-mcp#diagnostics

## Score history

- 2026-11-30: 81
- 2026-11-29: 80
- 2026-11-28: 80
- 2026-11-27: 79
- 2026-11-26: 79
- 2026-11-25: 78
- 2026-11-24: 78
- 2026-11-23: 77
- 2026-11-22: 77
- 2026-11-21: 76
- 2026-11-20: 76
- 2026-11-19: 75
- 2026-11-18: 60
- 2026-11-17: 74
- 2026-11-16: 74
- 2026-11-15: 73
- 2026-11-14: 73
- 2026-11-13: 72
- 2026-11-12: 72
- 2026-11-11: 72
- 2026-11-10: 56
- 2026-11-09: 70

## Common questions

### What is the io.github.OrderlyNetwork/trading-mcp server?

io.github.OrderlyNetwork/trading-mcp is listed in the public MCP registry as io.github.OrderlyNetwork/trading-mcp. Orderly Network trading MCP server backed by the orderly CLI. Keys stay in the OS keychain. This page covers its npm package (@orderly.network/trading-mcp).

### Is the io.github.OrderlyNetwork/trading-mcp server safe to use?

io.github.OrderlyNetwork/trading-mcp scores 81 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 30 November 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the io.github.OrderlyNetwork/trading-mcp server expose?

io.github.OrderlyNetwork/trading-mcp exposes 20 tools: wallet_create, wallet_register, wallet_add_key, auth_list, account_balance, and 15 more. Their descriptions and schemas cost roughly 2,837 tokens of context every time the server is loaded.

### Is the io.github.OrderlyNetwork/trading-mcp server still maintained?

io.github.OrderlyNetwork/trading-mcp is still listed as active in the MCP registry. We last reached this channel on 30 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the io.github.OrderlyNetwork/trading-mcp server under?

io.github.OrderlyNetwork/trading-mcp declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the io.github.OrderlyNetwork/trading-mcp server?

VerifyMCP ran 16 checks on io.github.OrderlyNetwork/trading-mcp, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- npm package: https://www.npmjs.com/package/@orderly.network/trading-mcp
- Socket report: https://socket.dev/npm/package/@orderly.network/trading-mcp
- Repository: https://github.com/OrderlyNetwork/trading-mcp
- Changelog RSS feed: https://verifymcp.io/servers/orderlynetwork-trading-mcp/orderly-network-trading-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/orderlynetwork-trading-mcp/orderly-network-trading-mcp/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/orderlynetwork-trading-mcp/orderly-network-trading-mcp.json
- HTML version of this page: https://verifymcp.io/servers/orderlynetwork-trading-mcp/orderly-network-trading-mcp
