MCP server · Audited from source
Mengram MCP server
by alibaizhanov/mengramApache-2.0 licenceAudited 6 Oct 2026 · source 68e66482cf91
Is it safe? No — BLOCK, grade D (61/100). It exposes 32 tools: 21 read, 9 write and 2 destructive. The audit recorded 26 findings (0 critical, 3 high, 10 medium, 12 low). Maintainer's description: Human-like memory for AI agents — semantic, episodic & procedural. Experience-driven procedures that learn from failures. Free API, Python & JS SDKs, LangChain, CrewAI & OpenClaw integrations.
Cite
Cite this page
ModelsAtlas. “Mengram MCP server (alibaizhanov/mengram)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/alibaizhanov/mengram
Why this is BLOCK. The audit found 0 critical and 3 high findings; the most severe is Network egress at cloud/api.py:317. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
26 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared3 observations
- NetworkDeclared12 observations
- ShellDeclared1 observation
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
Findings (26)
Sorted by severity · the 25 most severe of 26 are listed
HIGHNetwork egressnet.metadata_ip · cloud/api.py:317
if hostname in ("localhost", "0.0.0.0", "metadata.google.internal") or hostname.endswith(".internal") or hostname.endswith(".local"):- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
HIGHNetwork egressnet.metadata_ip · cloud/store/_webhooks.py:182
if hostname in ("localhost", "0.0.0.0", "metadata.google.internal") or hostname.endswith(".internal") or hostname.endswith(".local"):- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
HIGHHard-coded secretssecret.db_uri · docker-compose.yml:38
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · cli.py:1886
print(f"API key: {api_key}")- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · cli.py:2261
print(f" API key: {api_key[:10]}...{api_key[-4:]}")- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · cli.py:2329
print(f" API key: {api_key}")- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · cli.py:2337
print(f' export MENGRAM_API_KEY="{api_key}"')- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · cloud/api.py:6333
or f"http://127.0.0.1:{os.environ.get('PORT', '8000')}"- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · cloud/api.py:6397
or f"http://127.0.0.1:{os.environ.get('PORT', '8000')}"- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · cloud/api.py:6454
logger.info(f" http://0.0.0.0:{port}")- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · local/resume_page.py:87
url = f"http://127.0.0.1:{srv.server_port}/"- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · cloud/dashboard.html:4340
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
archive_fact, delete_entity
- Why
- 2 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInsecure cryptocrypto.weak_hash · local/resume.py:103
return hashlib.sha1(base.encode("utf-8")).hexdigest()[:16]- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · local/resume.py:228
return hashlib.sha1(raw.encode("utf-8")).hexdigest()[:12]- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/test_cli.py:12
monkeypatch.setenv("MENGRAM_URL", "http://192.168.2.99:8420/")- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.base64_blob · README.md:4
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/badge/Mengram-a855f7?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmci
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.base64_blob · README.md:5
<img alt="Mengram" src="https://img.shields.io/badge/Mengram-a855f7?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAgMTIwI
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · examples/customer-support-agent/requirements.txt
mengram-ai, python-dotenv
- Why
- 2 requirement(s) not pinned with ==
- Fix
- pin exact versions
LOWSupply chainsupply.unpinned · examples/devops-agent/requirements.txt
mengram-ai, python-dotenv
- Why
- 2 requirement(s) not pinned with ==
- Fix
- pin exact versions
LOWSupply chainsupply.unpinned · examples/personal-assistant/requirements.txt
mengram-ai, langchain-openai, python-dotenv
- Why
- 3 requirement(s) not pinned with ==
- Fix
- pin exact versions
LOWSupply chainsupply.unpinned · examples/procedural-memory-demo/requirements.txt
mengram-ai
- Why
- 1 requirement(s) not pinned with ==
- Fix
- pin exact versions
LOWSupply chainsupply.unpinned · obsidian-plugin/package.json
@types/node, builtin-modules, obsidian
- Why
- 3 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · cloud/for-agents.html:87
<div class="card"><h3>Server-side extraction</h3><p>Send raw conversation turns — facts, events, and workflows are extracted, deduplicated, and contradiction-checked for you. No prompt engineering.</p
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Tools it exposes
32 declared in source · 2 destructive
2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | What it does | Risk |
|---|---|---|
archive_fact | Archive a specific fact on an entity — soft-delete without removing the entity. Use when a fact is outdated, wrong, or no longer relevant. | destructive |
delete_entity | Delete an entity and all its data (facts, relations, knowledge). Use when user explicitly asks to remove something from memory. | destructive |
checkpoint | Save a session checkpoint — summarize key decisions, learnings, and outcomes from this conversation. Lighter than | write |
dedup | Find and automatically merge duplicate entities. Scans all entities and merges near-duplicates (e.g. | write |
dismiss_trigger | Dismiss a smart trigger without firing its webhook. Use when user wants to ignore or snooze a trigger notification. | write |
merge_entities | Merge two entities into one — combines facts, relations, and knowledge. Use when there are duplicate entities (e.g. | write |
reflect | Trigger AI reflection on memories — analyzes facts to find patterns, insights, and connections. Use when user asks | write |
remember | Save knowledge from a conversation to memory — pass message pairs and the AI extracts entities, facts, relations, episodes, and procedures. Use after meaningful exchanges where the user shares personal info, preferences, decisions, or technical context worth remembering. | write |
remember_text | Save plain text to memory — the AI extracts entities, facts, and relations automatically. Use when user shares a note, snippet, URL content, or any freeform text to remember. | write |
run_agents | Run memory agents that analyze, clean, and find patterns in memory. Use | write |
search_procedures | Search procedures by name, trigger, or step content. | write |
ask | Get a synthesized answer to a question, grounded in the user | read |
context_for | Get relevant memory context for a specific task. Returns a compact context pack: related entities, procedures, and past events. Use at the START of a new task to load relevant background. More focused than | read |
fix_entity_type | Fix an entity | read |
generate_rules_file | Generate a CLAUDE.md, .cursorrules, or .windsurfrules file from memory. Creates structured project rules, conventions, tech stack, workflows, and known issues — perfect for AI coding assistants. Output can be saved directly to a file. | read |
get_entity | Get details of a specific entity — facts, relations, knowledge. Use when user asks about a specific person, project, or concept by name. | read |
get_feed | Get activity feed — recent memory changes and events. Use when user asks | read |
get_graph | Get the knowledge graph — all entities and their relationships. Use when user asks | read |
get_insights | Get AI-generated insights about the user — patterns, connections, reflections from memory analysis. Call this when user asks | read |
get_reflections | Get AI-generated reflections (insights and patterns found across memories). Optional scope filter: | read |
get_triggers | List smart triggers — reminders, contradictions detected, and patterns. Use when user asks | read |
list_episodes | List or search episodic memories (events, interactions, experiences). Use when user asks | read |
list_memories | List all stored memory entities with their types and fact counts. Use when user asks | read |
list_procedures | List learned workflows/procedures from memory. Use when user asks | read |
procedure_feedback | Record success or failure for a procedure. ALWAYS use this when the user reports that a workflow worked or failed. On failure with context, the system automatically evolves the procedure to a new improved version. | read |
procedure_history | Show how a procedure evolved over time — all versions and what changed. Use when user asks | read |
recall | Semantic search through the user | read |
recall_all | Recall EVERYTHING from memory vault. | read |
search | Advanced structured search — returns entities with relevance scores, facts, and knowledge snippets. Use instead of | read |
search_all | Unified search across ALL memory types — semantic, episodic, and procedural. Best for broad queries that might match different memory types. | read |
timeline | Search memory by time. Use when user asks | read |
vault_stats | Get memory vault statistics — total entities, facts, relations, knowledge items, and storage usage. Use when user asks | read |
Safer alternatives
All memory & knowledge servers →ourmem/omem
Shared Memory That Never Forgets — persistent memory for AI agents with Space-based sharing across agents and teams. Plugins for OpenCode, Claude Code, OpenClaw, MCP Server.
webzler/agentmemory
Eliminate AI hallucinations. Zero config. Works instantly with Cline, RooCode, KiloCode, and more.
shaneholloman/mcp-knowledge-graph
MCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development
Audit history
- ✕BLOCK D 61 / 100
First audit ·
68e66482cf91
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about Mengram MCP server
What is the Mengram MCP server?
What tools does Mengram expose?
Is Mengram safe to connect to an agent?
What credentials does Mengram need?
How does Mengram run?
How current is this page?
I already installed Mengram. What should I do?
Can the verdict change?
Sources
- alibaizhanov/mengram on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 68e66482cf91Observed · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Mengram MCP server?
- What tools does Mengram expose?
- Is Mengram safe to connect to an agent?