Skip to content
VS Code

monomem for VS Code

io.github.calasdan-sketch/monomem

Local shared memory for AI coding agents: SQLite notes with writer provenance, undo, search.

client:VS Code transport:stdio runtime:npm

Install monomem in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "monomem-client",
      "description": "MONOMEM_CLIENT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "monomem-home",
      "description": "MONOMEM_HOME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "monomem-db-path",
      "description": "MONOMEM_DB_PATH",
      "password": true
    }
  ],
  "servers": {
    "monomem": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "monomem"
      ],
      "env": {
        "MONOMEM_CLIENT": "${input:monomem-client}",
        "MONOMEM_HOME": "${input:monomem-home}",
        "MONOMEM_DB_PATH": "${input:monomem-db-path}"
      }
    }
  }
}

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

monomem in other clients