traderouter avatar

Trade Router Mcp

traderouter/trade-router-mcp

Exposes TradeRouter's Solana swap and order engine to AI agents through MCP. You get tools for building and submitting swaps across multiple DEXs (Raydium, Orca, Meteora), placing limit and trailing orders, running TWAP strategies, and checking wallet holdings. The server handles local transaction signing with your base58 private key and routes signed transactions through Jito bundles for MEV protection. All server messages are Ed25519 verified against a baked-in trust anchor. Runs over stdio, takes one required environment variable for your wallet key, and charges a flat 1% fee on swap volume. Useful when you need an agent to execute Solana trades without giving up custody or building routing logic yourself.

GitHub stars
2
tools
21
auth
Secret needed
transport
STDIO
env vars
7
last updated
Apr 25, 2026

Tools

21 tools

Public tool metadata for what this MCP can expose to an agent.

get_wallet_addressGet the configured wallet's public address

Get the configured wallet's public address

No parameter schema in public metadata yet.

build_swapBuild an unsigned swap transaction

Build an unsigned swap transaction

No parameter schema in public metadata yet.

submit_signed_swapSubmit a manually signed transaction

Submit a manually signed transaction

No parameter schema in public metadata yet.

auto_swapBuild + sign + submit in one call

Build + sign + submit in one call

No parameter schema in public metadata yet.

get_holdingsGet token holdings for a wallet

Get token holdings for a wallet

No parameter schema in public metadata yet.

get_mcapMarket cap and price for a token

Market cap and price for a token

No parameter schema in public metadata yet.

get_flex_cardTrade card PNG URL for wallet + token

Trade card PNG URL for wallet + token

No parameter schema in public metadata yet.

place_limit_orderLimit buy/sell by price or market cap

Limit buy/sell by price or market cap

No parameter schema in public metadata yet.

place_trailing_orderTrailing stop buy/sell

Trailing stop buy/sell

No parameter schema in public metadata yet.

place_twap_orderTWAP (time-weighted) buy/sell

TWAP (time-weighted) buy/sell

No parameter schema in public metadata yet.

place_limit_twap_orderLimit trigger → TWAP execution

Limit trigger → TWAP execution

No parameter schema in public metadata yet.

place_trailing_twap_orderTrailing trigger → TWAP execution

Trailing trigger → TWAP execution

No parameter schema in public metadata yet.

place_limit_trailing_orderLimit trigger → trailing execution (single swap on trigger)

Limit trigger → trailing execution (single swap on trigger)

No parameter schema in public metadata yet.

place_limit_trailing_twap_orderLimit trigger → trailing trigger → TWAP execution

Limit trigger → trailing trigger → TWAP execution

No parameter schema in public metadata yet.

list_ordersList active orders for a wallet

List active orders for a wallet

No parameter schema in public metadata yet.

check_orderGet status of a specific order

Get status of a specific order

No parameter schema in public metadata yet.

cancel_orderCancel an active order

Cancel an active order

No parameter schema in public metadata yet.

extend_orderExtend an order's expiry

Extend an order's expiry

No parameter schema in public metadata yet.

connect_websocketRegister a wallet over the persistent WebSocket

Register a wallet over the persistent WebSocket

No parameter schema in public metadata yet.

connection_statusCurrent WebSocket connection state

Current WebSocket connection state

No parameter schema in public metadata yet.

get_fill_logLog of filled orders

Log of filled orders

No parameter schema in public metadata yet.

Sponsors

Configuration

TRADEROUTER_PRIVATE_KEY*secret

Solana base58-encoded private key. Local signing only, never transmitted. See SECURITY.md.

SOLANA_RPC_URL

Optional RPC endpoint override (default https://api.mainnet-beta.solana.com).

TRADEROUTER_SERVER_PUBKEY

Optional override for the server public key used to verify order_filled ed25519 signatures.

TRADEROUTER_SERVER_PUBKEY_NEXT

Optional second server public key accepted during key rotation.

TRADEROUTER_REQUIRE_SERVER_SIGNATURE

Default 'true'. Verify server signatures on order_filled / twap_execution.

TRADEROUTER_REQUIRE_ORDER_CREATED_SIGNATURE

Default 'true'. Verify server signatures on order_created.

TRADEROUTER_DRY_RUN

Default 'false'. When 'true', write-action tools (submit_signed_swap, auto_swap, place_*_order, cancel_order, extend_order) short-circuit and return { dry_run: true, ... } instead of calling the API. Read-only tools execute normally.

Readme

@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.

Security: non-custodial License: MIT npm Awesome MCP Servers Glama MCP Server MCP Registry

Is this safe?


View the full README on GitHub

Details

Repository
github.com/traderouter/trade-router-mcp
Category
Finance & Commerce
Package
@traderouter/trade-router-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Related Finance & Commerce MCP servers

View all
1kdraigo avatarkdraigokdraigo/kdraigo_mcpYour AI writes Go trading strategies; kdraigo backtests them on one-minute Binance and Bybit data.1stars
2loganriebel avatarMako Metricsloganriebel/mako-metrics-mcpCompetitor Meta ads intelligence reports. List plans, create orders, Stripe checkout for humans.1stars
3ctrlabs avatarCTRLctrlabs/ctrl-mcpVisual DeFi workflow automation on Base + Ethereum mainnet.1stars
4horustechltd avatarHorus Flow Mcphorustechltd/horus-flow-mcpInstitutional crypto & equity orderflow intelligence for AI trading agents.1stars
5infinihash avatarInfinihash Kyt Mcpinfinihash/infinihash-kyt-mcpScreen crypto wallets vs OFAC SDN + threat intel; pre-payment checks, signed receipts; SAR drafts1stars
698lukehall avatarReNoUn — Crypto Regime Classification98lukehall/renoun-mcpCrypto regime classifier for trading agents. 100% bounded regime accuracy. 50 free calls/day.1stars