
Trade Router Mcp
io.github.TradeRouter由 GitHub 帳號 TradeRouter 發布v1.0.9更新於 Oct 24, 2026
Non-custodial Solana swap & limit order engine for AI agents.
發布方自己的服務:370.ai — AI Gateway: 100+ Chat Models, Image & Speech Generation
概覽
讓 AI 助理透過 TradeRouter 建立、簽署並提交 Solana 兌換,並下達限價、追蹤、DCA 與 TWAP 訂單。
- 可以做什麼
- Trade Router MCP 是 TradeRouter.ai 非託管 Solana 交易引擎的本機 stdio 伺服器。它提供工具來讀取錢包位址與持倉、取得代幣價格與市值、建立未簽署的兌換交易、在本機簽署並提交,以及下達與管理限價、追蹤停損、TWAP 與組合訂單。它也會透過持久 WebSocket 註冊錢包以接收訂單更新,並回傳成交紀錄與交易卡片圖片。
- 適用情境
- 當助理需要執行或自動化 Solana 代幣交易時使用,包括限價、追蹤停損、TWAP 及組合等條件訂單類型。它鎖定由代理驅動的交易工作流程,而非一般 Solana 開發或唯讀行情資料。
- 執行需求
- 需要 Node.js 18 或更新版本以及 npx 來執行這個 npm 套件。必須以 TRADEROUTER_PRIVATE_KEY 提供 base58 格式的 Solana 錢包私鑰。需要連線至 api.traderouter.ai 與 Solana RPC 端點的網路存取;可用 SOLANA_RPC_URL 覆寫預設值。不需要 API 金鑰或帳號。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Trade Router Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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.
來源:README.md,提交 95d9ace
工具
0版本歷史
1- v1.0.9最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Router 整合
370.ai — AI Gateway: 100+ Chat Models, Image & Speech Generation
ai.router官方發布者
遠端 AI 閘道 MCP 伺服器,讓助理用一組 370.ai API 金鑰呼叫 100 多個聊天模型、生成圖片並將文字轉成語音。

AI Media Router
由 GitHub 帳號 jutsuhq 發布
本機 MCP 伺服器,用你自己的 API 金鑰透過 40 多家供應商生成圖片與影片,支援比價與可搜尋的本機素材庫。

Bike Router
由 GitHub 帳號 JonasHeinickeBio 發布
連接自架 pyBikeRouter API 的 MCP 伺服器,可規劃以 OSM 為基礎的單車路線,並附上天氣、景點與 GeoJSON/GPX 匯出。

Uniswap Universal Router Decoder
由 GitHub 帳號 Elnaril 發布
本機 MCP 伺服器,用來解碼與編碼 Uniswap Universal Router 的 V2、V3、V4 呼叫資料,僅供讀取,不簽章也不送出交易。

x402 Router
由 GitHub 帳號 camerxnduff 發布
唯讀 MCP 伺服器,可搜尋經探測的 x402 按次付費端點登錄檔,並為助理路由到評分最高的端點。