Skip to content
VS Code

memex for VS Code

io.github.kioie/memex

Local MCP memory for coding agents. SQLite on your machine — preferences persist across chats.

client:VS Code transport:stdio runtime:oci

Install memex in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "memex-dir",
      "description": "MEMEX_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "memex-user-id",
      "description": "MEMEX_USER_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "memex-hybrid",
      "description": "MEMEX_HYBRID",
      "password": true
    }
  ],
  "servers": {
    "memex": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/kioie/memex:0.6.0"
      ],
      "env": {
        "MEMEX_DIR": "${input:memex-dir}",
        "MEMEX_USER_ID": "${input:memex-user-id}",
        "MEMEX_HYBRID": "${input:memex-hybrid}"
      }
    }
  }
}

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

memex in other clients