Skip to content
VS Code

ai memory for VS Code

io.github.alphaonedev/ai-memory

Persistent memory for any AI — zero token cost until recall

client:VS Code transport:stdio runtime:oci

Install ai memory in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "ai-memory-db",
      "description": "AI_MEMORY_DB",
      "password": true
    }
  ],
  "servers": {
    "ai-memory": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/alphaonedev/ai-memory:0.5.1"
      ],
      "env": {
        "AI_MEMORY_DB": "${input:ai-memory-db}"
      }
    }
  }
}

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

ai memory in other clients