Skip to content
Gemini CLI

Lore Context for Gemini CLI

io.github.lore-context/lore-context-mcp

Governed AI-agent memory, Evidence Ledger traces, evals, and portable context tools.

client:Gemini CLI transport:stdio runtime:npm

Install Lore Context 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": {
    "lore-context-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@lore-context/server"
      ],
      "env": {
        "LORE_API_URL": "<LORE_API_URL>",
        "LORE_API_KEY": "<LORE_API_KEY>",
        "LORE_MCP_TRANSPORT": "<LORE_MCP_TRANSPORT>"
      }
    }
  }
}

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

Lore Context in other clients