Skip to content

MCP setupWorkflow

Memory MCP Server

Give your agent a persistent knowledge graph of people, projects and decisions that survives between sessions, stored in one local JSONL file.

npx workspacetemplates add memory-mcp --tool claude-code

Writes 1 file to your project root

.mcp.jsonmerge into your file14 lines · 230 BFile
{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ],
      "env": {
        "MEMORY_FILE_PATH": "${MEMORY_FILE_PATH}"
      }
    }
  }
}

What it does

The memory server keeps a graph made of entities, the observations attached to them, and directed relations between them. Tools such as create_entities, add_observations, search_nodes and read_graph let the agent write and recall facts.

Everything lives in a single JSONL file on your disk. Point MEMORY_FILE_PATH at a folder you own, because a file inside the npx cache can be wiped when packages update.

It needs Node.js 24 or later and no account.

Example

you › Remember that the billing service owns the invoices table and is maintained by the payments team.

agent › Created entities billing-service and payments-team, added the observation that billing-service owns the invoices table, and linked the two with a maintained_by relation.

Questions

Where is my data kept?
In the JSONL file named by MEMORY_FILE_PATH. Nothing is sent to a cloud service, and you can open the file in any editor or back it up.
Can two agents share it?
Yes, if both use the same file path. Writes take a lock file next to the memory file, so they do not corrupt each other.
How do I start over?
Delete or move the JSONL file, or ask the agent to remove entities with delete_entities.
  • Asana MCP Server

    MCP setupWorkflow

    Free
  • Atlassian MCP Server

    MCP setupWorkflow

    Free
  • Brave Search MCP Server

    MCP setupWorkflow

    Free
  • ClickUp MCP Server

    MCP setupWorkflow

    Free