Non-custodial Solana swap & limit order engine for AI agents — MCP server for TradeRouter.ai.
Non-custodial Solana swap & limit order engine for AI agents — MCP server for TradeRouter.ai. That is what the trade router mcp mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
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.The server publishes 14 tools. What each one is for:
get_wallet_address — Get the configured wallet's public addressbuild_swap — Build an unsigned swap transactionsubmit_signed_swap — Submit a manually signed transactionauto_swap — Build + sign + submit in one callget_holdings — Get token holdings for a walletget_mcap — Market cap and price for a tokenget_flex_card — Trade card PNG URL for wallet + tokenplace_limit_order — Limit buy/sell by price or market capplace_trailing_order — Trailing stop buy/sellplace_twap_order — TWAP (time-weighted) buy/sellplace_limit_twap_order — Limit trigger → TWAP executionplace_trailing_twap_order — Trailing trigger → TWAP executionConfiguration is passed through the environment: TRADEROUTER_PRIVATE_KEY, SOLANA_RPC_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Trade Router MCP's toolset — get_wallet_address, build_swap, submit_signed_swap and 11 more — is a fair guide to whether it matches your workflow. It is maintained by traderouter; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| get_wallet_address | Get the configured wallet's public address |
| build_swap | Build an unsigned swap transaction |
| submit_signed_swap | Submit a manually signed transaction |
| auto_swap | Build + sign + submit in one call |
| get_holdings | Get token holdings for a wallet |
| get_mcap | Market cap and price for a token |
| get_flex_card | Trade card PNG URL for wallet + token |
| place_limit_order | Limit buy/sell by price or market cap |
| place_trailing_order | Trailing stop buy/sell |
| place_twap_order | TWAP (time-weighted) buy/sell |
| place_limit_twap_order | Limit trigger → TWAP execution |
| place_trailing_twap_order | Trailing trigger → TWAP execution |
| place_limit_trailing_order | Limit trigger → trailing execution (single swap on trigger) |
| place_limit_trailing_twap_order | Limit trigger → trailing trigger → TWAP execution |
{
"mcpServers": {
"trade-router": {
"command": "npx",
"args": ["-y", "@traderouter/trade-router-mcp"],
"env": {
"TRADEROUTER_PRIVATE_KEY": "your-value",
"SOLANA_RPC_URL": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| TRADEROUTER_PRIVATE_KEY | Credential the server authenticates with. | Yes |
| SOLANA_RPC_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.