Glitter Agent Gate (x402)

v0.1.1
trade.glitterchainscout.agents/agent-gate Checked 19 hours ago Published 14 days ago

Pay-per-call agent tools (web to Markdown, XRPL data, file conversion) via x402 in XRP or RLUSD.

Values you need

VariableWhat it is
XRPL_SEEDrequired secret Seed of a dedicated low-balance agent wallet that pays per call. Never use a main wallet.
X402_ALLOW_MAINNEToptional Must be 'true' to pay on XRPL mainnet (real funds). Default: false
GATEWAY_URLoptional Gateway base URL Default: https://agents.glitterchainscout.trade
X402_NETWORKoptional Optional override. Default: the network the gateway advertises (production = xrpl:0 mainnet).
MAX_XRP_PER_CALLoptional Per-call spend cap in XRP Default: 0.1
SESSION_BUDGET_XRPoptional Total XRP the server may spend per session Default: 1

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add agent-gate -e 'XRPL_SEED=<XRPL_SEED>' -- npx -y glitter-agent-gate-mcp@0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "agent-gate": {
      "args": [
        "-y",
        "glitter-agent-gate-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "XRPL_SEED": "<XRPL_SEED>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "agent-gate": {
      "args": [
        "-y",
        "glitter-agent-gate-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "XRPL_SEED": "<XRPL_SEED>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "XRPL_SEED",
      "id": "xrpl-seed",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "agent-gate": {
      "args": [
        "-y",
        "glitter-agent-gate-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "XRPL_SEED": "${input:xrpl-seed}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.agent-gate]
command = "npx"
args = ["-y", "glitter-agent-gate-mcp@0.1.1"]
env = { "XRPL_SEED" = "<XRPL_SEED>" }

For AI agents

  1. Ask the user for: XRPL_SEED. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_services, call_paid_service, web_to_markdown, xrpl_account_info, crypto_prices, convert_file, json_transform.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json