Trade Router MCP server
{
"mcpServers": {
"trade-router": {
"command": "npx",
"args": [
"-y",
"@traderouter/trade-router-mcp@latest"
],
"env": {
"TRADEROUTER_PRIVATE_KEY": "<traderouter_private_key>",
"SOLANA_RPC_URL": "https://..."
}
}
}
}{
"mcpServers": {
"trade-router": {
"command": "npx",
"args": [
"-y",
"@traderouter/trade-router-mcp@latest"
],
"env": {
"TRADEROUTER_PRIVATE_KEY": "<traderouter_private_key>",
"SOLANA_RPC_URL": "https://..."
}
}
}
}{
"mcpServers": {
"trade-router": {
"command": "npx",
"args": [
"-y",
"@traderouter/trade-router-mcp@latest"
],
"env": {
"TRADEROUTER_PRIVATE_KEY": "<traderouter_private_key>",
"SOLANA_RPC_URL": "https://..."
}
}
}
}{
"servers": {
"trade-router": {
"command": "npx",
"args": [
"-y",
"@traderouter/trade-router-mcp@latest"
],
"env": {
"TRADEROUTER_PRIVATE_KEY": "${input:traderouter_private_key}",
"SOLANA_RPC_URL": "${input:solana_rpc_url}"
}
}
},
"inputs": [
{
"id": "traderouter_private_key",
"type": "promptString",
"description": "Traderouter private key",
"password": true
},
{
"id": "solana_rpc_url",
"type": "promptString",
"description": "Solana rpc url",
"password": true
}
]
}{
"mcpServers": {
"trade-router": {
"command": "npx",
"args": [
"-y",
"@traderouter/trade-router-mcp@latest"
],
"env": {
"TRADEROUTER_PRIVATE_KEY": "<traderouter_private_key>",
"SOLANA_RPC_URL": "https://..."
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y @traderouter/trade-router-mcpversion 1.0.13
Non-custodial Solana swap & limit order engine for AI agents.
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.
This server has not seen a commit in 5 mo. It may still work, but nobody is currently fixing it — check the alternatives before you build on it.