
Trade Router Mcp
io.github.re-bruce-waynePublished by GitHub account re-bruce-waynev1.0.6Updated Oct 24, 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
Non-custodial Solana trading MCP server that lets an assistant build swaps, place limit, trailing-stop, DCA, TWAP and combo orders, and check holdings and…
- What you can do
- Build unsigned multi-DEX swap transactions and submit signed ones through a MEV-protected bundle
- Scan wallet holdings and look up token market cap and price
- Create and monitor limit orders, trailing stops, DCA/TWAP and combo orders over a WebSocket
- Generate trade card images and read the server trust-anchor public key
- Sign transactions locally with the configured Solana key
- When to use it
- Use it when an assistant should trade Solana tokens or manage automated order strategies on the user's behalf, with the private key kept on the local machine. Read-only holdings and market-cap lookups are also possible without spending.
- Requirements
- Runs locally over stdio via npx or the PyPI package; needs a Solana base58 private key in TRADEROUTER_PRIVATE_KEY. Optional settings include TRADEROUTER_BASE_URL, TRADEROUTER_SERVER_PUBKEY and a custom Solana RPC URL. Network access to the trading API and Solana 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
Trade Router — ClawHub skill
Non-custodial Solana trading API for AI agents. One interface for swaps, MEV-protected execution, wallet holdings, limit orders, trailing stops, DCA, TWAP, and combo orders. The private key stays with the agent that calls the API.
[Security: non-custodial] [License: MIT]
Is this safe?
Yes, and here's exactly why. The private key never crosses the network to api.traderouter.ai. POST /swap returns an unsigned transaction; the agent signs it locally; only the signed transaction goes to POST /protect (Jito MEV-protected bundle). Server responses 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 the skill's
swapaction → HTTPS request to api.traderouter.ai sends the wallet address (public key), token mint, amount - API returns an unsigned transaction
- Agent signs the tx locally with its private key
- The signed transaction is submitted to
/protect(Jito MEV-protected bundle) - Server confirms and returns balance changes. The private key never leaves the agent's machine.
Two ways to consume this skill
A. Direct API integration (what SKILL.md documents)
Read SKILL.md for the full API spec — REST endpoints, WebSocket order protocol, request/response shapes, error handling, and reference agent example code. Pair it with any HTTP client and Solana signing library.
The example code in SKILL.md uses these conventions (feel free to pick your own — they're the agent's choice, not imposed by the API):
These are the reference agent's own conventions. The API itself doesn't require any of them.
B. Ready-made MCP server (@traderouter/trade-router-mcp)
For Claude Desktop, Cursor, Cline, and any MCP-compatible client, a published MCP server wraps the same API:
Or wire it into your MCP client config:
The MCP server's env conventions are different from the example code in SKILL.md — they're prefixed with TRADEROUTER_ for namespace hygiene in multi-MCP environments:
The MCP server does not currently implement DRY_RUN or daily-loss caps — those live only in the reference agent example in SKILL.md. If you need them end-to-end, either use the reference agent pattern directly, or wrap the MCP tool calls with your own gate.
Full details, all 21 tools, and the LangChain adapter snippet are in the npm package README: https://www.npmjs.com/package/@traderouter/trade-router-mcp
Features
REST endpoints
WebSocket (wss://api.traderouter.ai/ws)
Persistent connection for server-side order monitoring:
- Limit orders — trigger by market cap or price
- Trailing stops — percentage or absolute
- DCA / TWAP — time-weighted execution
- Combo orders — limit+trailing, limit+TWAP, trailing+TWAP, limit+trailing+TWAP
Server polls market-cap ~every 5s. When an order triggers, you receive an unsigned tx → sign locally → submit.
Trust anchor
The baked-in server public key is EXX3nRzfDUvbjZSmxFzHDdiSYeGVP1EGr77iziFZ4Jd4. Every order_filled, order_created, and twap_execution message is Ed25519-verified against this key before being treated as authoritative. The server can rotate via TRADEROUTER_SERVER_PUBKEY_NEXT.
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.
Links
- Website: https://traderouter.ai
- llms.txt: https://traderouter.ai/llms.txt
- npm (MCP server): https://www.npmjs.com/package/@traderouter/trade-router-mcp
- PyPI (MCP server): https://pypi.org/project/traderouter-mcp/
- MCP Registry: https://registry.modelcontextprotocol.io/v0/servers?search=trade-router
- ClawHub listing: https://clawhub.ai/re-bruce-wayne/trade-router
- GitHub source: https://github.com/re-bruce-wayne/openclaw-skills/tree/main/trade-router
- X/Twitter: https://x.com/trade_router
- Moltbook: https://moltbook.com/u/traderouter
Security disclosure
Found a vulnerability? Email [email protected] or use GitHub Security Advisories on this repo. 48-hour acknowledgement. See SECURITY.md for the full policy.
License
MIT. See LICENSE.
Changelog
See CHANGELOG.md.
Source: trade-router/README.md at commit 0fe3373
Tools
0Version history
1- v1.0.6LatestSep 16, 2026
Score
40% 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
Declare a license in the repository or the registry entry.
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.

AI Media Router
Published by GitHub account jutsuhq
Local MCP server that generates images and videos through 40+ providers using your own API keys, with price comparison and a searchable 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.

Uniswap Universal Router Decoder
Published by GitHub account Elnaril
Local MCP server that decodes and encodes Uniswap Universal Router calldata for V2, V3 and V4 swaps, read-only and never signing or sending.

x402 Router
Published by GitHub account camerxnduff
Read-only MCP server that searches a probed registry of live x402 pay-per-call endpoints and routes an agent to the best-scored one.