Skip to main content
Glama
tm42
by tm42

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MEMORY_PATHNoPath to the memory storage directory (default: .claude/memory for project-local, ~/.claude/memory for global)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
rememberA

Store knowledge atomically — entity + observations + relations in ONE call. PRIMARY TOOL for storing new knowledge. Prevents orphan entities. AUTO-BLOCKS if similar entity exists (>80% match). Use force=True to override.

create_relationsA

Create relations (edges) between entities. Every entity should have at least one relation. Use specific types: uses, implements, part_of, depends_on, alternative_to, decided_by, affects. Avoid generic 'related_to' when a specific type fits.

add_observationsA

Add atomic facts to existing entities. One fact per observation — don't dump paragraphs. Use prefixes: 'Gotcha: ...', 'Warning: ...', 'Status: ...', 'Source: ...'. For relations, use create_relations instead of 'X is related to Y' observations.

delete_entitiesA

Delete entities by name (cascades to relations)

delete_relationsC

Delete specific relations

delete_observationsC

Delete specific observations from entities

recallA

PRIMARY RETRIEVAL TOOL. Get relevant context with automatic token management. Use focus=['EntityName'] to get full details on specific entities. shallow=quick summary, medium=semantic search+neighbors, deep=full exploration.

get_state_atA

Get graph state at a specific point in time (event rewind)

diff_timerangeC

Show what changed between two points in time

get_entity_historyB

Get the history of all changes to an entity

set_relation_importanceB

Set explicit importance weight for a relation

get_strongest_connectionsB

Get an entity's strongest connections by edge weight

get_weak_relationsA

Get relations below a weight threshold (pruning candidates)

get_primerA

Get oriented with this knowledge graph. Call at session start.

session_startB

Signal session start and get initial context. Returns quick_start guide with tool usage. IMPORTANT: If memory is empty, ask user whether to use project-local or global memory scope.

session_endB

Signal session end, optionally save summary

find_similarA

Find entities with similar names (potential duplicates). Use before creating to check for existing entities. Returns similarity scores — consider merging if >0.85.

find_orphansA

Find entities with no relations (likely incomplete). Orphans should be connected, merged into another entity, or deleted.

merge_entitiesA

Merge source entity into target. Source's observations and relations move to target, then source is deleted. Use to consolidate duplicates (e.g., merge 'ReactJS' into 'React').

get_graph_healthA

Assess knowledge graph quality. Returns: orphan count, potential duplicates, overloaded entities, weak relations. Run periodically to maintain graph hygiene. Use full=true for deep duplicate detection (slower).

suggest_relationsA

Suggest potential relations for an entity based on semantic similarity and co-occurrence. Useful for connecting newly created entities or discovering missing links.

clear_graphA

Clear ALL entities and relations from the graph. Use sparingly! For graphs with >10 entities: requires reason AND confirm_token. Event-sourced: can rewind to before clear with get_state_at(timestamp).

reloadA

Reload graph state from mnemograph.db on disk. Use after: git operations (checkout, restore), external edits to mnemograph.db, or any time MCP server seems out of sync.

rewindA

Rewind graph to a previous state using git. Fast undo, audit trail in git only. For audit-preserving restore, use restore_state_at() instead.

restore_state_atA

Restore graph to state at a specific timestamp. Emits clear + recreate events — full audit trail preserved. Use get_state_at() first to preview what will be restored.

branch_listA

List all memory branches. Branches are filtered views of the knowledge graph. Main branch sees everything; other branches see filtered subsets.

branch_currentA

Get the name and details of the currently active branch.

branch_createB

Create a new branch with seed entities. Uses BFS to expand from seeds to N-hop neighbors. Branch names follow format: / where type is project|feature|domain|spike|archive.

branch_checkoutA

Switch to a different branch. Changes what entities/relations are visible in queries. Use 'main' to see everything.

branch_addA

Add entities to the current branch. Only works on non-main branches. Optionally includes relations between added entities.

branch_diffA

Show differences between two branches. Returns entities and relations that are only in one branch vs the other, plus what's common to both.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/tm42/mnemograph'

If you have feedback or need assistance with the MCP directory API, please join our Discord server