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

MCP server · Audited from source

A-MEM MCP server

by diaaaj/a-mem-mcpMIT licenceAudited 8 Oct 2026 · source 45988a1f1369

PyPI a-mem 0.2.4stdio★ 35
✓SAFEGrade B · 89/100 · 8 Oct 2026 · 45988a1
35GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 8 tools: 5 read, 2 write and 1 destructive. The audit recorded 10 findings (0 critical, 0 high, 1 medium, 6 low). Maintainer's description: Self-evolving memory system for coding agents

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “A-MEM MCP server (diaaaj/a-mem-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/diaaaj/a-mem-3

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high1 medium6 low3 info

10 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

  • FilesystemDeclared1 observation
  • NetworkDeclared4 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainPASS 6 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner diaaajUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIa-mem at version 0.2.4
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push9 months agoActivity of the repository when we read it.
  • Source commit read45988a1f1369The audit covers exactly this commit, read on 8 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory8 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (10)

Sorted by severity

MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_memory_note
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWNetwork egressnet.raw_ip · tests/test_llm_backends.py:206
F-04 Network egressCWE-200 · CWE-319Layer L1
sglang_host="http://192.168.1.100",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/test_llm_backends.py:209
F-04 Network egressCWE-200 · CWE-319Layer L1
self.assertEqual(controller.llm.base_url, "http://192.168.1.100:8080")
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/test_llm_backends.py:247
F-04 Network egressCWE-200 · CWE-319Layer L1
sglang_host="http://10.0.0.1",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/test_llm_backends.py:251
F-04 Network egressCWE-200 · CWE-319Layer L1
self.assertEqual(memory_system.llm_controller.llm.sglang_host, "http://10.0.0.1")
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/test_llm_backends.py:253
F-04 Network egressCWE-200 · CWE-319Layer L1
self.assertEqual(memory_system.llm_controller.llm.base_url, "http://10.0.0.1:9999")
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · requirements.txt
F-08 Supply chainCWE-829 · CWE-1357Layer L1
sentence-transformers, chromadb, rank_bm25, nltk, transformers, litellm, numpy, scikit-learn
Why
9 requirement(s) not pinned with ==
Fix
pin exact versions
INFOInventory / provenanceinv.oversize · Figure/demo.gif
F-13 Inventory / provenanceCWE-1104Layer L0
Figure/demo.gif
Why
7681834 bytes not read
Fix
—
INFOPrompt injectionprompt.credential_read · INSTALL.md:97
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
1. Load configuration from `.env` file (or environment variables)
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · SETUP.md:165
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
cat .env | grep OPENAI_API_KEY
Why
asks the agent to read credentials
Fix
—

Tools it exposes

8 declared in source · 1 destructive

5 read2 write1 destructive

1 tool 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.

ToolRiskWhat it does
delete_memory_notedestructiveNo description in the source
add_memory_notewriteNo description in the source
update_memory_notewriteNo description in the source
check_task_statusreadNo description in the source
read_memory_notereadNo description in the source
search_memoriesreadNo description in the source
search_memories_agenticreadNo description in the source
search_memories_by_timereadNo description in the source

Install

Package version 0.2.4 · audited commit 45988a1

No connect command is recorded for this server yet. Follow the repository's own instructions, and read the findings above first.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · 45988a1f1369

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/diaaaj/a-mem-3/badge.svg)](https://modelsatlas.com/mcp/diaaaj/a-mem-3/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about A-MEM MCP server

What is the A-MEM MCP server?
Self-evolving memory system for coding agents
What tools does A-MEM expose?
8 in total: 5 read-only, 2 that write, and 1 that can delete or overwrite (delete_memory_note). Every one is listed on this page with its risk.
Is A-MEM safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does A-MEM need?
It reads OPENAI_API_KEY and OPENROUTER_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 A-MEM run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as a-mem.
How current is this page?
The grade is for one exact copy of the source (45988a1f1369), read on 2026-10-08. The repository is watched and re-audited when it changes.

Sources

  • diaaaj/a-mem-mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit 45988a1f1369Observed · 8 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.