← Index

io.github.Agonx402/agon-gateway

io.github.Agonx402/agon-gateway·v0.3.0·Other
Quality Score
80
/100

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

§01  Install
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "agon-gateway": {
      "command": "npx",
      "args": [
        "-y",
        "@agonx402/gateway-mcp"
      ],
      "env": {
        "AGON_GATEWAY_BASE_URL": "<agon_gateway_base_url>",
        "AGON_SIGNER_COMMAND": "<agon_signer_command>",
        "AGON_WALLET_PROFILE": "<agon_wallet_profile>",
        "AGON_PAYMENT_MAX_AMOUNT_USD": "<agon_payment_max_amount_usd>",
        "AGON_PAYMENT_DAILY_LIMIT_USD": "<agon_payment_daily_limit_usd>"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "agon-gateway": {
      "command": "npx",
      "args": [
        "-y",
        "@agonx402/gateway-mcp"
      ],
      "env": {
        "AGON_GATEWAY_BASE_URL": "<agon_gateway_base_url>",
        "AGON_SIGNER_COMMAND": "<agon_signer_command>",
        "AGON_WALLET_PROFILE": "<agon_wallet_profile>",
        "AGON_PAYMENT_MAX_AMOUNT_USD": "<agon_payment_max_amount_usd>",
        "AGON_PAYMENT_DAILY_LIMIT_USD": "<agon_payment_daily_limit_usd>"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y @agonx402/gateway-mcp
§02  Environment variables
AGON_GATEWAY_BASE_URL

Optional Agon Gateway base URL. Defaults to https://gateway.agonx402.com.

AGON_SIGNER_COMMAND

Executed only by agon_gateway_auth_call after an HTTP 402: spawns once with the normalized auth-request JSON on stdin (same shape as agon_gateway_prepare_auth). Stdout must be JSON auth output (headers map, or SIWX address+signature). On Windows, npx/npm run under cmd.exe; treat AGON_SIGNER_COMMAND as untrusted if an attacker controls it.

AGON_WALLET_PROFILE

Optional Agon wallet profile hint passed to signer hooks.

AGON_PAYMENT_MAX_AMOUNT_USD

Optional x402 maximum USD amount per request.

AGON_PAYMENT_DAILY_LIMIT_USD

Optional x402 daily authorized spend limit in USD.

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
10
installability
25
documentation
15
stability
5
§04  Alternatives in Other