Skip to content
VS Code

memento protocol for VS Code

io.github.myrakrusemark/memento-protocol

Persistent memory for AI agents. Store what matters, recall by meaning, skip the rest.

client:VS Code transport:stdio runtime:npm

Install memento protocol in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "memento-api-key",
      "description": "MEMENTO_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "memento-api-url",
      "description": "MEMENTO_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "memento-workspace",
      "description": "MEMENTO_WORKSPACE",
      "password": true
    }
  ],
  "servers": {
    "memento-protocol": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "memento-mcp"
      ],
      "env": {
        "MEMENTO_API_KEY": "${input:memento-api-key}",
        "MEMENTO_API_URL": "${input:memento-api-url}",
        "MEMENTO_WORKSPACE": "${input:memento-workspace}"
      }
    }
  }
}

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

memento protocol in other clients