Skip to content
Gemini CLI

Mnema — AI Memory Layer for Gemini CLI

io.github.hoanglt1223/mnema

Personal knowledge graph as an AI memory layer over MCP - read, save, and link your memories.

client:Gemini CLI transport:streamable-http

Install Mnema — AI Memory Layer in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "mnema": {
      "httpUrl": "https://secondbrain.hoangha.shop/api/mcp"
    }
  }
}

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

Mnema — AI Memory Layer in other clients