IDE Integration
Give Cursor Persistent Project Memory
Cursor automatically picks up .cursor/mcp.json and .cursor/hooks.json in your repository, or globally in ~/.cursor/hooks.json after running the user installer.
Step 1: Install User Hooks & Token
Install globally for Cursor (Python 3, zero extra packages)
# Windows 1-Click: setup-memory.bat # Cross-platform: python scripts/install_user.py # Undo anytime: python scripts/install_user.py uninstall
Step 2: Approve the MCP Server in Cursor
1. Close every Cursor / VS Code window and reopen your project.
2. Approve the rustgraph MCP server from .cursor/mcp.json when prompted.
3. If your checkout folder name differs from your project ID, simply tell Cursor: “link this folder to project my-app” (memory_link_folder).
Step 3: Optional Local Vector Search with Ollama
Enable local embeddings (optional)
ollama pull nomic-embed-text
Without Ollama, memory_meaning_search still works out of the box using SQLite FTS5 plus related terms expanded by the AI model.