
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 按次付费端点注册表,并为助手路由到评分最高的端点。