MCP serverValidated

Memory MCP — a knowledge graph that survives the session

The reference memory server: a local knowledge graph the agent can write facts to and recall across sessions — useful for a learner building a picture of a codebase or a domain over weeks.

io.modelcontextprotocol/server-memoryOfficial docs →

A vetted listing, not an install — add the config to your MCP client yourself. CoSquared never writes MCP config.

Why this one

Recall across sessions turns one-off explanations into accumulating understanding — and this one is local-only by default.

How to use it

  1. 1Have the session store the concepts you learned, not just code facts
  2. 2Skim the stored graph occasionally — it is your outline

Client config

Placeholders only — bring your own values

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ]
    }
  }
}

Security notes

Everything the model chooses to remember is written to a local JSON file in plain text. Nothing leaves your machine, but do not let sessions store secrets in it, and exclude the file from dotfile syncing or backups you share.