loading…
Search for a command to run...
loading…
A persistent SQLite-backed storage server that enables Cursor IDE's AI assistant to remember information across sessions with global or project-specific scopes.
A persistent SQLite-backed storage server that enables Cursor IDE's AI assistant to remember information across sessions with global or project-specific scopes. It supports complete CRUD operations, tag-based organization, and keyword search to manage user preferences and context effectively.
A persistent memory storage MCP (Model Context Protocol) server for Cursor IDE. Allows the AI assistant to remember information across sessions.
docker-compose up -d --build
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"cursor-memory": {
"url": "http://localhost:8081/sse",
"transport": "sse"
}
}
}
The memory tools will now be available to the AI assistant.
| Tool | Description |
|---|---|
memory_store |
Store a new memory |
memory_recall |
Retrieve all memories (call on session start) |
memory_search |
Search memories by keyword/tag |
memory_list |
List all memories with index numbers |
memory_update |
Update a memory by ID or context |
memory_delete |
Delete a memory by ID or context |
Tell Cursor: "Remember that I prefer tabs over spaces"
The agent will:
Tell Cursor: "Check your memory" or "What do you remember?"
Tell Cursor: "Check your memory for coding preferences"
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for production
npm run build
npm start
| Variable | Default | Description |
|---|---|---|
PORT |
8081 |
HTTP server port |
DATA_DIR |
./data |
SQLite database directory |
NODE_ENV |
development |
Environment mode |
┌─────────────────┐ SSE ┌──────────────────────┐
│ Cursor IDE │◄────────────►│ Memory MCP Server │
│ (AI Agent) │ │ (Express + SQLite) │
└─────────────────┘ └──────────────────────┘
│
▼
┌─────────────┐
│ SQLite DB │
│ memory.db │
└─────────────┘
This server runs on port 8081 by default to avoid conflicts with other MCP servers (e.g., jana on 8080).
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"cursor-memory-mcp-server": {
"command": "npx",
"args": []
}
}
}