Skip to content
VS Code

memoir for VS Code

io.github.bighippoman/memoir

Structured session journals for AI agents. Persistent memory across sessions.

client:VS Code transport:stdio runtime:npm

Install memoir in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "memoir-max-content",
      "description": "MEMOIR_MAX_CONTENT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "memoir-max-outcome",
      "description": "MEMOIR_MAX_OUTCOME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "memoir-max-entries",
      "description": "MEMOIR_MAX_ENTRIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "memoir-max-sessions",
      "description": "MEMOIR_MAX_SESSIONS",
      "password": true
    }
  ],
  "servers": {
    "memoir": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "memoir-mcp"
      ],
      "env": {
        "MEMOIR_MAX_CONTENT": "${input:memoir-max-content}",
        "MEMOIR_MAX_OUTCOME": "${input:memoir-max-outcome}",
        "MEMOIR_MAX_ENTRIES": "${input:memoir-max-entries}",
        "MEMOIR_MAX_SESSIONS": "${input:memoir-max-sessions}"
      }
    }
  }
}

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

memoir in other clients