Agent Memory MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Agent Memory MCPcreate a global memory about my coding preferences"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-mcpRelated 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-mcpOptional 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 a global or repo-scoped memory |
| Read one memory |
| Read global + repo memories for a repo |
| Update description and/or content |
| Delete a memory |
| 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.mdDevelopment
git clone https://github.com/MSR806/agent-memory-mcp.git
cd agent-memory-mcp
npm install
npm test
npm run build
npm startPublish
npm login
npm publish --access publicMaintenance
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