MCP server · Audited from source
Persistent AI Memory MCP server
by savantskie/persistent-ai-memoryMIT licenceAudited 6 Oct 2026 · source 9b1092369159
Is it safe? No — BLOCK, grade D (69/100). It exposes 38 tools: 28 read, 9 write and 1 destructive. The audit recorded 21 findings (0 critical, 2 high, 1 medium, 18 low). Maintainer's description: A persistent local memory for AI, LLMs, or Copilot in VS Code.
Cite
Cite this page
ModelsAtlas. “Persistent AI Memory MCP server (savantskie/persistent-ai-memory)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/savantskie/persistent-ai-memory
Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Code injection at ai_memory_short_term.py:692. 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
21 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
- FilesystemDeclared4 observations
- NetworkDeclared5 observations
- ShellDeclared1 observation
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Findings (21)
Sorted by severity
HIGHCode injectioncode.deserialize · ai_memory_short_term.py:692
embedding = pickle.loads(row[0])
- Why
- deserialises untrusted bytes into live objects
- Fix
- use json or yaml.safe_load
HIGHPrompt injectionprompt.credential_read · <tool:get_weather_open_meteo>:1
Open-Meteo forecast (no API key). Defaults to configured location and caches once per local day.
- Why
- asks the agent to read credentials
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
delete_reminder
- Why
- 1 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injectioncode.dynamic_import · tests/test_health_check.py:71
__import__(module_name)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · ai_memory_core.py:377
content_hash = hashlib.md5(f"{content}:{role}:{session_id}".encode()).hexdigest()- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · ai_memory_core.py:2357
content_hash = hashlib.md5(msg_content.encode()).hexdigest()
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · ai_memory_core.py:2419
content_hash = hashlib.md5(msg_content.encode()).hexdigest()
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · ai_memory_core.py:2472
content_hash = hashlib.md5(msg_content.encode()).hexdigest()
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · ai_memory_core.py:2536
content_hash = hashlib.md5(msg_content.encode()).hexdigest()
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:214
"api_url": "http://127.0.0.1:11434",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:233
"api_url": "http://127.0.0.1:11434",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:270
"embedding_api_endpoint_url": "http://127.0.0.1:11434"
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:285
"embedding_api_endpoint_url": "http://127.0.0.1:11434"
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:395
"api_url": "http://127.0.0.1:11434",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.authority_framing · TROUBLESHOOTING.md:264
# Or: Full permissions (less secure)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.persistence · TROUBLESHOOTING.md:343
# Make permanent (add to ~/.bashrc or ~/.zshrc)
- Why
- instructs the agent to persist itself in the user's environment
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · CONFIGURATION.md:371
curl https://ollama.ai/install.sh | sh
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · INSTALL.md:34
curl -sSL https://raw.githubusercontent.com/savantskie/persistent-ai-memory/main/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · INSTALLATION_COMPLETE.md:10
curl -sSL https://raw.githubusercontent.com/savantskie/persistent-ai-memory/main/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · INSTALLATION_COMPLETE.md:73
curl -sSL https://raw.githubusercontent.com/savantskie/persistent-ai-memory/main/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · REDDIT_QUICKSTART.md:22
curl -sSL https://raw.githubusercontent.com/savantskie/persistent-ai-memory/main/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
38 declared in source · 1 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.
| Tool | What it does | Risk |
|---|---|---|
delete_reminder | Permanently delete a reminder | destructive |
create_appointment | Create an appointment, optionally recurring (e.g., weekly mental health appointments) | write |
create_memory | Create a curated memory entry | write |
create_reminder | Create a reminder or multiple recurring reminders | write |
reschedule_reminder | Update the due date of a reminder | write |
save_development_session | Save VS Code development session context | write |
store_ai_reflection | Store an AI self-reflection/insight record (manual write) | write |
trigger_database_maintenance | Manually trigger database maintenance (archival, repairs, optimization) outside of the regular 6-hour schedule | write |
update_memory | Update an existing curated memory | write |
write_ai_insights | Alias of store_ai_reflection — write an AI self-reflection/insight record | write |
cancel_appointment | Cancel a scheduled appointment | read |
complete_appointment | Mark an appointment as completed | read |
complete_reminder | Mark a reminder as completed | read |
export_all_tool_calls | Export all tool calls from current and archived databases for LORA training dataset generation (web-only, not for models) | read |
get_active_reminders | Get active (not completed) reminders | read |
get_ai_insights | Get recent AI self-reflection insights and patterns | read |
get_appointments | Get recent appointments, optionally filtered by date range | read |
get_character_context | Get relevant context about characters from memory | read |
get_completed_reminders | Get recently completed reminders | read |
get_conversation_context | Retrieve conversation context linked to a memory in three modes: snippet (4 msgs before/after), summary (count, date range, first/last msgs), or full (all messages) | read |
get_current_time | Get the current server time in ISO format (UTC and local) | read |
get_project_continuity | Get context to continue development work | read |
get_recent_context | Get recent conversation context from the last N days | read |
get_reminders | Get recent reminders, optionally filtered by date range | read |
get_system_health | Get comprehensive system health, statistics, and database status | read |
get_tool_information | Get tool usage statistics OR tool documentation. Pass mode= | read |
get_upcoming_appointments | Get upcoming appointments (not cancelled) | read |
get_weather_open_meteo | Open-Meteo forecast (no API key). Defaults to configured location and caches once per local day. | read |
link_code_context | Link conversation to specific code context | read |
list_available_memory_banks | Get list of available memory banks with memory counts per bank | read |
list_available_tags | Get list of available tags from registry with their canonical forms, variations, and usage counts | read |
reflect_on_tool_usage | AI self-reflection on tool usage patterns and effectiveness | read |
search_memories | Search memories using semantic similarity with importance and type filtering, or direct ID lookup. Searches across long-term curated memories, short-term memories, conversations, and schedule. Either | read |
search_project_history | Search VS Code project development history | read |
search_roleplay_history | Search past roleplay interactions and character development | read |
store_conversation | Store conversation automatically | read |
store_project_insight | Store development insight or decision | read |
store_roleplay_memory | Store important roleplay moments or character developments | read |
Safer alternatives
All memory & knowledge servers →spences10/mcp-memory-libsql
🧠 High-performance persistent memory system for Model Context Protocol (MCP) powered by libSQL. Features vector search, semantic knowledge storage, and efficient relationship management - perfect for AI agents and knowledge graph applications.
needle-ai/needle-mcp
Needle MCP Server for easy RAG.Long-term memory for LLMs.
scarletkc/vexor
A semantic search engine for files and code.
Audit history
- ✕BLOCK D 69 / 100
First audit ·
9b1092369159
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 Persistent AI Memory MCP server
What is the Persistent AI Memory MCP server?
What tools does Persistent AI Memory expose?
Is Persistent AI Memory safe to connect to an agent?
What credentials does Persistent AI Memory need?
How does Persistent AI Memory run?
How current is this page?
I already installed Persistent AI Memory. What should I do?
Can the verdict change?
Sources
- savantskie/persistent-ai-memory on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 9b1092369159Observed · 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 Persistent AI Memory MCP server?
- What tools does Persistent AI Memory expose?
- Is Persistent AI Memory safe to connect to an agent?