Skip to content
VS Code

OmniMem for VS Code

io.github.richarvey/omnimem

Self-hosted memory for AI agents: semantic recall, dead-end warnings and compiled skills.

client:VS Code transport:stdio runtime:oci

Install OmniMem in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-auth-token",
      "description": "MCP_AUTH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anthropic-api-key",
      "description": "ANTHROPIC_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "omnimem": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/richarvey/omnimem:7.1.8"
      ],
      "env": {
        "MCP_AUTH_TOKEN": "${input:mcp-auth-token}",
        "ANTHROPIC_API_KEY": "${input:anthropic-api-key}"
      }
    }
  }
}

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

OmniMem in other clients