fellowgeek/mcp-memory
An OKF-backed Model Context Protocol (MCP) server delivering persistent long-term memory and SQLite FTS5 search for AI agents.
a50a87708628Paths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 6 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
memory_delete, memory_store, memory_update_lastmemory_get_last, memory_retrieve, memory_search, memory_store, memory_update_lastmemory_delete, memory_get_last, memory_retrieve, memory_search, memory_store, memory_update_lastNo tool was seen to: start other programs on the machine; read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files3 tools · memory_delete, memory_store, memory_update_last
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (6: 6 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
memory_deletetool Removes a specific memory entry.FilesEnv varsoutside text
Removes a specific memory entry.
Parameters:
key: The key of the memory to remove.
project_root: REQUIRED. Absolute path to active project root directory.
namespace: Logical namespace (default: 'default').memory_get_lasttool AGENT DIRECTIVE - SESSION INITIALIZATION:NetworkEnv vars
AGENT DIRECTIVE - SESSION INITIALIZATION:
Call this tool FIRST when starting work or opening a project session to retrieve the last recorded session checkpoint ('system/last_memory') and understand where work was left off.
Parameters:
project_root: REQUIRED. Absolute path to active project root directory.
namespace: Logical namespace (default: 'default').memory_retrievetool Retrieves a specific memory record by key.NetworkEnv vars
Retrieves a specific memory record by key.
Parameters:
key: The exact memory key to look up (e.g. 'system/last_memory' for session checkpoint).
project_root: REQUIRED. Absolute path to active project root directory.
namespace: Logical namespace (default: 'default').memory_searchtool Searches persistent memories matching keywords, tags, or namespace patterns.NetworkEnv vars
Searches persistent memories matching keywords, tags, or namespace patterns.
Parameters:
project_root: REQUIRED. Absolute path to active project root directory.
query: Search string for full-text search across keys, frontmatter, and content.
tags: Optional list of tags to filter by.
namespace: Optional namespace filter.
limit: Maximum number of results to return (default: 10).memory_storetool Stores or updates a persistent memory record in Open Knowledge Format (OKF v0.2).FilesNetworkEnv varsoutside text
Stores or updates a persistent memory record in Open Knowledge Format (OKF v0.2).
Parameters:
key: Unique identifier or path for the memory (e.g. 'user/preferences/coding_style' or 'system/last_memory').
content: The core information to store (string text or structured dictionary).
project_root: REQUIRED. Absolute path to active project root directory.
tags: Optional classification tags for filtering (e.g. ['preferences', 'user']).
namespace: Logical separation for contexts or users (default: 'default').
concept_type: OKF concept type (default: 'Agent Memory'). Options: 'Agent Memory', 'Checkpoint', 'Metric', 'Playbook', etc.
title: Human-readable display name.
description: Single-sentence summary of the concept.
resource: Canonical URI for the underlying asset.
status: Lifecycle status ('draft' | 'stable' | 'deprecated'). Default: 'stable'.
stale_after: ISO date ('YYYY-MM-DD') when memory becomes stale.
sources: Provenance sources list [{resource, id, title, author, usage_count, last_modified}].
usage_window: Sources usage window framing {from, to}.
verified: Verification events list or mapping [{by, at}].
generated_by: Actor identifier string following actor convention ('<producer>/<version>', 'human:<id>', 'process:<id>').
runtime: For Attested Computation concepts ('bigquery', 'postgres', 'dbt', 'python').
parameters: For Attested Computation concepts [{name, type, required}].
executor: For Attested Computation concepts {resource, receipt}.
attester: For Attested Computation concepts {resource}.
computation: Path to external computation file.memory_update_lasttool AGENT DIRECTIVE - MILESTONE & SESSION CHECKPOINTING:FilesNetworkEnv varsoutside text
AGENT DIRECTIVE - MILESTONE & SESSION CHECKPOINTING:
Call this tool whenever completing a milestone, making key project changes, or pausing work to update the canonical project checkpoint ('system/last_memory') so future sessions know where work was left off.
Parameters:
content: Brief note or structured dictionary summarizing progress and referencing key memory files (e.g. '[Goal Progress](/agent/goal.md)').
project_root: REQUIRED. Absolute path to active project root directory.
namespace: Logical namespace (default: 'default').
summary: Optional one-sentence description of the milestone achieved.Text the model reads (6)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
memory_get_last tool
AGENT DIRECTIVE - SESSION INITIALIZATION:
Call this tool FIRST when starting work or opening a project session to retrieve the last recorded session checkpoint ('system/last_memory') and understand where work was left off.
Parameters:
project_root: REQUIRED. Absolute path to active project root directory.
namespace: Logical namespace (default: 'default').memory_update_last tool
AGENT DIRECTIVE - MILESTONE & SESSION CHECKPOINTING:
Call this tool whenever completing a milestone, making key project changes, or pausing work to update the canonical project checkpoint ('system/last_memory') so future sessions know where work was left off.
Parameters:
content: Brief note or structured dictionary summarizing progress and referencing key memory files (e.g. '[Goal Progress](/agent/goal.md)').
project_root: REQUIRED. Absolute path to active project root directory.
namespace: Logical namespace (default: 'default').
summary: Optional one-sentence description of the milestone achieved.memory_store tool
Stores or updates a persistent memory record in Open Knowledge Format (OKF v0.2).
Parameters:
key: Unique identifier or path for the memory (e.g. 'user/preferences/coding_style' or 'system/last_memory').
content: The core information to store (string text or structured dictionary).
project_root: REQUIRED. Absolute path to active project root directory.
tags: Optional classification tags for filtering (e.g. ['preferences', 'user']).
namespace: Logical separation for contexts or users (default: 'default').
concept_type: OKF concept type (default: 'Agent Memory'). Options: 'Agent Memory', 'Checkpoint', 'Metric', 'Playbook', etc.
title: Human-readable display name.
description: Single-sentence summary of the concept.
resource: Canonical URI for the underlying asset.
status: Lifecycle status ('draft' | 'stable' | 'deprecated'). Default: 'stable'.
stale_after: ISO date ('YYYY-MM-DD') when memory becomes stale.
sources: Provenance sources list [{resource, id, title, author, usage_count, last_modified}].
usage_window: Sources usage window framing {from, to}.
verified: Verification events list or mapping [{by, at}].
generated_by: Actor identifier string following actor convention ('<producer>/<version>', 'human:<id>', 'process:<id>').
runtime: For Attested Computation concepts ('bigquery', 'postgres', 'dbt', 'python').
parameters: For Attested Computation concepts [{name, type, required}].
executor: For Attested Computation concepts {resource, receipt}.
attester: For Attested Computation concepts {resource}.
computation: Path to external computation file.memory_retrieve tool
Retrieves a specific memory record by key.
Parameters:
key: The exact memory key to look up (e.g. 'system/last_memory' for session checkpoint).
project_root: REQUIRED. Absolute path to active project root directory.
namespace: Logical namespace (default: 'default').memory_search tool
Searches persistent memories matching keywords, tags, or namespace patterns.
Parameters:
project_root: REQUIRED. Absolute path to active project root directory.
query: Search string for full-text search across keys, frontmatter, and content.
tags: Optional list of tags to filter by.
namespace: Optional namespace filter.
limit: Maximum number of results to return (default: 10).memory_delete tool
Removes a specific memory entry.
Parameters:
key: The key of the memory to remove.
project_root: REQUIRED. Absolute path to active project root directory.
namespace: Logical namespace (default: 'default').What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 6 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 6 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 6 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 6 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 6 tool handlers traced
- Tools that start processesNot seen in the traced code of 6 capabilities; 6 more call code the scanner could not follow, where it may happen
- Tools that touch files3 of 6 capabilities touch files; 3 more call code the scanner could not follow, where it may happen
- Tools that call the network5 of 6 capabilities call the network; 1 more call code the scanner could not follow, where it may happen
Where the code is: 6 handlers in 1 file at commit a50a87708628
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: requirements.txt
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 2 not resolved: requirements.txt: 2 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile; setup.py: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionfastmcp <=3
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 6 capabilities; 6 more call code the scanner could not follow, where it may happen
- Environment variables6 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | fastmcp <=3 |
| Servers in the code | 1 (MCP-Memory) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-08-30 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | MIT |
| Created | 2026-08-13 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.