Skip to content
Gemini CLI

r3 for Gemini CLI

io.github.n3wth/r3

Local Redis memory MCP for AI apps with hybrid caching and optional Mem0 cloud backup.

client:Gemini CLI transport:stdio runtime:npm

Install r3 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": {
    "r3": {
      "command": "npx",
      "args": [
        "-y",
        "@n3wth/r3"
      ],
      "env": {
        "MEM0_API_KEY": "<MEM0_API_KEY>",
        "REDIS_URL": "<REDIS_URL>"
      }
    }
  }
}

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

r3 in other clients