Non-custodial Solana swap & limit order engine for AI agents.
@traderouter/trade-router-mcp (MCP) Server
This MCP server, io.github.TradeRouter/trade-router-mcp, provides a non-custodial Solana swap and limit order engine for AI agents. It is designed to support multiple order styles including limit, trailing stop, DCA, TWAP, and combo orders, as described in its README excerpt.
๐ ๏ธ Key Features
Non-custodial Solana swap engine
Limit order support
Trailing stop functionality
DCA and TWAP order types
Combo-order engine for AI agents
Model Context Protocol (MCP) integration
Associated security and MIT license references in README badges
Yes, and here's exactly why. The private key is read once from TRADEROUTER_PRIVATE_KEY, 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.
The baked-in server public key is EXX3nRzfDUvbjZSmxFzHDdiSYeGVP1EGr77iziFZ4Jd4. Every order_filled, order_created, and twap_execution message from the server is verified with Ed25519 before being treated as authoritative. See SECURITY.md for details and the rotation mechanism (TRADEROUTER_SERVER_PUBKEY_NEXT).
Use with LangChain
Any MCP server works in LangChain via the official adapter:
Flat 1% fee on swap volume, embedded in routing at /protect. No subscription, no API key, no monthly minimums. Read-only endpoints (/holdings, /mcap) are free.