Skip to content
Gemini CLI

riv mcp for Gemini CLI

io.github.christopher-as/riv-mcp

Riv MCP: spend authorization and governed trading (place_order, positions, market data, policies).

client:Gemini CLI transport:stdio runtime:npm

Install riv mcp 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": {
    "riv-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@riv-io/mcp"
      ],
      "env": {
        "RIV_API_KEY": "<RIV_API_KEY>",
        "RIV_API_URL": "<RIV_API_URL>"
      }
    }
  }
}

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

riv mcp in other clients