Model Context Protocol (POST /mcp)

25+ MCP Memory Tools

RustGraph implements Streamable HTTP MCP supporting protocol versions 2025-06-18, 2025-03-26, and 2024-11-05.

Example JSON-RPC Call — memory_project_context (with historical as_of)
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "memory_project_context",
    "arguments": {
      "group_id": "rustgraph",
      "as_of": "2026-10-06T00:00:00Z"
    }
  }
}
memory_project_contextcontext

Entry point: returns the full project tree with current facts and edge IDs, or historical state via as_of.

memory_meaning_searchcontext

PC-side semantic search blending AI-supplied related words with optional local Ollama vector similarity.

memory_searchcontext

Keyword and prefix FTS5 search with related terms (also), vector similarity, and include_ended history.

memory_get_entitycontext

Read full details and active attributes for a single entity in the knowledge graph.

memory_timelinecontext

Inspect the complete chronological history of facts and status transitions for any entity.

memory_get_episodecontext

Retrieve a saved coding session note (episode) linked to a project group.

memory_changes_sincecontext

List everything added, ended, or modified in a project since a specific date.

memory_exportcontext

Export every entity and edge ID in a project group for backup or migration.

memory_batchwrite

Execute multiple graph writes in a single atomic SQLite transaction (all or nothing).

memory_add_modulewrite

Register a new codebase module under the active project in one MCP call.

memory_add_featurewrite

Attach a feature with its current status and timestamp to a project module.

memory_add_itemwrite

Record a project todo, bug, or architectural decision in one call.

memory_upsert_entitywrite

Create or update a graph entity node with normalized naming.

memory_upsert_edgewrite

Create or update a typed relationship edge between two entities.

memory_ingestwrite

Store a structured session note as an episode in the vault.

memory_suggestwrite

Rule-based parser that proposes entities, facts, todos, bugs, and decisions from raw notes without writing.

memory_supersedetemporal

Replace an outdated fact while preserving the previous version as historical truth.

memory_invalidatetemporal

Mark a fact as ended with a timestamp without deleting its audit trail.

memory_set_statustemporal

Update a feature status while keeping full historical state transitions.

memory_close_itemtemporal

Close a todo or bug along with its resolution outcome.

memory_confirmtemporal

Re-confirm that existing facts, todos, or bugs are still true and current.

memory_cleanup_reporthygiene

Audit duplicates, look-alikes, conflicting facts, orphan nodes, and items unconfirmed for 14+ days.

memory_mergehygiene

Merge two duplicate entities into a single canonical node.

memory_undo_mergehygiene

Safely reverse a previous entity merge if needed.

memory_link_folderhygiene

Bind a local PC directory to a specific RustGraph project group ID.

memory_list_groupshygiene

List accessible project groups with node and edge counts (plus memory_move_to_group).

memory_embed_synchygiene

Sync pending local Ollama embeddings via memory_embeddings_pending and memory_embeddings_upsert.