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
{
"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