Non-custodial Solana swap & limit order engine for AI agents.
ai.traderouter/trade-router-mcp (MCP)
The ai.traderouter/trade-router-mcp is a Model Context Protocol (MCP) server for TradeRouter.ai. It provides a non-custodial Solana swap & limit order engine intended for AI agents, including functionality for limit and trailing-stop orders, as well as DCA and TWAP, plus combo-order execution.
π οΈ Key Features
Non-custodial Solana swap engine
Limit order support
Trailing-stop orders
DCA and TWAP order types
Combo-order execution
MCP server for AI-agent integration
π Use Cases
Use AI agents to place Solana swaps and orders
Automated trading flows requiring limit, trailing-stop, DCA, or TWAP
Trade routing and orchestration for βcombo-orderβ strategies
β‘ Developer Benefits
MCP-compatible interface for connecting AI agents to trading actions
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.