Skip to content
VS Code

Mnemotree for VS Code

io.github.kurcontko/mnemotree

Local long-term memory. Keeps messages verbatim in SQLite and recalls them by hybrid search.

client:VS Code transport:stdio runtime:pypi

Install Mnemotree in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mnemotree-db",
      "description": "MNEMOTREE_DB",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mnemotree-namespace",
      "description": "MNEMOTREE_NAMESPACE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mnemotree-project",
      "description": "MNEMOTREE_PROJECT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mnemotree-lexical",
      "description": "MNEMOTREE_LEXICAL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mnemotree-config",
      "description": "MNEMOTREE_CONFIG",
      "password": true
    }
  ],
  "servers": {
    "mnemotree": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mnemotree-mcp"
      ],
      "env": {
        "MNEMOTREE_DB": "${input:mnemotree-db}",
        "MNEMOTREE_NAMESPACE": "${input:mnemotree-namespace}",
        "MNEMOTREE_PROJECT": "${input:mnemotree-project}",
        "MNEMOTREE_LEXICAL": "${input:mnemotree-lexical}",
        "MNEMOTREE_CONFIG": "${input:mnemotree-config}"
      }
    }
  }
}

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

Mnemotree in other clients