Skip to main content

ops-brain

io.github.TheK3nsai/ops-brain

v8.1.0Updated Nov 15, 2026local · Docker

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

Install

Needs 2 secrets. Replace 2 placeholders with your own values.

Run in your terminal. Replace 2 placeholders.

claude mcp add ops-brain -e 'DATABASE_URL=<your-database-url>' -e OPS_BRAIN_TRANSPORT=http -e 'OPS_BRAIN_AUTH_TOKEN=<your-ops-brain-auth-token>' -- docker run -i --rm -e DATABASE_URL -e OPS_BRAIN_TRANSPORT -e OPS_BRAIN_AUTH_TOKEN ghcr.io/thek3nsai/ops-brain:v8.1.0

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

6 settings, 2 required secrets. Snippets use placeholders; keep real values out of shared config.

  • DATABASE_URL
    Env var· required· secret
    PostgreSQL connection string. The migrations still create pgvector columns, so the database needs the pgvector extension installed.
  • OPS_BRAIN_AUTH_TOKEN
    Env var· required· secret
    Main bearer (operator break-glass, 32+ chars). Required for HTTP; keep it on the server.
  • OPS_BRAIN_TRANSPORT
    Env var· required
    Serve MCP over streamable HTTP at /mcp.Default: http
  • OPS_BRAIN_AGENT_TOKENS
    Env var· optional· secret
    JSON array of identity-bound agent tokens, e.g. [{"token":"...","from_agent":"Claude-Laptop"}]. See docs/agent-tokens.md.
  • OPS_BRAIN_ALLOWED_HOSTS
    Env var· optional
    Comma-separated allowed Host headers. Set your public hostname when behind a reverse proxy; defaults to loopback.
  • -p
    Argument· optional
    Publish the HTTP port on loopback; put a TLS reverse proxy in front for other machines.

Listed in the official MCP Registry since Nov 15, 2026. Mirrored daily; last checked Nov 26, 2026.