Skip to content
VS Code

agon gateway for VS Code

io.github.agonx402/agon-gateway

MCP server for Agon Gateway x402, Helius Wallet, and Tokens API market data.

client:VS Code transport:stdio runtime:npm

Install agon gateway in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "agon-gateway-base-url",
      "description": "AGON_GATEWAY_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agon-signer-command",
      "description": "AGON_SIGNER_COMMAND",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agon-wallet-profile",
      "description": "AGON_WALLET_PROFILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agon-payment-max-amount-usd",
      "description": "AGON_PAYMENT_MAX_AMOUNT_USD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agon-payment-daily-limit-usd",
      "description": "AGON_PAYMENT_DAILY_LIMIT_USD",
      "password": true
    }
  ],
  "servers": {
    "agon-gateway": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agonx402/gateway-mcp"
      ],
      "env": {
        "AGON_GATEWAY_BASE_URL": "${input:agon-gateway-base-url}",
        "AGON_SIGNER_COMMAND": "${input:agon-signer-command}",
        "AGON_WALLET_PROFILE": "${input:agon-wallet-profile}",
        "AGON_PAYMENT_MAX_AMOUNT_USD": "${input:agon-payment-max-amount-usd}",
        "AGON_PAYMENT_DAILY_LIMIT_USD": "${input:agon-payment-daily-limit-usd}"
      }
    }
  }
}

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

agon gateway in other clients