MCP.Market

Trade Router MCP server

by TradeRouter·io.github.TradeRouter/trade-router-mcp·v1.0.9·3 stars

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

B71/100grade B
What users say
No reviews yet
Be the first
Safety scan
B71/100

full report

Adoption
New

3 stars74 downloads/wk

Reviews

Write one

Nobody has reviewed Trade Router yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Trade Router tools (21, 11 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • auto_swap

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

  • build_swap

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

  • cancel_orderwrite action

    Cancel an active limit or trailing order.

  • check_orderwrite action

    Check the status of a specific order by order_id.

  • connect_websocket

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

  • connection_status

    Return live WS connection state for a wallet.

  • extend_orderwrite action

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

  • get_fill_log

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

  • get_flex_card

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

  • get_holdings

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

  • get_mcap

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

  • get_wallet_address

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

  • list_orders

    List all active limit/trailing orders for a wallet.

  • place_limit_orderwrite action

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

  • place_limit_trailing_orderwrite action

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

  • place_limit_trailing_twap_orderwrite action

    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.

  • place_limit_twap_orderwrite action

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

  • place_trailing_orderwrite action

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

  • place_trailing_twap_orderwrite action

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

  • place_twap_orderwrite action

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

  • submit_signed_swapwrite action

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

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan2 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 152 days ago8/15
  • Maintainer identityregistry namespace matches repository owner7/10
Overall 71/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Trade Router compares

Against every graded E-commerce MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
71/100
higher than 43% of 2,174 E-commerce servers
Tools
21
the typical E-commerce server has 6
Tools that change things
52%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
3
more than 85% of 1,047 E-commerce servers
Downloads a week
74
more than 61% of 411 E-commerce servers with a package

What its tools let an agent do: 10 read · 10 change · 1 delete

Install Trade Router in Claude Code, Cursor or VS Code

Runs npx -y @traderouter/trade-router-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add trade-router-mcp -- npx -y @traderouter/trade-router-mcp
Add to Cursor

What the publisher says

From the Trade Router repository's README, as published. We do not edit it. Read it on GitHub

@traderouter/trade-router-mcp

<!-- mcp-name: ai.traderouter/trade-router-mcp -->

A Model Context Protocol server for TradeRouter.ai — non-custodial Solana swap, limit, trailing, DCA, TWAP, and combo-order engine for AI agents.

Is this safe?

Yes, and here's exactly why. The private key is read once from TRADEROUTERPRIVATEKEY, used for local signing with @solana/web3.js + tweetnacl, and never transmitted, logged, or persisted. Only signed transactions leave your machine. Server messages are Ed25519-verified against a hard-coded trust anchor. See SECURITY.md for the full threat model, data-flow diagram, and permissions manifest.

Signing flow:

  1. Agent calls buildswap → MCP sends wallet address* (public key) to api.traderouter.ai
  2. API returns an unsigned transaction
  3. MCP signs the tx locally using TRADEROUTERPRIVATEKEY
  4. The signed transaction is submitted to /protect (Jito MEV-protected bundle)
  5. Server confirms and returns balance changes. The private key never crosses the network.

Requirements

  • Node.js ≥ 18
  • A Solana wallet private key in base58 format (use a dedicated trading wallet, not your main holdings)

Install

npx -y @traderouter/trade-router-mcp

Or wire it into an MCP client (Claude Desktop, Cursor, Cline, etc.):

{
  "mcpServers": {
    "traderouter": {
      "command": "npx",
      "args": ["-y", "@traderouter/trade-router-mcp"],
      "env": {
        "TRADEROUTER_PRIVATE_KEY": "your_base58_private_key"
      }
    }
  }
}

Environment variables

Tools

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Trade Router: common questions

Is Trade Router MCP server safe?
Mostly: it is graded B (71/100). Read the Trade Router safety report
How do I install Trade Router?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Trade Router need an API key?
Yes. The registry entry asks for TRADEROUTER_PRIVATE_KEY.
Is Trade Router maintained?
The last commit was 190 days ago (2026-04-28). The latest release is v1.0.9.
What can I use instead of Trade Router?
Servers from other publishers that do the same job: Iran Crypto Exchanges MCP server, Omie MCP server and Polymarket Toolkit MCP server.
How does Trade Router compare with other E-commerce MCP servers?
safety score 71/100 (higher than 43% of 2,174 E-commerce servers); tools 21 (the typical E-commerce server has 6); tools that change things 52% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Trade Router

Same job from other publishers: the closest match first, then the best rated.

  • Iran Crypto Exchanges
    Unofficial read-only Iranian crypto exchanges: prices in Toman, order books, trades, candles.
    A
  • Omie
    MCP server for Omie — ERP, customers, products, orders, invoices, financials
    B
  • Polymarket Toolkit
    Read-only Polymarket data tools for AI agents: profiles, PnL, market scans. No keys, no orders.
    B
  • Sv Number
    Phone numbers for AI agents: order a private number, read the SMS verification code, hand it back.
    B
  • WebCake Storefront
    Build pages and manage products, orders, and content on the WebCake/StoreCake storefront builder.
    A