Skip to content
Gemini CLI

Midas for Gemini CLI

io.github.vornicx/midas

Local-first, source-traceable agent memory — no LLM at ingest, fully offline

client:Gemini CLI transport:stdio runtime:pypi

Install Midas 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": {
    "midas": {
      "command": "uvx",
      "args": [
        "midas-memory-mcp"
      ],
      "env": {
        "MIDAS_MCP_DB": "<MIDAS_MCP_DB>",
        "MIDAS_MCP_EMBEDDER": "<MIDAS_MCP_EMBEDDER>",
        "MIDAS_MCP_MAX_RECORDS": "<MIDAS_MCP_MAX_RECORDS>",
        "MIDAS_MCP_MIN_IMPORTANCE": "<MIDAS_MCP_MIN_IMPORTANCE>"
      }
    }
  }
}

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

Midas in other clients