BrainHub
Provides a tool to send Matrix messages via the BrainBridge daemon, enabling agents to communicate through the Matrix protocol.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BrainHubsearch my knowledge base for notes on the BrainBridge named pipe protocol"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
BrainHub — Unified Web Frontend + File Storage + MCP Gateway + Ops Agent
The self-use main entry of the Brain product family: a single FastAPI process aggregating all panels (knowledge base / search / file storage / kanban / memory / agent status / ops logs), exposing a single MCP gateway externally, with a built-in ops agent that automatically maintains the knowledge base and memory.
Introduction
BrainHub is the entry point for the Brain product family, consolidating all capabilities into one operable interface and one set of APIs:
Web Panel: Jinja2 + HTMX zero-frontend build, knowledge base browsing / semantic search / file storage CRUD / kanban task state machine / memory / agent status / ops logs
JSON API v1:
/api/v1/*for the desktop React frontendMCP Gateway: aggregates 12 tools total from BrainHub's own tools + BrainMem retrieval tools; any agent only connects to this one entry
Ops Agent: scheduled archiving, index rebuild, memory extraction, health checks
In the self-use phase, a single brainhub start brings up the entire main process: imports brainmem as the retrieval backend, spawns the brain-bridge subprocess, appearing as one software externally.
Related MCP server: MCPHub
Features
🖥️ Unified Panel — 7 types of pages aggregated in one service, HTMX partial refresh + Alpine lightweight interactions, no frontend build chain needed
🔌 Single MCP Entry —
write_note/read_file/list_files/ project state machine /health_check/send_matrix_msg+ forwarding BrainMem retrieval tools🤖 Ops Agent — APScheduler scheduled: archiving / index rebuild / memory extraction / health checks, no external orchestration needed
📁 File Storage — BRAIN_ROOT file browsing, upload/download, lazy thumbnail generation, out-of-bounds and sensitive path interception
📋 Kanban — project/task state machine (todo → doing → blocked → done, strict transitions)
🔗 Collaboration Integration — forwards
send_matrix_msgto the BrainBridge daemon via named pipe, frontend receives Matrix messages and agent status in real-time via WS💻 Desktop Same-Origin Mount — mounts brainhub-desktop build artifacts at
/app, same-origin without CORS
Architecture
Directory | Responsibility |
| FastAPI app + Jinja2 templates + WS; |
| File CRUD + thumbnails, |
| Project/task state machine models |
| Ops agent: memory extraction, OpsAgent interface, APScheduler scheduling |
| Named pipe client (communicates with BrainBridge, envelope aligned with protocol constitution §3) |
| fastmcp gateway: own tools + forwarding BrainMem tools |
|
|
Quick Start
# 安装(Python 3.10+,uv 管理;依赖 BrainMem editable 安装)
uv sync
uv pip install -e ../brainmem
# 启动(拉起 Web + MCP 网关 + brain-bridge 子进程)
uv run brainhub start
# 运维子命令
uv run brainhub ops archive
uv run brainhub ops reindex
uv run brainhub ops healthDocumentation Index
PLAN.md — implementation plan and current progress (Phase 1-3 acceptance, panel, ops Cron, MCP tools, dependencies)
docs/protocol-constitution.md — protocol constitution: MCP tool signatures / memory.db schema / Matrix envelope
../brainmem/PRODUCT_FAMILY_PLAN.md — product family global plan (cross-product boundaries, HX470 migration, risk trade-offs)
Related Projects
Brain product family: BrainMem (memory engine) · BrainHub (this repository) · BrainBridge (collaboration gateway)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceProvides a unified MCP interface that proxies requests to multiple backend servers including memory/knowledge graph and vector database services. Enables seamless access to distributed MCP tools through a single endpoint with automatic routing, health monitoring, and retry logic.
- AlicenseNot gradedqualityNot gradedmaintenanceA unified gateway and dashboard that aggregates multiple MCP servers into a single endpoint for streamlined management by AI clients. It features a centralized YAML configuration, a web-based monitoring dashboard, and hot-reload support for managing filesystem, GitHub, and database tools.
- FlicenseNot gradedqualityDmaintenancePersonal AI infrastructure gateway orchestrating memory, workflow automation, knowledge retrieval, and skill discovery as a unified MCP stack.
- AlicenseNot gradedqualityBmaintenanceMCP server providing persistent memory, semantic search, versioned storage, webhook fanout, and unified LLM routing for AI agents via FastAPI runtime with multiple backend options.29Apache 2.0
Related MCP Connectors
The project brain for AI coding agents — memory, decisions, sprints, knowledge base via MCP.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bxy3045134656/brainhub'
If you have feedback or need assistance with the MCP directory API, please join our Discord server