Skip to content
Gemini CLI

agon protocol for Gemini CLI

io.github.agonx402/agon-protocol

MCP server for Agon Protocol state reads and prepare-only payment-channel actions.

client:Gemini CLI transport:stdio runtime:npm

Install agon protocol in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "agon-protocol": {
      "command": "npx",
      "args": [
        "-y",
        "@agonx402/protocol-mcp"
      ],
      "env": {
        "SOLANA_DEVNET_RPC_URL": "<SOLANA_DEVNET_RPC_URL>",
        "AGON_PROTOCOL_PROGRAM_ID": "<AGON_PROTOCOL_PROGRAM_ID>",
        "AGON_PROTOCOL_DEVNET_USDC_TOKEN_ID": "<AGON_PROTOCOL_DEVNET_USDC_TOKEN_ID>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

agon protocol in other clients