Skip to content
VS Code

Gemdex for VS Code

io.github.nikships/gemdex

Persistent memory layer for AI coding agents: save, recall, update via Gemini plus LanceDB

client:VS Code transport:stdio runtime:npm

Install Gemdex in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "gemini-api-key",
      "description": "GEMINI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gemdex-mode",
      "description": "GEMDEX_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lancedb-path",
      "description": "LANCEDB_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "embedding-model",
      "description": "EMBEDDING_MODEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gemdex-remote-url",
      "description": "GEMDEX_REMOTE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gemdex-remote-token",
      "description": "GEMDEX_REMOTE_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gemdex-remote-name",
      "description": "GEMDEX_REMOTE_NAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gemdex-trust-ranking",
      "description": "GEMDEX_TRUST_RANKING",
      "password": true
    }
  ],
  "servers": {
    "gemdex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gemdex-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "${input:gemini-api-key}",
        "GEMDEX_MODE": "${input:gemdex-mode}",
        "LANCEDB_PATH": "${input:lancedb-path}",
        "EMBEDDING_MODEL": "${input:embedding-model}",
        "GEMDEX_REMOTE_URL": "${input:gemdex-remote-url}",
        "GEMDEX_REMOTE_TOKEN": "${input:gemdex-remote-token}",
        "GEMDEX_REMOTE_NAME": "${input:gemdex-remote-name}",
        "GEMDEX_TRUST_RANKING": "${input:gemdex-trust-ranking}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Gemdex in other clients