Skip to content
VS Code

ops-brain for VS Code

io.github.thek3nsai/ops-brain

Self-hosted team bus for AI agents: cross-machine handoffs, threaded replies, and check-in.

client:VS Code transport:stdio runtime:oci

Install ops-brain in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "database-url",
      "description": "DATABASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ops-brain-transport",
      "description": "OPS_BRAIN_TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ops-brain-auth-token",
      "description": "OPS_BRAIN_AUTH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ops-brain-agent-tokens",
      "description": "OPS_BRAIN_AGENT_TOKENS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ops-brain-allowed-hosts",
      "description": "OPS_BRAIN_ALLOWED_HOSTS",
      "password": true
    }
  ],
  "servers": {
    "ops-brain": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/thek3nsai/ops-brain:v8.0.0"
      ],
      "env": {
        "DATABASE_URL": "${input:database-url}",
        "OPS_BRAIN_TRANSPORT": "${input:ops-brain-transport}",
        "OPS_BRAIN_AUTH_TOKEN": "${input:ops-brain-auth-token}",
        "OPS_BRAIN_AGENT_TOKENS": "${input:ops-brain-agent-tokens}",
        "OPS_BRAIN_ALLOWED_HOSTS": "${input:ops-brain-allowed-hosts}"
      }
    }
  }
}

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

ops-brain in other clients