Cursor · MCP · Agent memory
Cursor persistent memory with OpenStinger
OpenStinger is an open-source MCP memory server you can attach to Cursor (and Claude Code, OpenClaw, and any MCP client). Self-hosted. Fair LongMemEval-S 81.0%.
1. Run OpenStinger
Clone the repo, start Docker (FalkorDB + Postgres), install, configure, then start the MCP server:
git clone https://github.com/srikanthbellary/openstinger.git cd openstinger docker compose up -d python -m venv .venv # activate venv, then: pip install -e "." cp .env.example .env cp config.yaml.example config.yaml # edit .env and sessions_dir in config.yaml python -m openstinger.mcp.server
2. Point Cursor at the MCP server
Add this to the project .cursor/mcp.json (or your global Cursor MCP config):
{
"mcpServers": {
"openstinger": {
"url": "http://localhost:8766/sse"
}
}
}
Reload Cursor. The agent should see OpenStinger tools such as memory_query,
memory_add, and memory_wake_up.
3. What you get
- Hybrid BM25 + vector episodic memory (bi-temporal graph)
- Structured vault notes (identity, preferences, constraints)
- Optional alignment / drift tools (Gradient)
- Memory that moves as two Docker volumes between machines and runtimes
Related
- GitHub repo
- LongMemEval fair 81% breakdown
- Benchmark on this site
- llms.txt for agent scrapers