Git for agent memory. Memstate gives AI agents versioned, structured memory with automatic conflict detection, full version history, and up to 80% fewer tokens than vector-based alternatives. Extracts facts from text and markdown into structured keypaths, with 84.4% accuracy on the open-source benchmark vs 20.4% for Mem0.
Server Config
{
"mcpServers": {
"memstate": {
"command": "npx",
"args": [
"-y",
"@memstate/mcp"
],
"env": {
"MEMSTATE_API_KEY": "<YOUR_API_KEY>"
}
}
}
}