get_wallet_addressLABSCO SUMMARY
Solana order types an agent can place, without handing over the key.
The private key is read once from the environment and used only for local signing; the API sees the public address and a finished signed transaction, nothing else. The order engine is remote — custody is not.
What it is
A non-custodial trading server for TradeRouter.ai: swap, limit, trailing, DCA, TWAP and combo orders on Solana, with every transaction signed on your own machine.
What you get
- Swap, limit, trailing, DCA, TWAP and combo order types on Solana
- Transactions built remotely, signed locally with @solana/web3.js and tweetnacl — only signed transactions leave the machine
- Submission through Jito MEV-protected bundles
- Confirmation with the resulting balance changes
- The wallet address the orders will run against, readable before you trade
- Server messages verified with Ed25519 against a hard-coded trust anchor
Requirements
Node.js 18 or newer, and a Solana wallet private key in base58 as TRADEROUTER_PRIVATE_KEY. The project recommends a dedicated trading wallet rather than your main holdings.
Setup effort
One command plus credentials — npx -y @traderouter/trade-router-mcp, then supply credentials
USE CASES
Checking which wallet you are about to trade from
Read back the address derived from the configured key before any order goes out.
Swapping one Solana token for another
The API returns an unsigned transaction, the server signs it locally, and the signed bundle goes to Jito — the reply carries the balance changes.
Spreading a buy out over time
DCA and TWAP orders are placed the same way as a swap, so the schedule lives with the engine instead of in a script you have to keep alive.
Setting an exit you do not want to watch
Limit and trailing orders sit with the router, so the trigger does not depend on your session being open.
Keeping trading funds apart from savings
The wallet comes from TRADEROUTER_PRIVATE_KEY, so pointing it at a separate trading wallet is a config change — which is what the project recommends.
21 tools
Listed in project docs. Your client may show a different list.
build_swapsubmit_signed_swapauto_swapget_holdingsget_mcapget_flex_cardplace_limit_orderplace_trailing_orderplace_twap_orderplace_limit_twap_orderplace_trailing_twap_orderplace_limit_trailing_orderplace_limit_trailing_twap_orderlist_orderscheck_ordercancel_orderextend_orderconnect_websocketconnection_statusget_fill_logBEFORE YOU INSTALL
What to know first
Tools you get
21 tools named in the project's documentation.
Requires
- npx on PATH
- Node.js ≥ 18
- TRADEROUTER_PRIVATE_KEY in your environment
Where it runs
All 4 documented clients run the server on your machine.
INSTALLATION
Connect your client
Server setup
npx -y @traderouter/trade-router-mcpMCP Clients
Claude Desktop, Cursor, Cline
{
"mcpServers": {
"traderouter": {
"command": "npx",
"args": [
"-y",
"@traderouter/trade-router-mcp"
],
"env": {
"TRADEROUTER_PRIVATE_KEY": "<YOUR_TRADEROUTER_PRIVATE_KEY>"
}
}
}
}LangChain
{
"mcpServers": {
"traderouter": {
"command": "npx",
"args": [
"-y",
"@traderouter/trade-router-mcp"
],
"transport": "stdio",
"env": {
"TRADEROUTER_PRIVATE_KEY": "<YOUR_TRADEROUTER_PRIVATE_KEY>"
}
}
}
}