Skip to main content
Glama
MSR806

Agent Memory MCP

by MSR806

Agent Memory MCP

Standalone MCP server for agent-maintained memories.

Memories are stored under ~/.agents/memories by default. Set AGENT_MEMORY_ROOT to use another directory.

Install

npx -y @msr0806/agent-memory-mcp

Related MCP server: memex

Cursor / Claude Desktop

{
  "mcpServers": {
    "agent-memory": {
      "command": "npx",
      "args": ["-y", "--package=@msr0806/agent-memory-mcp", "agent-memory-mcp"]
    }
  }
}

If npx fails with command not found, clear the cache and retry:

npx clear-npx-cache
npx -y --package=@msr0806/agent-memory-mcp agent-memory-mcp

Optional custom storage path:

{
  "mcpServers": {
    "agent-memory": {
      "command": "npx",
      "args": ["-y", "@msr0806/agent-memory-mcp"],
      "env": {
        "AGENT_MEMORY_ROOT": "/path/to/memories"
      }
    }
  }
}

Tools

Tool

Description

create_memory

Create a global or repo-scoped memory

read_memory

Read one memory

read_memories

Read global + repo memories for a repo

update_memory

Update description and/or content

delete_memory

Delete a memory

list_memories

List memory metadata

Scopes

  • global — shared across all repos (e.g. coding preferences)

  • repo — scoped to a repo name (e.g. project-gilly)

Storage layout

~/.agents/memories/
  global/
    coding-style/MEMORY.md
  repos/
    project-gilly/
      mvp-scope/MEMORY.md

Development

git clone https://github.com/MSR806/agent-memory-mcp.git
cd agent-memory-mcp
npm install
npm test
npm run build
npm start

Publish

npm login
npm publish --access public
Install Server
A
license - permissive license
B
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MSR806/agent-memory-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server