← Back to Plugins
MCP Server MCP

io.github.TradeRouter/trade-router-mcp

github By github 👁 1 views ▲ 0 votes

Non-custodial Solana swap & limit order engine for AI agents.

Homepage Verified source GitHub

Install

npx -y @traderouter/[email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "@traderouter/trade-router-mcp",
      "version": "1.0.9",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Solana base58-encoded private key. Local signing only, never transmitted. See SECURITY.md.",
          "isRequired": true,
          "isSecret": true,
          "name": "TRADEROUTER_PRIVATE_KEY"
        },
        {
          "description": "Optional RPC endpoint override (default https://api.mainnet-beta.solana.com).",
          "name": "SOLANA_RPC_URL"
        },
        {
          "description": "Optional override for the server public key used to verify order_filled ed25519 signatures.",
          "name": "TRADEROUTER_SERVER_PUBKEY"
        },
        {
          "description": "Optional second server public key accepted during key rotation.",
          "name": "TRADEROUTER_SERVER_PUBKEY_NEXT"
        },
        {
          "description": "Default 'true'. Verify server signatures on order_filled / twap_execution.",
          "name": "TRADEROUTER_REQUIRE_SERVER_SIGNATURE"
        },
        {
          "description": "Default 'true'. Verify server signatures on order_created.",
          "name": "TRADEROUTER_REQUIRE_ORDER_CREATED_SIGNATURE"
        },
        {
          "description": "Default 'false'. When 'true', write-action tools (submit_signed_swap, auto_swap, place_*_order, cancel_order, extend_order) short-circuit and return { dry_run: true, ... } instead of calling the API. Read-only tools execute normally.",
          "name": "TRADEROUTER_DRY_RUN"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...