Gemini CLI Setup
Recommended path
Section titled “Recommended path”engram setup gemini-cliThat setup registers the MCP server, writes the Memory Protocol to ~/.gemini/system.md, and ensures Gemini actually loads that file.
Manual path
Section titled “Manual path”Add the MCP server to ~/.gemini/settings.json:
{ "mcpServers": { "engram": { "command": "engram", "args": ["mcp"] } }}Use the automated setup unless you have a strong reason not to. The protocol file is part of what makes memory resilient after compaction.