Skip to content
Gemini CLI

smart connections for Gemini CLI

io.github.gogogadgetbytes/smart-connections

MCP server for Obsidian Smart Connections. Semantic search using your vault's embeddings.

client:Gemini CLI transport:stdio runtime:npm

Install smart connections 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": {
    "smart-connections": {
      "command": "npx",
      "args": [
        "-y",
        "@gogogadgetbytes/smart-connections-mcp"
      ],
      "env": {
        "VAULT_PATH": "<VAULT_PATH>"
      }
    }
  }
}

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

smart connections in other clients