@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.
Power your agent
คำสั่งของผู้เผยแพร่เอง ไม่ใช่เอนด์พอยต์ของ PlugMCP
Host a copy with our keys and logs.
npx -y @traderouter/[email protected]Claude Code ไม่มีลิงก์ติดตั้งสำหรับคำสั่งแบบโลคัล ให้คัดลอกคำสั่งด้านล่างแล้วรันในเทอร์มินัล
TRADEROUTER_PRIVATE_KEY=<secret> SOLANA_RPC_URL=<value> TRADEROUTER_SERVER_PUBKEY=<value> TRADEROUTER_SERVER_PUBKEY_NEXT=<value> TRADEROUTER_REQUIRE_SERVER_SIGNATURE=<value> TRADEROUTER_REQUIRE_ORDER_CREATED_SIGNATURE=<value> TRADEROUTER_DRY_RUN=<value> claude mcp add ai.traderouter-trade-router-mcp -- npx -y @traderouter/trade-router-mcp@1.0.13รันในเทอร์มินัล
{ "mcpServers": { "ai.traderouter-trade-router-mcp": { "command": "npx", "args": [ "-y", "@traderouter/[email protected]" ], "env": { "TRADEROUTER_PRIVATE_KEY": "<secret>", "SOLANA_RPC_URL": "<value>", "TRADEROUTER_SERVER_PUBKEY": "<value>", "TRADEROUTER_SERVER_PUBKEY_NEXT": "<value>", "TRADEROUTER_REQUIRE_SERVER_SIGNATURE": "<value>", "TRADEROUTER_REQUIRE_ORDER_CREATED_SIGNATURE": "<value>", "TRADEROUTER_DRY_RUN": "<value>" } } }}claude_desktop_config.json
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
เปิดจากผู้เผยแพร่
A Model Context Protocol server for TradeRouter.ai — non-custodial Solana swap, limit, trailing, DCA, TWAP, and combo-order engine for AI agents.
Non-custodial Solana swap & limit order engine for AI agents.
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:
build_swap → MCP sends wallet address (public key) to api.traderouter.aiTRADEROUTER_PRIVATE_KEY/protect (Jito MEV-protected bundle)npx -y @traderouter/trade-router-mcp
Or wire it into an MCP client (Claude Desktop, Cursor, Cline, etc.):
{
"mcpServers": {
"traderouter": {
"command": "npx",
"args": ["-y", "@traderouter/trade-router-mcp"],
"env": {
"TRADEROUTER_PRIVATE_KEY": "your_base58_private_key"
}
}
}
}
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).
Any MCP server works in LangChain via the official adapter:
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"traderouter": {
"command": "npx",
"args": ["-y", "@traderouter/trade-router-mcp"],
"transport": "stdio",
"env": {"TRADEROUTER_PRIVATE_KEY": "<base58>"},
},
})
tools = await client.get_tools()
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.
Quick SDK generation:
# TypeScript
openapi-generator-cli generate -i https://traderouter.ai/openapi.yaml -g typescript-axios -o ./sdk-ts
# Python
openapi-generator-cli generate -i https://traderouter.ai/openapi.yaml -g python -o ./sdk-py
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).
MIT. See LICENSE.
See CHANGELOG.md.
Non-custodial Solana swap & limit order engine for AI agents.
{ "mcpServers": { "ai.traderouter-trade-router-mcp": { "command": "npx", "args": [ "-y", "@traderouter/[email protected]" ], "env": { "TRADEROUTER_PRIVATE_KEY": "<secret>", "SOLANA_RPC_URL": "<value>", "TRADEROUTER_SERVER_PUBKEY": "<value>", "TRADEROUTER_SERVER_PUBKEY_NEXT": "<value>", "TRADEROUTER_REQUIRE_SERVER_SIGNATURE": "<value>", "TRADEROUTER_REQUIRE_ORDER_CREATED_SIGNATURE": "<value>", "TRADEROUTER_DRY_RUN": "<value>" } } }}เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ผู้เผยแพร่ระบุตัวแปรสภาพแวดล้อมเหล่านี้: TRADEROUTER_PRIVATE_KEY, SOLANA_RPC_URL, TRADEROUTER_SERVER_PUBKEY, TRADEROUTER_SERVER_PUBKEY_NEXT, TRADEROUTER_REQUIRE_SERVER_SIGNATURE, TRADEROUTER_REQUIRE_ORDER_CREATED_SIGNATURE, TRADEROUTER_DRY_RUN
Trade Router ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-11-07 Non-custodial Solana swap & limit order engine for AI agents.