Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Mengram MCP server

by alibaizhanov/mengramApache-2.0 licenceAudited 6 Oct 2026 · source 68e66482cf91

npm mengram 0.2.0stdiostreamable-http★ 204
✕BLOCKGrade D · 61/100 · 6 Oct 2026 · 68e6648

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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score61/100✕BLOCK D
0 critical3 high10 medium12 low1 info

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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
print(f"API key: {api_key}")
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · cli.py:2261
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
print(f"  API key: {api_key}")
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · cli.py:2337
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
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
LOWInventory / provenanceinv.hidden_file · vscode-mengram/.vscodeignore
F-13 Inventory / provenanceCWE-1104Layer L0
.vscodeignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInsecure cryptocrypto.weak_hash · local/resume.py:103
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
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
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
<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
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
<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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
mengram-ai, python-dotenv
Why
2 requirement(s) not pinned with ==
Fix
pin exact versions
LOWSupply chainsupply.unpinned · examples/devops-agent/requirements.txt
F-08 Supply chainCWE-829 · CWE-1357Layer L1
mengram-ai, python-dotenv
Why
2 requirement(s) not pinned with ==
Fix
pin exact versions
LOWSupply chainsupply.unpinned · examples/personal-assistant/requirements.txt
F-08 Supply chainCWE-829 · CWE-1357Layer L1
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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
mengram-ai
Why
1 requirement(s) not pinned with ==
Fix
pin exact versions
LOWSupply chainsupply.unpinned · obsidian-plugin/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
<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

21 read9 write2 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.

ToolWhat it doesRisk
archive_factArchive 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_entityDelete an entity and all its data (facts, relations, knowledge). Use when user explicitly asks to remove something from memory.destructive
checkpointSave a session checkpoint — summarize key decisions, learnings, and outcomes from this conversation. Lighter thanwrite
dedupFind and automatically merge duplicate entities. Scans all entities and merges near-duplicates (e.g.write
dismiss_triggerDismiss a smart trigger without firing its webhook. Use when user wants to ignore or snooze a trigger notification.write
merge_entitiesMerge two entities into one — combines facts, relations, and knowledge. Use when there are duplicate entities (e.g.write
reflectTrigger AI reflection on memories — analyzes facts to find patterns, insights, and connections. Use when user askswrite
rememberSave 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_textSave 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_agentsRun memory agents that analyze, clean, and find patterns in memory. Usewrite
search_proceduresSearch procedures by name, trigger, or step content.write
askGet a synthesized answer to a question, grounded in the userread
context_forGet 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 thanread
fix_entity_typeFix an entityread
generate_rules_fileGenerate 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_entityGet details of a specific entity — facts, relations, knowledge. Use when user asks about a specific person, project, or concept by name.read
get_feedGet activity feed — recent memory changes and events. Use when user asksread
get_graphGet the knowledge graph — all entities and their relationships. Use when user asksread
get_insightsGet AI-generated insights about the user — patterns, connections, reflections from memory analysis. Call this when user asksread
get_reflectionsGet AI-generated reflections (insights and patterns found across memories). Optional scope filter:read
get_triggersList smart triggers — reminders, contradictions detected, and patterns. Use when user asksread
list_episodesList or search episodic memories (events, interactions, experiences). Use when user asksread
list_memoriesList all stored memory entities with their types and fact counts. Use when user asksread
list_proceduresList learned workflows/procedures from memory. Use when user asksread
procedure_feedbackRecord 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_historyShow how a procedure evolved over time — all versions and what changed. Use when user asksread
recallSemantic search through the userread
recall_allRecall EVERYTHING from memory vault.read
searchAdvanced structured search — returns entities with relevance scores, facts, and knowledge snippets. Use instead ofread
search_allUnified search across ALL memory types — semantic, episodic, and procedural. Best for broad queries that might match different memory types.read
timelineSearch memory by time. Use when user asksread
vault_statsGet memory vault statistics — total entities, facts, relations, knowledge items, and storage usage. Use when user asksread

Audit history

  1. ✕BLOCK D 61 / 100

    First audit · 68e66482cf91

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

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?
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.
What tools does Mengram expose?
32 in total: 21 read-only, 9 that write, and 2 that can delete or overwrite (archive_fact, delete_entity). Every one is listed on this page with its risk.
Is Mengram safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (61/100) and found 3 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Mengram need?
It reads ANTHROPIC_API_KEY, COHERE_API_KEY, GITHUB_CLIENT_SECRET, MENGRAM_API_KEY, MOONSHOT_API_KEY, OAUTH_REDIRECT_ALLOWLIST, OPENAI_API_KEY, PADDLE_API_KEY, PADDLE_WEBHOOK_SECRET and RESEND_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Mengram run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as mengram at 0.2.0.
How current is this page?
The grade is for one exact copy of the source (68e66482cf91), read on 2026-10-06. The repository is watched and re-audited when it changes.
I already installed Mengram. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

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.