1. Conduid
  2. Cloud
  3. Memory Hub
MCP server · Cloud

Memory Hub

Sanitized reference architecture for a self-hosted second-brain memory layer

53Fair

Scored 21 hours ago · breakdown

About Memory Hub

Memory Hub is an MCP server published by redhat-ai-americas in the Cloud category: sanitized reference architecture for a self-hosted second-brain memory layer. Conduid read 15 tools from its source: admin_memory, delete_memory, list_memory, manage_curation, manage_graph, manage_project and 9 more. No package is published for it, so it installs from a source checkout.

The repository has 27 stars and 18 forks, and its last commit was on 30 Nov 2026. Conduid has no tagged release on record for it. Its topics include automation, debugging, graphify, incident, infrastructure and ingest.

Install

From source
git clone https://github.com/redhat-ai-americas/memory-hub

Tools (15)

admin_memoryAdmin content moderation operations. Requires memory:admin scope.
ParameterTypeDescription
action *stringAdmin action: search, quarantine, restore, hard_delete
memory_idstringMemory UUID (required for quarantine/restore/hard_delete)
optionsobjectAction-specific options. search: regex, cross_tenant, scope_filter, max_results, include_statuses. quarantine: reason (required), incident_reference. restore: reason (required). hard_delete: reason (required), incident_reference, sanitized_audit.
querystringSearch query (required for search)
delete_memorySoft-delete a memory and its entire version chain.
ParameterTypeDescription
driver_idstringIdentity of the upstream human or system driving this delete. Omit to use the session default or the authenticated actor_id. Recorded in the audit log.
memory_id *stringID of any version of the memory to delete. The entire version chain (older + newer versions) plus child branches will be soft-deleted. You can pass any version ID — the tool walks the chain in both directions.
project_idstringYour project identifier. Required when deleting a campaign-scoped memory — used to verify your project is enrolled in the campaign.
list_memory
ParameterTypeDescription
content_typestring(Advanced) Filter by content type. 'knowledge' for facts and preferences, 'behavioral' for demonstrated patterns, 'procedural' for directed-graph runbooks. Omit to list all types.
current_onlybooleanIf true, only returns current versions.
cursorstringPagination cursor from a previous list response. Pass next_cursor to get the next page.
include_branchesbooleanIf true, include branch memories. Default false.
max_resultsintegerMaximum results to return (1-200).
project_idstringProject identifier. Limits results to this project.
scopestringFilter to a specific scope: user, project, campaign, role, organizational, enterprise. Omit to list all accessible scopes.
tenant_idstringTarget tenant to list from. Omit to use the session's own tenant. Must be a tenant the caller is authorized for.
verbosebooleanReturn full metadata per result. When False, returns only id + content, dramatically reducing token overhead. The unified memory() dispatcher defaults to False for agent callers.
manage_curation
ParameterTypeDescription
action *stringThe curation operation to perform. One of: 'report_contradiction' (signal that observed behavior conflicts with a stored memory), 'resolve_contradiction' (close out a contradiction report with a disposition), 'set_rule' (create or update a user-layer curation rule).
action_typestringaction='set_rule': Action on match: 'flag', 'block', 'quarantine', 'reject_with_pointer', 'decay_weight'.
confidencenumberaction='report_contradiction': How confident the agent is that this is a real contradiction (0.0-1.0). Temporary exceptions warrant lower confidence. Repeated, consistent contradictions warrant higher.
configobjectaction='set_rule': Tier-specific config. For embedding: {"threshold": float}. For regex: {"pattern": string}.
enabledbooleanaction='set_rule': Whether this rule is active.
observed_behaviorstringaction='report_contradiction': Description of what was observed that conflicts with the memory. Be specific: 'User created a Docker Compose project with 12 services' not just 'used Docker'.
priorityintegeraction='set_rule': Evaluation priority (lower = higher priority). Default: 10.
project_idstringaction='report_contradiction': Your project identifier. Required when the target memory has campaign scope — used to verify your project is enrolled in the campaign.
resolution_actionstringaction='resolve_contradiction': Disposition for the report. One of: 'accept_new' (the new observation supersedes the memory), 'keep_old' (the memory stands; observation was an exception), 'mark_both_invalid' (neither is authoritative), 'manual_merge' (a human will reconcile manually).
resolution_notestringaction='resolve_contradiction': Optional rationale for the resolution, for audit purposes.
scope_filterstringaction='set_rule': Scope this rule applies to (user, project, etc). Null for all scopes.
tierstringaction='set_rule': Rule tier: 'regex' or 'embedding'.
manage_graph
ParameterTypeDescription
action *stringThe graph operation to perform. One of: 'create_relationship' (link two memory nodes with a typed edge), 'get_relationships' (query edges for a node, with optional provenance tracing), 'get_similar' (find near-duplicate memories by cosine similarity), 'get_guidance' (localized procedural guidance for one current step).
as_ofstringaction='get_relationships': ISO-8601 timestamp to query edges active at that point in time. Omit to return only currently active edges.
directionstringaction='get_relationships': Which edges to return — 'outgoing' (this node is the source), 'incoming' (this node is the target), or 'both'. Default: 'both'.
include_provenancebooleanaction='get_relationships': If true, follows derived_from edges backward from this node to build a provenance chain showing which source memories this node was derived from.
max_hopsintegeraction='get_guidance': Neighborhood size in edges. Default 2, the paper's neighborhood. Counts edges from node_id and includes distances 1 through this value. Hard cap 5. Traverses precedes, requires, and alternative_to.
max_resultsintegeraction='get_similar': Maximum results per page. Default: 10.
metadataobjectaction='create_relationship': Optional key-value pairs to attach to the relationship edge. To suggest a merge, pass relationship_type='conflicts_with' with metadata={'merge_suggested': true, 'reasoning': '...'}.
offsetintegeraction='get_similar': Pagination offset. Default: 0.
relationship_typestringaction='create_relationship': Type of relationship. Must be one of: derived_from, supersedes, conflicts_with, related_to, precedes, requires, alternative_to. 'mentions' is system-managed by entity extraction and cannot be created via this tool. Required for create_relationship. action='get_relationships': Filter by this type; omit to return all types.
target_idstringaction='create_relationship': UUID of the target memory node (the 'to' end of the edge). Required for create_relationship.
thresholdnumberaction='get_similar': Minimum cosine similarity (0.0–1.0). Default: 0.80.
manage_project
ParameterTypeDescription
action *stringThe operation to perform. One of: 'list' (discover projects), 'create' (new project), 'describe' (project details + members), 'add_member' (add user to project), 'remove_member' (remove user from project).
descriptionstringProject description. Used with action='create'.
filteranyUsed with action='list'. 'mine' (default): only your projects. 'all': also shows open projects you could join.
invite_onlybooleanEnrollment policy. Used with action='create'. False (default): anyone can join by writing a project-scoped memory. True: members must be added explicitly.
project_namestringProject identifier. Required for create, describe, add_member, remove_member.
rolestringRole for the user. Used with action='add_member'. One of: 'member' (default), 'admin'.
user_idstringTarget user. Required for add_member and remove_member.
manage_session
ParameterTypeDescription
action *stringThe operation to perform. One of: 'status' (check your current session identity and project memberships), 'set_focus' (declare the session's focus topic for history and broadcast filtering), 'focus_history' (retrieve a per-project histogram of recent session focus declarations).
end_datestringUsed with action='focus_history'. End of the date range, inclusive, in ISO format YYYY-MM-DD. Defaults to today (UTC).
focusstringRequired for action='set_focus'. A short natural-language topic describing this session's current focus. 5-10 words work best. Examples: 'deployment', 'MCP tool design for session focus', 'UI panel for curation rules'. The SDK normally infers this from working directory or first user turn, but agents can declare explicitly or update mid-session when the conversation pivots.
projectstringRequired for action='set_focus' and action='focus_history'. The project identifier this session belongs to. Typically matches the `project` field of project-scope memories and the `project` value in `.memoryhub.yaml`. Required so history aggregation can scope per-project.
start_datestringUsed with action='focus_history'. Start of the date range, inclusive, in ISO format YYYY-MM-DD. Defaults to 30 days before end_date.
memory
ParameterTypeDescription
action *stringThe operation to perform. See action reference in docstring.
contentstringMemory text. Required for: write. Optional for: update.
memory_idstringUUID of target memory. Required for: read, update, delete, similar, relationships, guidance, report.
optionsobjectAction-specific parameters. See reference table in docstring.
project_idstringProject identifier. Required for: write (project/campaign scope), set_focus, focus_history, describe_project, add_member, remove_member.
querystringNatural language search text. Required for: search. When options.current_step_id is set, the text is still required but the server ignores it and returns localized guidance.
scopestringScope: user, project, campaign, role, organizational, enterprise. Required for: write. Optional filter for: search.
personaRetrieve, compile, or edit a user's standing persona profile.
ParameterTypeDescription
action *stringPersona operation: 'get', 'compile', or 'edit'.
optionsobjectAction-specific parameters. For 'edit', provide edit_action='add_pin' or 'list_pins'; 'add_pin' also requires content.
project_idstringProject scope for 'get' and 'compile' actions.
user_idstringUser ID. Defaults to the authenticated session user.
read_memory
ParameterTypeDescription
history_max_versionsintegerMaximum number of versions to return when include_versions is true (1-100).
history_offsetintegerNumber of versions to skip from newest when include_versions is true. Use for pagination on long-lived memories.
hydratebooleanWhen true and the memory uses external (S3) storage, fetches the full content instead of the truncated prefix. Set to true when you need the complete content — for example, after finding a chunk via search and following parent_id to the full memory. Has no effect on inline memories.
include_versionsbooleanIf true, includes version history alongside the current content. Useful for understanding how a memory evolved. Supports pagination via history_offset and history_max_versions.
memory_id *stringThe UUID of the memory to read.
project_idstringYour project identifier. Required when the target memory has campaign scope — used to verify your project is enrolled in the campaign.
resolve_currentbooleanWhen true and the requested memory is a superseded version (is_current=false), automatically resolve to the current version via logical_id and return that instead.
tenant_idstringTarget tenant to read from. Omit to use the session's own tenant. Must be a tenant the caller is authorized for.
register_sessionRegister this session with an API key or attach JWT session metadata.
ParameterTypeDescription
api_key *stringYour MemoryHub API key. Provided by the system administrator. Format: mh-dev-<hex>.
default_driver_idstringIdentity of the upstream human or system on whose behalf the agent is acting. When set, every write in this session records this as the driver_id unless overridden per-call. Omit when the agent is acting autonomously (driver_id defaults to the authenticated actor_id).
search_memory
ParameterTypeDescription
content_modestringContent delivery mode for S3-backed memories. 'stub' (default): returns the stored prefix with honesty flags (content_truncated, full_available) so agents can follow up with read_memory(hydrate=true) for specific memories. 'full': hydrates full content from S3 storage before returning. Use 'full' in eval/benchmark harnesses.
content_typestring(Advanced) Filter by content type. 'knowledge' for facts and preferences (default search scope), 'behavioral' for demonstrated patterns, 'procedural' for directed-graph runbooks. Omit to search all types.
current_onlyboolean(Advanced) If true, only returns current versions. Set false for forensic searches.
current_step_idstringUUID of the procedural step the agent is on. When set, skip embedding and ranking and return localized guidance for that step's neighborhood (default 2 hops over precedes, requires, and alternative_to). The id is the current step, not a procedure root and not a search hit — pass it explicitly. query is still required and is ignored; the response sets query_ignored to true. focus, graph_depth, domains, entities, and graph_relationship_types are not applied; any of those you set are listed in ignored_parameters. When omitted, search behaves exactly as before, including content_type='procedural', which stays a ranked list of memories.
disabled_signalsarray(Advanced) RRF signals to disable for ablation testing. Valid names: reranker, focus, keyword, domain, graph. Vector similarity is always active. Disabled signals are reported in the response metadata.
domain_boost_weightnumber(Advanced) Domain boost strength (0.0-1.0). Default 0.3. Ignored when domains is not set.
domainsarray(Advanced) Domain tags to boost in results (e.g., ['React']). Matching results rank higher. Non-matching still appear.
entitiesarrayFilter to memories that mention these entity names. Entity names are matched case-insensitively against extracted entity nodes linked via MENTIONS relationships. Composes with all other filters (scope, domain, graph_depth).
exclude_sourcestringExclude memories from a specific source. Useful for ablation testing: exclude_source='dreaming' reproduces the library-only baseline by filtering out extracted memories.
focusstring(Advanced) Session focus string (e.g., 'OpenShift deployment'). Biases retrieval toward memories matching this focus in addition to the query. Pass on every call (stateless).
graph_boost_weightnumber(Advanced) Graph proximity boost strength (0.0-1.0). Default 0.2. Higher values favor graph-connected memories. Ignored when graph_depth is 0.
graph_depthinteger(Advanced) Hop depth for graph-enhanced retrieval. When > 0, follows relationships from vector search results to surface connected memories. 0 (default) disables graph traversal. Max 3. Not applied when current_step_id is set; that path skips ranking. A value greater than 0 on that path is listed in ignored_parameters.
graph_relationship_typesarray(Advanced) Limit graph traversal to these relationship types (e.g., ['derived_from', 'related_to']). Null means all types. Only used when graph_depth > 0.
include_branchesboolean(Advanced) If true, nest branch memories (rationale, provenance) under their parent. Default false omits them — use read_memory to drill in when has_rationale or has_children is flagged.
max_hopsintegerNeighborhood size in edges for current_step_id. Default 2, the paper's neighborhood. Counts edges from the current step and includes distances 1 through this value. Hard cap 5. Ignored unless current_step_id is set.
max_response_tokensinteger(Advanced) Soft cap on total response tokens. Past this cap, remaining results degrade to stubs. 0 disables the cap (no degradation). Default 4000.
max_resultsintegerMaximum results to return (1-200). Keep low (5-15) to avoid context bloat.
modestring(Advanced) Result detail mode. 'full' (default): full content for high-weight matches, stubs for low. 'index': stubs only (for exploratory searches). 'full_only': always full content, no token budget degradation.
owner_idstring(Advanced) Filter to a specific owner's memories. Omit to default to your user_id. Pass empty string to search across all owners.
project_idstringYour project identifier. Restricts project-scoped results to this project only. Also resolves campaign-scoped memories for campaigns this project is enrolled in. Omit to include project memories from ALL projects you belong to.
query *stringNatural language search query. Be specific -- 'container runtime preferences' works better than 'containers'. The query is embedded and compared via cosine similarity. When current_step_id is set, this text is still required but is not embedded or ranked. The response sets query_ignored to true and lists it in ignored_parameters.
raw_resultsboolean(Advanced) When True, return results ranked by similarity score instead of cache-optimized stable ordering. Default False.
retrieval_unitstring(Advanced) Control which memory unit type is returned. 'facts' returns extracted fact nodes only; 'chunks' returns matched chunks directly; 'parents' returns parent memories only; 'auto' returns facts when available, otherwise parents. Default None (existing behavior: expand chunks to parents).
return_chunksboolean(Advanced) When True, return matched chunks directly instead of expanding them to their parent memories. Produces smaller, more focused results. Use read_memory(hydrate=true) on the parent_id if full context is needed. Default False.
scopestringFilter to a specific scope: user, project, campaign, role, organizational, enterprise. Omit to search all accessible scopes.
session_focus_weightnumber(Advanced) Focus bias strength (0.0-1.0). Default 0.4. Higher values favor on-focus recall. Ignored when focus is None.
sourcestringFilter by memory source. 'agent' for agent-written memories, 'dreaming' for memories extracted by the dreaming pipeline, 'import' for bulk-imported memories. Omit to include all sources.
temporal_statusstringFilter by temporal status. 'current' shows memories with no semantic expiry or expiry in the future. 'expired' shows memories past their relevant_until date. 'expiring_soon' shows memories expiring within 7 days. 'all' disables the filter (default).
tenant_idstringTarget tenant to search in. Omit to use the session's own tenant. Must be a tenant the caller is authorized for.
verbosebooleanReturn full metadata per result. When False, returns only id + content + result_type, dramatically reducing token overhead. The unified memory() dispatcher defaults to False for agent callers.
weight_thresholdnumber(Advanced) Memories with weight below this value return as stubs instead of full content. Default 0.0 (all full).
threadConversation thread operations. Call register_session first.
ParameterTypeDescription
action *stringThe operation to perform: create, append, get, list, archive, extract, fork, share, delete.
contentstringMessage content. Required for: append.
optionsobjectAction-specific parameters.
rolestringMessage role: user, assistant, tool_call, tool_result, system. Required for: append.
scopestringScope: user, project, campaign, role, organizational, enterprise. Required for: create. Optional filter for: list.
thread_idstringThread UUID. Required for: append, get, archive.
update_memory
ParameterTypeDescription
contentstringNew content text. Omit to keep existing content (useful for weight-only updates).
domainsarrayNew domain tags to replace existing ones. Omit to keep existing domains.
driver_idstringIdentity of the upstream human or system driving this update. Omit to use the session default or the authenticated actor_id.
memory_id *stringID of the current memory to update. Must be a current (isCurrent=true) version.
metadataobjectNew metadata to merge with existing metadata. Omit to keep existing.
project_idstringYour project identifier. Required when updating a campaign-scoped memory — used to verify enrollment.
weightnumberNew injection priority (0.0-1.0). Omit to inherit from previous version.
write_memory
ParameterTypeDescription
branch_typestringRequired when parent_id is set. Common types: rationale, provenance, description, evidence, approval.
chunk_overlap_tokensinteger(Advanced) Overlap tokens between consecutive chunks. Omit to use the server default (0). Overlap preserves context at chunk boundaries for better retrieval.
chunk_target_tokensinteger(Advanced) Target tokens per chunk for oversized content. Omit to use the server default (256). Smaller values produce more focused chunks; larger values preserve more context.
content *stringThe memory text. Should be clear and self-contained.
content_typestring(Advanced) Memory content type. Defaults to 'experiential' (agent-created memories). Use 'knowledge' for facts and preferences, 'behavioral' for demonstrated patterns and successful approaches, 'procedural' for directed-graph runbooks (procedure root + procedure_step children). Behavioral memories are not injected by default -- use the reconstruct action to retrieve them. Procedural graphs are not returned by reconstruct; retrieve them by content_type filter or by walking the procedure subtree.
domainsarrayCrosscutting knowledge domain tags (e.g., 'React', 'Spring Boot', 'CORS'). Improves retrieval for domain-relevant queries. Optional at any scope.
driver_idstringIdentity of the upstream human or system driving this write. Omit to use the session default (set at register_session time) or the authenticated actor_id if no default is set.
extract_factsstringFact extraction mode: 'eager' extracts via MCP sampling during this call regardless of content size; 'off' skips extraction; 'background' defers to the background dreaming path (not yet implemented, currently a no-op). Omit to use the server default (eager only when content exceeds the chunking threshold). Only applies to root memories, not branches.
forceboolean(Advanced) Bypass near-duplicate similarity gates. Regex rules (secrets, PII) are never bypassed.
metadataobjectArbitrary key-value pairs for tags, source references, etc.
owner_idstringThe user, project, or org this memory belongs to. For user-scope, this is the user ID. Omit to use your authenticated user_id (requires register_session).
parent_idstringUUID of the parent memory node when creating a branch. Omit for root-level memories.
project_descriptionstringDescription for the project when auto-creating it on first project-scoped write. Ignored if the project already exists. Helps other agents understand what the project is about in manage_project output.
project_idstringYour project identifier. Required when scope is 'project' or 'campaign'. For project scope, the memory is tagged to this project and only project members can read it. For campaign scope, used to verify your project is enrolled in the campaign.
relevant_untilstringISO 8601 timestamp for semantic expiry (e.g. '2026-12-31T23:59:59Z'). When set, indicates when this memory's content becomes stale. Distinct from storage lifecycle (expires_at). Omit to let the temporal classifier auto-detect from content.
scopestringOne of: user, project, campaign, role, organizational, enterprise. Defaults to 'user' -- most agent-created memories are user-scoped. For campaign scope, set owner_id to the campaign UUID and provide project_id for enrollment verification.
tenant_idstringTarget tenant for this write. Omit to use the session's own tenant. Must be a tenant the caller is authorized for.
upstream_trust_levelstringTrust level of the material this memory came from: 'trusted' (direct user input, verified tool output), 'untrusted' (web scrapes, unverified MCP servers, browser automation), or 'mixed' (both, and the memory cannot be attributed to only the trusted part). Omit for 'trusted'. Set this when writing anything derived from content you did not authenticate. The value is advisory and is surfaced to readers as taint metadata; it is set once and inherited by later versions, so it cannot be raised after the fact.
weightnumberInjection priority from 0.0 to 1.0. High-weight (0.8-1.0) memories get full content injected. Default 0.7.

Security checks

6 checks have not been run yet.

Questions

About Memory Hub

How do I install Memory Hub?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Memory Hub safe to use with an AI agent?

Its trust score is 53 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Memory Hub still maintained?

Yes — the last commit was yesterday. The repository has 27 stars and 18 forks.

What tools does Memory Hub provide?

Conduid read 15 tools from the source: admin_memory, delete_memory, list_memory, manage_curation, manage_graph, manage_project, manage_session, memory and 7 more. 15 of them publish their parameters, listed under Tools above.