Skip to content
VS Code

brains for VS Code

io.github.spacecowboyian/brains

Personal wiki and memory for AI assistants: store, search, and recall structured notes.

client:VS Code transport:stdio runtime:npm

Install brains in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "wiki-dir",
      "description": "WIKI_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "storage-backend",
      "description": "STORAGE_BACKEND",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-client-id",
      "description": "GOOGLE_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-client-secret",
      "description": "GOOGLE_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-refresh-token",
      "description": "GOOGLE_REFRESH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "drive-folder-id",
      "description": "DRIVE_FOLDER_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "supabase-url",
      "description": "SUPABASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "supabase-service-role-key",
      "description": "SUPABASE_SERVICE_ROLE_KEY",
      "password": true
    }
  ],
  "servers": {
    "brains": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "brains-mcp"
      ],
      "env": {
        "WIKI_DIR": "${input:wiki-dir}",
        "STORAGE_BACKEND": "${input:storage-backend}",
        "GOOGLE_CLIENT_ID": "${input:google-client-id}",
        "GOOGLE_CLIENT_SECRET": "${input:google-client-secret}",
        "GOOGLE_REFRESH_TOKEN": "${input:google-refresh-token}",
        "DRIVE_FOLDER_ID": "${input:drive-folder-id}",
        "SUPABASE_URL": "${input:supabase-url}",
        "SUPABASE_SERVICE_ROLE_KEY": "${input:supabase-service-role-key}"
      }
    }
  }
}

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

brains in other clients