ops-brain

io.github.TheK3nsai/ops-brain

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "ops-brain": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/thek3nsai/ops-brain:v6.3.2"
      ],
      "env": {
        "DATABASE_URL": "<your DATABASE_URL>",
        "OPS_BRAIN_TRANSPORT": "<your OPS_BRAIN_TRANSPORT>",
        "OPS_BRAIN_AUTH_TOKEN": "<your OPS_BRAIN_AUTH_TOKEN>",
        "OPS_BRAIN_AGENT_TOKENS": "<your OPS_BRAIN_AGENT_TOKENS>",
        "OPS_BRAIN_EMBEDDINGS_ENABLED": "false"
      }
    }
  }
}
Environment variables
  • DATABASE_URLrequiredsecretPostgreSQL connection string. The database needs the pgvector extension installed.
  • OPS_BRAIN_TRANSPORTrequiredServe MCP over streamable HTTP at /mcp.
  • OPS_BRAIN_AUTH_TOKENrequiredsecretMain bearer (operator break-glass, 32+ chars). Required for HTTP; keep it on the server.
  • OPS_BRAIN_AGENT_TOKENSsecretJSON array of identity-bound agent tokens, e.g. [{"token":"...","from_agent":"Claude-Laptop"}]. See docs/agent-tokens.md.
  • OPS_BRAIN_EMBEDDINGS_ENABLEDSemantic search via an OpenAI-compatible embedding endpoint (OPS_BRAIN_EMBEDDING_URL). Full-text search works without it.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
6.3.2
Registry
active
Published
10/22/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that ops-brain is listed here — it’s also the link we check for a free listing.

ops-brain — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-thek3nsai-ops-brain?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="ops-brain — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![ops-brain — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-thek3nsai-ops-brain?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.