RGX — Snap Router + RyRank + Pricing-Truth

v1.0.5
io.github.trigeochiral/rgx Checked 4 days ago Published 3 months ago

Tool selection, Cohere-compatible reranking, and on-chain pricing-truth for agents

Values you need

VariableWhat it is
RGX_APIrequired Base URL of the hosted RGX API (default https://trigeochiral.com) Default: https://trigeochiral.com
RGX_XPAYMENToptional secret Optional base64 x402 X-PAYMENT payload for paid calls past the free tier

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add rgx -e RGX_API=https://trigeochiral.com -- uvx rgx-mcp==1.0.5
Add to claude_desktop_config.json
{
  "mcpServers": {
    "rgx": {
      "args": [
        "rgx-mcp==1.0.5"
      ],
      "command": "uvx",
      "env": {
        "RGX_API": "https://trigeochiral.com"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "rgx": {
      "args": [
        "rgx-mcp==1.0.5"
      ],
      "command": "uvx",
      "env": {
        "RGX_API": "https://trigeochiral.com"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "RGX_API",
      "id": "rgx-api",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "rgx": {
      "args": [
        "rgx-mcp==1.0.5"
      ],
      "command": "uvx",
      "env": {
        "RGX_API": "${input:rgx-api}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.rgx]
command = "uvx"
args = ["rgx-mcp==1.0.5"]
env = { "RGX_API" = "https://trigeochiral.com" }

For AI agents

  1. Ask the user for: RGX_API. 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: snap_router, rerank, token_report, token_depth, price_corroboration, honeypot_check, redeem_spread, anomaly_screener, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json