memory does not belong inside the model.
it belongs around it.
state.
retrieval.
policy.
tools.
audit.
the model reasons.
brainctl controls continuity.
shipped brainctl 2.5.0 โ the MCP server now speaks HTTP.
stdio still works (Claude Desktop, subprocess agents). new sibling entry point brainctl-mcp-http exposes the same tools over Streamable
HTTP โ bearer token, tool allowlist, 1 MiB cap, rate-limited, JSON logs that never leak memory content.
built because xAI Grok's remote-MCP only accepts HTTP/SSE.
the HTTP module imports the existing `app: Server` โ no re-registered tools, no duplicated dispatch, no
behavioral drift between transports. allowlist enforcement wraps the dispatcher at the JSON-RPC layer.
pip install 'brainctl[mcp]' โ stdio + HTTP in one install.