Skip to content
VS Code

GUM Trading CLI & MCP for VS Code

io.github.jupnet/gum-cli

Trade spot tokens, tokenized stocks, and up to 50x perps across chains on GUM by Jupiter.

client:VS Code transport:stdio runtime:npm

Install GUM Trading CLI & MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "gum-solana-secret-key",
      "description": "GUM_SOLANA_SECRET_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gum-evm-private-key",
      "description": "GUM_EVM_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gum-max-trade-usd",
      "description": "GUM_MAX_TRADE_USD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gum-api-url",
      "description": "GUM_API_URL",
      "password": true
    }
  ],
  "servers": {
    "gum-cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@gumag/cli"
      ],
      "env": {
        "GUM_SOLANA_SECRET_KEY": "${input:gum-solana-secret-key}",
        "GUM_EVM_PRIVATE_KEY": "${input:gum-evm-private-key}",
        "GUM_MAX_TRADE_USD": "${input:gum-max-trade-usd}",
        "GUM_API_URL": "${input:gum-api-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

GUM Trading CLI & MCP in other clients