Skip to content
VS Code

RGX — Snap Router + RyRank + Pricing-Truth for VS Code

io.github.trigeochiral/rgx

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

client:VS Code transport:stdio runtime:pypi

Install RGX — Snap Router + RyRank + Pricing-Truth in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "rgx-api",
      "description": "RGX_API",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rgx-xpayment",
      "description": "RGX_XPAYMENT",
      "password": true
    }
  ],
  "servers": {
    "rgx": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "rgx-mcp"
      ],
      "env": {
        "RGX_API": "${input:rgx-api}",
        "RGX_XPAYMENT": "${input:rgx-xpayment}"
      }
    }
  }
}

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

RGX — Snap Router + RyRank + Pricing-Truth in other clients