Skip to content
Gemini CLI

mcp sqlite for Gemini CLI

io.github.rosch100/mcp-sqlite

MCP server for SQLCipher 4 encrypted SQLite databases with full CRUD operations and query support

client:Gemini CLI transport:stdio runtime:oci

Install mcp sqlite 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": {
    "mcp-sqlite": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/rosch100/mcp-sqlite:0.2.4"
      ],
      "env": {
        "DB_PATH": "<DB_PATH>",
        "DB_PASSPHRASE": "<DB_PASSPHRASE>"
      }
    }
  }
}

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

mcp sqlite in other clients