Trade Router MCP

by traderouter

Not rated
GitHub

About

Non-custodial Solana swap & limit-order MCP server. 21 tools across Raydium, PumpSwap, Orca, Meteora. Jito MEV-protected. Private key never leaves the agent.

Details

Author
traderouter
Categories
Developer Tools, Other

Setup

Install Trade Router MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/traderouter/trade-router-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

AModel Context Protocolserver forTradeRouter.ai— non-custodial Solana swap, limit, trailing, DCA, TWAP, and combo-order engine for AI agents.

Yes, and here's exactly why.The private key is read once fromTRADEROUTER_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. SeeSECURITY.mdfor the full threat model, data-flow diagram, and permissions manifest.
- Agent callsbuild_swap→ MCP sends walletaddress(public key) to api.traderouter.ai
- API returns anunsignedtransaction
- MCP signs the tx locallyusingTRADEROUTER_PRIVATE_KEY
- Thesignedtransaction is submitted to/protect(Jito MEV-protected bundle)
- Server confirms and returns balance changes. The private key never crosses the network.

- Node.js ≥ 18
- A Solana wallet private key in base58 format (use a dedicated trading wallet, not your main holdings)

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 isEXX3nRzfDUvbjZSmxFzHDdiSYeGVP1EGr77iziFZ4Jd4. Everyorder_filled,order_created, andtwap_executionmessage from the server is verified with Ed25519 before being treated as authoritative. SeeSECURITY.mdfor 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()

Flat1% 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)

# 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

Emailsecurity@traderouter.aior use GitHub Security Advisories on this repo. 48-hour acknowledgement. SeeSECURITY.md(or thehosted versionif you'd rather link to a stable URL).

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Interact with the Borrow Automated Market Maker (BAMM) protocol on the Fraxtal blockchain.

Interact with the Futarchy protocol on the Solana blockchain.

A server for interacting with the Futarchy protocol on the Solana blockchain.

An MCP server for the Tinyman protocol on the Algorand blockchain, offering tools for swaps, liquidity provision, and pool management.

On-chain automated trading strategies (DEX) for AI agents. Create limit orders, range orders, recurring buy-low-sell-high strategies, and concentrated liquidity positions across Ethereum, Sei, Celo, TAC, and COTI. Unlike traditional AMMs and liquidity pools, Carbon lets you set asymmetric price ranges - your buy and sell orders are independent, not mirrored. Backtest any strategy against historical prices before going on-chain, explore market liquidity, find discount entry points, and swap tokens against Carbon DeFi's maker liquidity. 25 tools. Returns unsigned transactions — agents never hold funds or private keys. Zero gas on fills.

Crypto data & trading MCP with 42+ tools: prices, DeFi, NFTs, Solana swaps

Pool data, swap rates, and liquidity info on Curve Finance.

Official deBridge protocol MCP Server. Finds optimal cross-chain swap routes, checks fees and conditions, initiates trades across major blockchain networks

MCP server for Fuse Network: balances, tokens, staking, DeFi data, swaps and on-chain transactions.

Trade on prediction markets from Claude Code. Browse markets, check odds, build and execute trades on-chain.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.