Trade Router MCP Server

Non-custodial Solana swap & limit order engine for AI agents — MCP server for TradeRouter.ai.

Remote serverstreamable-httpPython

What is the Trade Router MCP Server?

Non-custodial Solana swap & limit order engine for AI agents — MCP server for TradeRouter.ai.

The short version

  1. Agent calls build_swap → MCP sends wallet address (public key) to api.traderouter.ai 2. API returns an unsigned transaction 3. MCP signs the tx locally using TRADEROUTER_PRIVATE_KEY 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.

What it needs from you

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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_wallet_addressGet the configured wallet's public address
build_swapBuild an unsigned swap transaction
submit_signed_swapSubmit a manually signed transaction
auto_swapBuild + sign + submit in one call
get_holdingsGet token holdings for a wallet
get_mcapMarket cap and price for a token
get_flex_cardTrade card PNG URL for wallet + token
place_limit_orderLimit buy/sell by price or market cap
place_trailing_orderTrailing stop buy/sell
place_twap_orderTWAP (time-weighted) buy/sell
place_limit_twap_orderLimit trigger → TWAP execution
place_trailing_twap_orderTrailing trigger → TWAP execution
place_limit_trailing_orderLimit trigger → trailing execution (single swap on trigger)
place_limit_trailing_twap_orderLimit trigger → trailing trigger → TWAP execution
list_ordersList active orders for a wallet
check_orderGet status of a specific order
cancel_orderCancel an active order
extend_orderExtend an order's expiry
connect_websocketRegister a wallet over the persistent WebSocket
connection_statusCurrent WebSocket connection state
get_fill_logLog of filled orders

How to install the Trade Router MCP Server

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

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js ≥ 18 - A Solana wallet private key in base58 format (use a dedicated trading wallet, not your main holdings)
VariableDescriptionRequired
TRADEROUTER_PRIVATE_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Trade Router MCP to get wallet address.”
  • “Use Trade Router MCP to build swap.”
  • “Use Trade Router MCP to submit signed swap.”

Frequently asked questions

Non-custodial Solana swap & limit order engine for AI agents — MCP server for TradeRouter.ai. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.