Skip to content
VS Code

brain protocol for VS Code

io.github.seritalien/brain-protocol

Verifiable Memory for AI Agents — knowledge graph, FTS, Starknet proofs, local or cloud

client:VS Code transport:stdio runtime:npm

Install brain protocol in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "brain-api-url",
      "description": "BRAIN_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "brain-api-key",
      "description": "BRAIN_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "brain-db-path",
      "description": "BRAIN_DB_PATH",
      "password": true
    }
  ],
  "servers": {
    "brain-protocol": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@brain-protocol/mcp"
      ],
      "env": {
        "BRAIN_API_URL": "${input:brain-api-url}",
        "BRAIN_API_KEY": "${input:brain-api-key}",
        "BRAIN_DB_PATH": "${input:brain-db-path}"
      }
    }
  }
}

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

brain protocol in other clients