
Trade Router Mcp
ai.traderouterPublished by traderouter.aiv1.0.13Updated Oct 25, 2026
Non-custodial Solana swap & limit order engine for AI agents.
The publisher's own server: 370.ai — AI Gateway: 100+ Chat Models, Image & Speech Generation
Overview
A local MCP server that lets an AI assistant build, sign and submit Solana swaps and place limit, trailing, DCA, TWAP and combo orders through TradeRouter.
- What you can do
- Read wallet address, token holdings, market cap and price, and trade card images for a wallet and token, plus a log of filled orders and a trade card image link for a wallet and token. Build unsigned swap transactions, submit a manually signed swap, or build, sign and submit a swap in one call. Place limit, trailing, TWAP, limit-to-TWAP, trailing-to-TWAP, limit-to-trailing and limit-to-trailing-to-TWAP orders. List active orders, check a specific order's status, cancel an order and extend an order's expiry. Register a wallet over a persistent WebSocket and check the connection state.
- When to use it
- Use it when you want an assistant to trade Solana tokens from a dedicated wallet: spot swaps, limit and trailing entries or exits, and scheduled TWAP or DCA-style execution, with order status checks and cancellation in the same conversation.
- Requirements
- Runs locally via npx, so Node.js 18 or newer is needed. Requires a Solana wallet private key in base58 in TRADEROUTER_PRIVATE_KEY. Optional settings: SOLANA_RPC_URL, TRADEROUTER_DRY_RUN, TRADEROUTER_SERVER_PUBKEY, TRADEROUTER_SERVER_PUBKEY_NEXT, and the two signature-verification flags. Network access to the TradeRouter API and a Solana RPC endpoint is required.
Installation
In SourceWeft
- Open Trade Router Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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?
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.
Signing flow:
- Agent calls
build_swap→ MCP sends wallet address (public key) to api.traderouter.ai - API returns an unsigned transaction
- MCP signs the tx locally using
TRADEROUTER_PRIVATE_KEY - The signed transaction is submitted to
/protect(Jito MEV-protected bundle) - Server confirms and returns balance changes. The private key never crosses the network.
Requirements
- Node.js ≥ 18
- A Solana wallet private key in base58 format (use a dedicated trading wallet, not your main holdings)
Install
Or wire it into an MCP client (Claude Desktop, Cursor, Cline, etc.):
Environment variables
Tools
REST endpoints (under the hood)
Trust anchor
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:
Fees
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.
Machine-readable specs (live on traderouter.ai)
Quick SDK generation:
Security disclosure
Email [email protected] or use GitHub Security Advisories on this repo. 48-hour acknowledgement. See SECURITY.md (or the hosted version if you'd rather link to a stable URL).
License
MIT. See LICENSE.
Changelog
See CHANGELOG.md.
Source: README.md at commit 95d9ace
Tools
0Version history
1- v1.0.13LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Router integrations
370.ai — AI Gateway: 100+ Chat Models, Image & Speech Generation
ai.routerOfficial publisher
Remote AI gateway MCP server that lets an assistant call 100+ chat models, generate images, and convert text to speech through one 370.ai API key.

SentioGate FinOps & LLM Router
Published by GitHub account SentioGate
A BYOK LLM router and FinOps gateway that lets an assistant audit token waste, rank models by cost, check tool safety, and route sub-tasks.

SentioGate FinOps & LLM Router
Published by GitHub account HISHAMJOTTERREV
A BYOK AI router and FinOps gateway that lets an assistant audit token waste, check tool-call safety, optimize payloads, and pick cost-optimal models.

AI Media Router
Published by GitHub account jutsuhq
Generates images and videos through 40+ provider APIs using your own keys, and keeps a local asset library.

Bike Router
Published by GitHub account JonasHeinickeBio
MCP bridge to a self-hosted pyBikeRouter API that plans OSM-based bike routes with weather, sights and GeoJSON/GPX exports.