# io.github.TradeRouter/trade-router-mcp (npm · @traderouter/trade-router-mcp)

Non-custodial Solana swap & limit order engine for AI agents.

- Trust score: 56/100 (low)
- Change this week: +51
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-07

## Components

- npm · `@traderouter/trade-router-mcp`: 56/100 (this document), [markdown](https://verifymcp.io/servers/traderouter-trade-router-mcp/traderouter-trade-router-mcp.md), [page](https://verifymcp.io/servers/traderouter-trade-router-mcp/traderouter-trade-router-mcp)

## Channel facts

- Registry: `npm`
- Package: `@traderouter/trade-router-mcp`
- Version: `1.0.9`
- 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-08-07.

- **Supply Chain Security**: 79/100
  - No malware found by supply-chain analysis.
  - CVE check failed: a known high-severity CVE affects uuid 8.3.2, reached via @solana/web3.js > jayson > uuid. A fixed version is available.
  - No install/post-install scripts declared.
  - Dependency health was assessed across the 150 of 154 dependencies we could resolve, so this covers what we could see, not the whole tree.
- **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 101 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 57/100
  - AI-judged instruction clarity (fair).
  - Tool/resource definitions use about 1495 tokens (~71/item across 21 items; 21 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 72/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 16% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### Claude

```bash
claude mcp add traderouter-trade-router-mcp -- npx -y @traderouter/trade-router-mcp
```

### Codex

```bash
codex mcp add traderouter-trade-router-mcp -- npx -y @traderouter/trade-router-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "traderouter-trade-router-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@traderouter/trade-router-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add traderouter-trade-router-mcp --command npx --arg -y --arg @traderouter/trade-router-mcp
```

### Hermes

```yaml
mcp_servers:
  traderouter-trade-router-mcp:
    command: "npx"
    args: ["-y", "@traderouter/trade-router-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "traderouter-trade-router-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@traderouter/trade-router-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-08-05 (score 56, +23)

- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Tool coverage: unverified → 100
- [functional] First check of Schema quality: pass
- [functional] First check of Tool coverage: 16
- [functional] First check of Schema quality: fair
- [functional] First check of Schema quality: fail

### 2026-08-02 (score 33, +27)

- [security regression] CVE-2026-41907 affects this package: high
- [security regression] Known CVEs: unverified → fail
- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: our sandbox run of this package did not complete, so we have no schema to compare.
- [functional regression] Security disclosure: fail → unverified
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] License: unverified → pass
- [functional] Capabilities: Protocol version not yet verified: our sandbox run of this package did not complete, so we never saw its MCP handshake.
- [functional] Tool coverage: Tool coverage not yet verified: our sandbox run of this package did not complete, so we have no tool definitions to assess.
- [functional] Schema quality: Schema quality not yet verified: our sandbox run of this package did not complete, so we have no schema to assess.
- [functional] Licence: MIT

### 2026-08-01 (score 6, +1)

- [functional improvement] Dependency health: unverified → partial

### 2026-07-31 (score 5, −19)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-27 (score 24)

First indexed and scored.

## MCP tools (21)

### `get_wallet_address` (~36 tokens)

Derive the Solana wallet address from TRADEROUTER_PRIVATE_KEY. Call first at session start — also starts WebSocket connection.

### `build_swap` (~96 tokens)

Build an unsigned Solana swap tx via REST. Returns base58 swap_tx. Pass to submit_signed_swap or use auto_swap.

Input parameters:

- `action` (string, required)
- `amount` (integer): Lamports (buy only)
- `holdings_percentage` (integer): Bps (sell only, 10000=100%)
- `slippage` (integer)
- `token_address` (string, required)
- `wallet_address` (string, required)

### `submit_signed_swap` (~36 tokens)

Submit a base64-encoded signed Solana transaction via MEV-protected lane.

Input parameters:

- `signed_tx_base64` (string, required)

### `auto_swap` (~71 tokens)

Build + sign + submit in one step. Requires TRADEROUTER_PRIVATE_KEY.

Input parameters:

- `action` (string, required)
- `amount` (integer)
- `holdings_percentage` (integer)
- `slippage` (integer)
- `token_address` (string, required)
- `wallet_address` (string, required)

### `get_holdings` (~35 tokens)

Scan SPL token holdings for a Solana wallet. Slow — up to 100s.

Input parameters:

- `wallet_address` (string, required)

### `get_mcap` (~45 tokens)

Get market cap (and price/pool) data for one or more token addresses. GET /mcap.

Input parameters:

- `tokens` (string, required): Comma-separated Solana mint addresses

### `get_flex_card` (~53 tokens)

Get the URL for a flex trade card PNG for a wallet and token. GET /flex. Returns the URL to display the image.

Input parameters:

- `token_address` (string, required)
- `wallet_address` (string, required)

### `connect_websocket` (~38 tokens)

Connect WS for a wallet and wait until registered (up to 25s). Call before placing orders.

Input parameters:

- `wallet_address` (string, required)

### `connection_status` (~25 tokens)

Return live WS connection state for a wallet.

Input parameters:

- `wallet_address` (string, required)

### `get_fill_log` (~34 tokens)

Return all order_filled events received since process start (capped at 200).

Input parameters:

- `wallet_address` (string, required)

### `place_limit_order` (~97 tokens)

Place a market-cap-based limit order over WS. action: sell|buy. target: bps vs current mcap at placement.

Input parameters:

- `action` (string, required)
- `amount` (integer)
- `expiry_hours` (integer)
- `holdings_percentage` (integer)
- `slippage` (integer)
- `target` (integer, required)
- `token_address` (string, required)
- `wallet_address` (string, required)

### `place_trailing_order` (~96 tokens)

Place a trailing stop or trailing buy over WS. action: trailing_sell|trailing_buy. trail: bps distance.

Input parameters:

- `action` (string, required)
- `amount` (integer)
- `expiry_hours` (integer)
- `holdings_percentage` (integer)
- `slippage` (integer)
- `token_address` (string, required)
- `trail` (integer, required)
- `wallet_address` (string, required)

### `place_twap_order` (~139 tokens)

Place a TWAP (time-weighted) buy or sell order. Splits total amount into frequency slices over duration seconds. action: twap_buy|twap_sell.

Input parameters:

- `action` (string, required)
- `amount` (integer): Total lamports (buy) or raw token units (sell)
- `duration` (integer, required): Total run time in seconds (max 30 days)
- `frequency` (integer, required): Number of executions
- `holdings_percentage` (integer): Sell only: bps of holdings at creation
- `slippage` (integer)
- `token_address` (string, required)
- `wallet_address` (string, required)

### `place_limit_twap_order` (~144 tokens)

Place a limit-then-TWAP order. Wait for limit target (bps), then execute via TWAP. action: limit_twap_sell|limit_twap_buy.

Input parameters:

- `action` (string, required)
- `amount` (integer): Lamports (buy) or raw token units (sell)
- `duration` (integer, required)
- `expiry_hours` (integer)
- `frequency` (integer, required)
- `holdings_percentage` (integer): Sell only: bps
- `slippage` (integer)
- `target` (integer, required): Target mcap bps vs entry
- `token_address` (string, required)
- `wallet_address` (string, required)

### `place_trailing_twap_order` (~138 tokens)

Place a trailing-then-TWAP order. When trail triggers, execute via TWAP. action: trailing_twap_sell|trailing_twap_buy.

Input parameters:

- `action` (string, required)
- `amount` (integer): Lamports (buy) or raw token units (sell)
- `duration` (integer, required)
- `expiry_hours` (integer)
- `frequency` (integer, required)
- `holdings_percentage` (integer): Sell only: bps
- `slippage` (integer)
- `token_address` (string, required)
- `trail` (integer, required): Trail bps
- `wallet_address` (string, required)

### `place_limit_trailing_order` (~115 tokens)

Place a limit-then-trailing order. Wait for limit, then trailing phase; when trail triggers, single swap. action: limit_trailing_sell|limit_trailing_buy.

Input parameters:

- `action` (string, required)
- `amount` (integer)
- `expiry_hours` (integer)
- `holdings_percentage` (integer)
- `slippage` (integer)
- `target` (integer, required)
- `token_address` (string, required)
- `trail` (integer, required)
- `wallet_address` (string, required)

### `place_limit_trailing_twap_order` (~154 tokens)

Place a limit-then-trailing-then-TWAP order. Limit → trail → on trail trigger, execute via TWAP. action: limit_trailing_twap_sell|limit_trailing_twap_buy.

Input parameters:

- `action` (string, required)
- `amount` (integer): Lamports (buy) or raw token units (sell)
- `duration` (integer, required)
- `expiry_hours` (integer)
- `frequency` (integer, required)
- `holdings_percentage` (integer): Sell only: bps
- `slippage` (integer)
- `target` (integer, required)
- `token_address` (string, required)
- `trail` (integer, required)
- `wallet_address` (string, required)

### `list_orders` (~27 tokens)

List all active limit/trailing orders for a wallet.

Input parameters:

- `wallet_address` (string, required)

### `check_order` (~35 tokens)

Check the status of a specific order by order_id.

Input parameters:

- `order_id` (string, required)
- `wallet_address` (string, required)

### `cancel_order` (~32 tokens)

Cancel an active limit or trailing order.

Input parameters:

- `order_id` (string, required)
- `wallet_address` (string, required)

### `extend_order` (~49 tokens)

Extend an order's expiry. expiry_hours is the new total (1–336).

Input parameters:

- `expiry_hours` (integer, required)
- `order_id` (string, required)
- `wallet_address` (string, required)

## Diagnostics

Captured diagnostic sections: Provenance, Vulnerabilities, Dependencies. The full working is on the page: https://verifymcp.io/servers/traderouter-trade-router-mcp/traderouter-trade-router-mcp#diagnostics

## Score history

- 2026-08-07: 56
- 2026-08-06: 56
- 2026-08-05: 56
- 2026-08-04: 33
- 2026-08-03: 33
- 2026-08-02: 33
- 2026-08-01: 6
- 2026-07-31: 5
- 2026-07-30: 24
- 2026-07-28: 24
- 2026-07-27: 24

## Links

- npm package: https://www.npmjs.com/package/@traderouter/trade-router-mcp
- Socket report: https://socket.dev/npm/package/@traderouter/trade-router-mcp
- Repository: https://github.com/TradeRouter/trade-router-mcp
- Changelog RSS feed: https://verifymcp.io/servers/traderouter-trade-router-mcp/traderouter-trade-router-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/traderouter-trade-router-mcp/traderouter-trade-router-mcp.json
- HTML version of this page: https://verifymcp.io/servers/traderouter-trade-router-mcp/traderouter-trade-router-mcp
