Open Agent Memory for Gemini CLI
io.github.rocke2020/oam
Self-hosted OAM memory with cited recall over your existing deployment
client:Gemini CLI
transport:stdio
runtime:npm
Install Open Agent Memory in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"oam": {
"command": "npx",
"args": [
"-y",
"@rocke-dong/oam-mcp"
],
"env": {
"OAM_BASE_URL": "<OAM_BASE_URL>",
"OAM_USER_ID": "<OAM_USER_ID>",
"OAM_USER_API_KEY": "<OAM_USER_API_KEY>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs