MCP server · Model Context Protocol (reference server)
Memory MCP Server
The reference MCP server for persistent agent memory, storing entities and relations in a local knowledge graph across sessions.
What it is, and what it costs you
The memory server gives an agent state that survives the end of a session, modelled as a knowledge graph of entities, relations and observations stored locally. It is the reference implementation of a pattern almost every serious agent deployment eventually wants: not having to re-explain the same context every morning.
It also introduces a risk class the other servers in this directory do not have, and it deserves more attention than it usually gets. Memory is *writable by the agent* and *read automatically in future sessions*, which means an injection landed once can be made to persist. An attacker who gets a single instruction written into memory has achieved something closer to persistence than to a transient compromise — the payload is re-read in later sessions, in a different context, long after whatever page or issue delivered it has been forgotten.
The second issue is accumulation without review. Memory grows quietly, is rarely audited, and becomes a store of accreted assertions — some accurate, some stale, some wrong. Because the agent treats it as established fact rather than as retrieved content, an error written once propagates into decisions indefinitely, and the provenance of any given claim is usually unrecoverable.
Both problems point the same direction: memory needs the treatment of a data store, not a cache. Somewhere to look at what is in it, a way to correct it, and an expectation that it will be reviewed rather than trusted by default.
Capability profile
What this server can reach, and why a security team cares. These are capabilities the server has by design — derived from the publisher's documentation, not from a scan.
- persistent write
Content written during one session is read in all later ones. This is the persistence mechanism for an injected instruction.
- automatic read on session start
Stored content enters context without a user action, so nobody is prompted to evaluate it.
- local storage of accumulated context
Becomes an unreviewed store of business and personal detail on the machine's filesystem.
Restrict this before you roll it out
- Review memory contents periodically
It is a file. Read it. Stored assertions are treated as fact by every future session, so errors compound silently.
- Do not enable memory alongside untrusted content ingestion
A session that fetches arbitrary web pages and can also write persistent memory is the setup for a persistent injection.
- Keep the store out of shared and synced locations
Treat it as sensitive local data, not as something to sync across machines or commit.
Vincosha Assay assessment
not yet assessedWe have not published a scan verdict for Memory MCP Server.
Everything above is a capability profile compiled by hand from the publisher's own public documentation on 2026-07-25. It describes what this artifact can reach and what to restrict before rolling it out. It is not a security verdict, and it should not be read as one.
When Vincosha Assaypublishes an assessment for this artifact it will appear here with a verdict, the findings behind it, and the date it ran. We would rather leave this space empty than fill it with a guess — inventing a security verdict about somebody else's software would be both wrong and dangerous.
What an assessment covers
- prompt-injection patterns in descriptions and instructions
- credential reads and outbound egress in bundled code
- over-scoped permissions and manifest claims
- typosquatted and impersonating names
- tool-manifest drift since the last approval
- content hash against the version you approved
Sources
This profile was compiled from the publisher's own documentation. Products change — verify against the source before making a decision that depends on a specific detail.