# Interim MCP gateway image: upstream federatedcomputer/mcpserver PLUS the # superbrain MCP server, until the mcpserver repo bakes it in officially # (apps_registry.py entry + package install in its own Dockerfile). # 1.8.9 adds per-user hub auth (DESIGN_MCP_HUB_AUTH.md): hub_entrypoint.py # is overridden with the bearer-token middleware + call-time scoping build. # # Build from the repo root: # docker buildx build --platform linux/amd64,linux/arm64 --push \ # -f deploy/federated/mcpserver-superbrain.Dockerfile \ # -t federatedcomputer/mcpserver-superbrain:1.8.9 . # # The suite's mcpserver service file then uses # CONTAINER=federatedcomputer/mcpserver-superbrain (VERSION_RX stays # digits-only). Published 2026-11-05 (1.8.8) for the erwin attach; delete # once upstream ships superbrain support and the service CONTAINER moves # back to federatedcomputer/mcpserver. FROM federatedcomputer/mcpserver:1.8.8 COPY deploy/federated/hub_entrypoint.py /app/hub_entrypoint.py COPY mcp/ /src/superbrain-mcp/ RUN pipx install /src/superbrain-mcp \ && rm -rf /src/superbrain-mcp \ && python3 - <<'PY' p = "/app/apps_registry.py" s = open(p).read() entry = ''' "superbrain": { "required_env": "SUPERBRAIN_API_URL", "command": "superbrain-mcp", "args": [], }, ''' assert '"superbrain"' not in s, "registry already has superbrain" assert s.count(' "plausible": {') == 1 s = s.replace(' "plausible": {', entry + ' "plausible": {', 1) open(p, "w").write(s) print("apps_registry patched: superbrain entry added") PY