mcp-engram
PyPI
v0.20.1
Published by hugfeature — no publish provenance, so origin is unverified, but the source is public: the repository link below is self-declared yet readable, so you can inspect the code before adopting it.
Durable Agent Runtime — append-only event log, replay-based recovery, cross-session task continuity, agent handoff. Local-first, zero cloud dependency.
The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.
1. Threat score — 100 − 6.3 = 94. What the published surface and source actually contain:
| Points | What was found | Category |
|---|---|---|
| −6.3 | Unsafe deserialization MTC-SRC-007 | permissions |
2. Client adoption risk — 94 − 7 = 87. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:
| Points | Adoption-risk factor |
|---|---|
| −6 | capability blast radius (high) — client exposure if the model is manipulated |
| −1 | publisher verification (public source) — no provenance, but the source is public and inspectable |
Capability observations and info notes are shown under Findings but never scored.
Open any row's finding below for the file, line and evidence behind a deduction.
Tool "spawn_subtask" appears to run shell commands or evaluate code (keyword "spawn" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.
Fix: Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.
Location: tool spawn_subtask
In the server's implementation (`src/engram/daemon.py:40`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: try: out = subprocess.check_output( ["ps", "-p", str(pid), "-o", "command="], text=True, timeou
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server src/engram/daemon.py
In the server's implementation (`src/engram/runtime/injector.py:69`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: try: out = subprocess.run( [git_path, *args], cwd=cwd, capture_output=T
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server src/engram/runtime/injector.py
In the server's implementation (`src/engram/shared.py:103`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: y: result = subprocess.run( cmd, capture_output=True, text=T
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server src/engram/shared.py
In the server's implementation (`src/engram/graph.py:63`): Deserializing untrusted data with these APIs can execute arbitrary code (a well-known RCE gadget class). This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: g = pickle.load(f) self._dirty = True # Mark pkl for deletion — will
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server src/engram/graph.py
Tool "spawn_subtask" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.
Fix: Declare accurate annotations, and gate destructive tools on user confirmation regardless.
Location: tool spawn_subtask
In a packaging/dev/install script (shipped, but not the server runtime) (`benchmark/locomo_eval.py:237`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: import subprocess subprocess.run(["curl", "-sL", "-o", str(path), DATA_URL], check=True) print(f" saved to {p
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server benchmark/locomo_eval.py
In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_lock_conflict.py:101`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: h / ".ready" proc = subprocess.Popen( [sys.executable, "-c", _HOLDER_SCRIPT, str(db_path), str(ready_path)],
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server tests/test_lock_conflict.py
Each tool and what it can reach — statically extracted from the published source.
spawn_subtaskruns code / shellconsolidate_memoryno sensitive capabilitycreate_taskno sensitive capabilitydetect_driftno sensitive capabilityend_executionno sensitive capabilityevaluate_continuityno sensitive capabilityget_runtime_healthno sensitive capabilityget_taskno sensitive capabilitylist_checkpointsno sensitive capabilitylist_tasksno sensitive capabilitymemory_statsno sensitive capabilityrecall_memoryno sensitive capabilityrecommend_recoveryno sensitive capabilityreport_interruptionno sensitive capabilityrestore_checkpointno sensitive capabilityretry_taskno sensitive capabilityscore_recoveryno sensitive capabilitysession_handoffno sensitive capabilitysession_outcomeno sensitive capabilitystart_executionno sensitive capabilitystore_memoryno sensitive capabilitytrace_executionno sensitive capabilitytrack_failureno sensitive capabilitytrack_progressno sensitive capabilityupdate_memoryno sensitive capabilityupdate_taskno sensitive capabilityScan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.
| Version | Score | Findings | Engine | Scanned |
|---|---|---|---|---|
v0.20.1 latest |
B 87/100 | 8 | 1.13.0 | 2026-08-25 |
Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.
The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.
npx mcptrustchecker scan mcp-engram --online --registry pypi
Independent packages implementing the same tool, scanned with the same engine. Compare all 12 side by side →
MCP server for cognitive knowledge graphs — models thought, emotion, reasoning, and episodic memory
MCP server for Engram: persistent memory for AI
Local-first memory and assertion ledger for AI coding agents. Confidence-weighted, contradiction-aware, token-budgeted context over MCP.
The permanent and semantic memory layer for AI agents
Persistent memory for Claude Code — survives context compaction
Give Claude a perfect memory. Local-first MCP server with hybrid search.
Hotel booking MCP server — 300K+ properties, real confirmation numbers, loyalty programs. Builders monetize every booking via Stripe Connect. The first MCP server that completes real hotel reservations inside AI conversations.
Manage AdGuard Home through AI assistants
Read-only Azure DevOps for MCP clients using only your existing browser session — no PAT, no Azure CLI. Browse work items, pull requests, comments, attachments and Artifacts feeds across every project, repo and feed you can access.
MCP server for Adobe Experience Manager Assets integration development
Servidor MCP para el tiempo oficial de España (API pública OpenData de AEMET). Predicción, observación y avisos como herramientas MCP tipadas.
A standalone MCP stdio bridge for Affinity by Canva's local MCP SSE server.