Persistent memory for AI agents — REST API, MCP, OAuth, CLI, dashboard. Semantic search, knowledge graph, automatic consolidation. One self-hosted service, every transport.
OAuth PEM key files, IDE redirect URI schemes for Cursor/VS Code, and symmetric memory-scorer project-affinity fix. ~1,989 tests.
Load OAuth signing keys from files via MCP_OAUTH_PRIVATE_KEY_PATH / MCP_OAUTH_PUBLIC_KEY_PATH — prevents silent JWT invalidation on restart. Startup fails hard if the file cannot be read, so broken configs are never silently ignored.
OAuth now accepts cursor://, vscode://, and vscode-insiders:// redirect URI schemes, enabling deep-link OAuth callbacks for Cursor and VS Code extensions without manual workarounds.
Fixed a bug where short memory tags (e.g. wing:hoi4) were zeroed by the project-affinity filter when the project name was a superset (e.g. hoi4coach). Affinity now checks both directions, so context-relevant memories always surface.
Claude.ai connects to your memory server through Streamable HTTP with OAuth 2.1 authentication.
Battle-tested with comprehensive testing and optimized for performance.
Install from PyPI and connect your AI agents to persistent memory.