Memory-Facade
Provides a curated memory entry point for Hermes agent, enabling automatic bank/tag routing, URL ingestion into linked articles, session-to-documentation set conversion, and consistency tooling (deduplication/rerouting).
Click on "Deploy 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., "@Memory-Facade what do we know about the 2026 content baseline?"
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.
Memory-Facade
A thin, stateless MCP server that gives every coding agent (Claude Code, Codex, OpenCode, Hermes) one curated entry point to shared memory — automatic bank/tag routing, URL-ingest → linked article, session → documentation set, and consistency tooling (dedupe / reroute).
It orchestrates Hindsight (facts) and LightRAG (corpora). It does not reimplement storage and never creates banks.
See ~/Projects/common-memory/docs/memory-facade-architecture.md for the design
and the 2026-08-18 content baseline.
Run (stdio MCP server)
uv run python -m mf.serverRelated MCP server: memex
Where it runs
Production MCP surface: the centralized MCP gateway (ghcr.io/tbxark/mcp-proxy,
container mcp-gateway) on Orange Pi 5, published by HAProxy as
https://mcp.msmsoft.net/memory_facade/mcp.
Note the underscore: the gateway namespace is the config key memory_facade,
so the hyphenated https://mcp.msmsoft.net/memory-facade/mcp returns 404.
It is Ansible-managed from infra-control:
roles/mcp-gateway/defaults/main.yml (mcp_gateway_servers.memory_facade) with
the release pinned by mcp_gateway_memory_facade_version, deployed by
playbooks/deploy/mcp-gateway.yml. Never hand-edit /opt/mcp-gateway/config.json
— the next Ansible run silently reverts it.
A second, dormant registration exists in msm-ai-gateway
(ai.msmsoft.net/memory_facade/mcp, from config/litellm.yaml). No client is
configured for it; see deploy/litellm-mcp-entry.md before relying on it.
Test
env -u PYTHONPATH uv run --extra dev pytest -qNote: on Sergey's host the shell exports a
PYTHONPATHpointing at the Hermes venv. Unset it (env -u PYTHONPATH …) before running here, otherwise the wrong pydantic/pydantic_core gets imported and collection fails.
Available Tools
6 toolsmemory_dedupeA
Find duplicate / over-fragmented memories in a bank and propose merging.
Detects exact chunk_id collisions and normalized-text duplicates, returns
the proposed groups. With commit=True runs consolidation (destructive);
read-only by default.
Inputs: bank, commit, sample_limit. Returns: object
memory_ingest_urlB
Analyze a URL and produce a compact, cross-linked article card.
Fetches the URL, auto-routes bank/tags, builds an article, auto-links to
related existing cards, and (with commit=True) persists card facts.
Read-only by default.
Inputs: url (required), commit, explicit_bank. Returns: object
memory_recallA
Curated semantic recall across Hindsight banks.
Queries the given banks (default ["global-user"]), merges results
with [[bank:id]] provenance, de-duplicates rows sharing a chunk, and returns
a synthesis with citations. Read-only; never mutates memory.
Inputs: query (required), banks, budget, max_items. Returns: object
memory_rerouteA
Find memories misrouted to the wrong bank and propose relocating them.
Detects rows in source_bank that deterministically belong in another
bank (e.g. infra content in global-user) and returns the move proposals.
With commit=True relocates (destructive); read-only by default.
Inputs: commit, source_bank, sample_limit. Returns: object
memory_session_to_docsA
Turn a session's durable facts into a linked documentation set.
Groups the facts into topic clusters, builds one Article per cluster, and
cross-links them into a doc set. With commit=True the cards are
persisted. Read-only by default.
Inputs: facts (required), commit. Returns: object
pingA
Report Hindsight connectivity/health from the facade.
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose: health check (ping), querying (recall), URL ingestion (ingest_url), session-to-doc conversion (session_to_docs), bank misrouting detection (reroute), and deduplication (dedupe). No two tools could be easily confused.
All tools share the consistent prefix 'memory_', but the verb parts vary: single verbs (reroute, ping, recall, dedupe) mix with verb_noun (ingest_url) and prepositional (session_to_docs). The pattern is mostly consistent but has minor deviations.
With 6 tools, the server is well-scoped for a memory management facade. Each tool addresses a distinct operation without overwhelming the agent. The count feels appropriate for the domain.
The tool set covers core operations like ingestion, retrieval, reorganization, and deduplication, but lacks explicit create/edit/delete for individual memories, and there is no simple list-all tool. Some gaps exist, but the domain is partially covered.
Maintenance
Related MCP Connectors
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Persistent, inspectable memory for AI agents with lineage, correction, and a hosted MCP endpoint.
An MCP memory server. One memory your agents share — across models, devices and apps.
shared AI-context layer for teams — persistent memory your agents search and update over MCP
Related MCP Servers
- AlicenseCqualityDmaintenanceMCP server for sharing source-backed engineering memory across AI coding clients like Cursor and VS Code.301MIT
- AlicenseNot gradedqualityCmaintenanceCentralized agentic memory and MCP gateway for LLMs, enabling persistent memory recall, validation, and integration with upstream MCP servers.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA self-hosted server providing shared memory, RAG document search, project maps, and role-based prompts for all AI agents via MCP and REST, enabling persistent context across devices and tools.3MIT
- AlicenseNot gradedqualityCmaintenanceA lightweight, self-hostable MCP server for shared memory, structured command relay, and traceable decision evidence across AI runtimes.1MIT