How to Add Persistent Memory to Cursor
Cursor is a powerful AI code editor, but it forgets project context between sessions. The Novyx MCP Server gives Cursor persistent memory — your AI assistant remembers your codebase, preferences, and decisions across every workspace.
The Problem
- ✗ Cursor forgets project context when you close a session
- ✗ You re-explain architecture and conventions every time
- ✗ No way to search past decisions or context
- ✗ No undo if the AI learns something incorrect
The Solution: Novyx MCP Server
The Novyx MCP Server exposes 107 memory tools to Cursor via the Model Context Protocol. Cursor can store decisions, recall past context, roll back mistakes, and audit changes — all persisted across sessions.
Setup
1. Install the MCP server:
pip install novyx-mcp2. Add to your Cursor MCP config:
{
"mcpServers": {
"novyx-memory": {
"command": "python",
"args": ["-m", "novyx_mcp"],
"env": { "NOVYX_API_KEY": "YOUR_API_KEY" }
}
}
}Add this to your Cursor settings or .cursor/mcp.json in your project root.
What Cursor Can Do With Memory
Remember project architecture
"This project uses a microservices architecture with gRPC between services." — stored permanently.
Recall coding preferences
"What formatting conventions does this project use?" — instant recall from past sessions.
Track decisions
"We chose PostgreSQL over MongoDB because of ACID requirements." — never explain the same decision twice.
Undo mistakes
"Roll back to before I told it to use tabs." — point-in-time rollback with one command.
91 Tools Available
| Category | Tools |
|---|---|
| Core Memory | remember, recall, forget, list_memories, memory_stats, rollback, audit, link_memories, add_triple, query_triples |
| Context Spaces | create_space, list_spaces, space_memories, update_space, delete_space, share_space |
| Replay | replay_timeline, replay_snapshot, replay_lifecycle, replay_diff |
| Cortex | cortex_status, cortex_run, cortex_insights |
See the full MCP server docs on the Integrations page.
Start Building with Persistent Memory
5,000 memories free. No credit card required.