Skip to content
VS Code

Counterparts for VS Code

ai.counterparts/memory

Local-first memory for AI: it interprets, forgets on purpose, and keeps a self across sessions.

client:VS Code transport:stdio runtime:npm

Install Counterparts in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "counterparts-data-dir",
      "description": "COUNTERPARTS_DATA_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "counterparts-config",
      "description": "COUNTERPARTS_CONFIG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "counterparts-update-check",
      "description": "COUNTERPARTS_UPDATE_CHECK",
      "password": true
    }
  ],
  "servers": {
    "memory": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "counterparts"
      ],
      "env": {
        "COUNTERPARTS_DATA_DIR": "${input:counterparts-data-dir}",
        "COUNTERPARTS_CONFIG": "${input:counterparts-config}",
        "COUNTERPARTS_UPDATE_CHECK": "${input:counterparts-update-check}"
      }
    }
  }
}

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

Counterparts in other clients