LeafMem — long-term memory engine for AI agents: recall, reflect, profile, governance. MCP server + console control plane.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"leafmem": {
"command": "npx",
"args": [
"-y",
"xdragonjia/leafmem"
]
}
}
}
Run in terminal:
claude mcp add leafmem npx -y xdragonjia/leafmem
Add to .cursor/mcp.json:
{
"mcpServers": {
"leafmem": {
"command": "npx",
"args": [
"-y",
"xdragonjia/leafmem"
]
}
}
}