Skip to content
Gemini CLI

memento protocol for Gemini CLI

io.github.myrakrusemark/memento-protocol

Persistent memory for AI agents. Store what matters, recall by meaning, skip the rest.

client:Gemini CLI transport:stdio runtime:npm

Install memento protocol 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": {
    "memento-protocol": {
      "command": "npx",
      "args": [
        "-y",
        "memento-mcp"
      ],
      "env": {
        "MEMENTO_API_KEY": "<MEMENTO_API_KEY>",
        "MEMENTO_API_URL": "<MEMENTO_API_URL>",
        "MEMENTO_WORKSPACE": "<MEMENTO_WORKSPACE>"
      }
    }
  }
}

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

memento protocol in other clients