-
-
Notifications
You must be signed in to change notification settings - Fork 316
22 Architecture Diagram
An interactive diagram of how the MCP Memory Service is wired up — from the agent through the mcplex gateway to storage, search and deduplication.
Important
What this diagram shows, and what it does not. It depicts the service as embedded in a local Hermes agent setup. That is one example of how the system can be wired up, not a canonical deployment and not the only valid topology. Your own integration may look quite different — different agent, different gateway, or none at all.
Note
A <iframe> embed used to sit here. The wiki renders neither iframes nor raw
HTML, so that embed never worked. The diagram lives on mcpmemory.services and
ships with the rest of site/ through .forgejo/workflows/deploy-site.yml.
The viewer UI is English.
- Pan/zoom — move around and magnify
- Search — jump to a node
- Focus — highlight one node with its upstream/downstream reach
- Route probing — trace ordered paths through the system
- Light/dark theme — toggle
- Export — PNG, SVG, WebM
| Component | Role | Address |
|---|---|---|
| Hermes Agent | the AI agent (Qwen3.6-35B) | local |
| MCP Native Client | tool discovery and registration | mcp_mcplex_gateway_* |
| mcplex Gateway | meta-gateway consolidating all backends | http://127.0.0.1:3100 |
| Memory Backend | the memory service itself | localhost:8000 |
| REST API Layer |
/api/memories, /api/search, /api/manage/
|
port 8000 |
| Semantic Search | vector similarity over embeddings | in-memory |
| Deduplication | content-hash and semantic dedup | pre-write |
| Memory Store | the persistent structured database | persisted |
The diagram carries three predefined views:
- Full System — complete topology from the Hermes agent through the mcplex gateway to memory storage
-
Storage Path — follow a
memory_storecall through to persistent storage -
Search Path — trace a
memory_searchquery through semantic search
- Deployment Landscape — where this service is built, mirrored and published
-
Generated with: Archify v2.16, type
architecture - Validation: 9/9 showcase checks, 0 errors, 0 warnings; visual-check pass at 1440x900, 1600x1000, 1920x1080 and 2048x1320 in light and dark
- Created: 2026-08-26 · Revised: 2026-08-28 (scope card added)