Skip to main content
Glama
willard-jana

Cursor Memory MCP Server

by willard-jana

Cursor Memory MCP Server

A persistent memory storage MCP (Model Context Protocol) server for Cursor IDE. Allows the AI assistant to remember information across sessions.

Features

  • Store memories with global or project-specific scope

  • Tag-based organization for easy categorization

  • Search memories by content or tags

  • CRUD operations - create, read, update, delete memories

  • Context matching - update/delete by description, not just ID

  • SQLite backend for performance and reliability

  • Docker deployment for easy setup

Related MCP server: Mind Keg MCP

Quick Start

1. Build and Run with Docker

docker-compose up -d --build

2. Add to Cursor MCP Configuration

Edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "cursor-memory": {
      "url": "http://localhost:8081/sse",
      "transport": "sse"
    }
  }
}

3. Restart Cursor

The memory tools will now be available to the AI assistant.

Available Tools

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

Usage Examples

Storing a Memory

Tell Cursor: "Remember that I prefer tabs over spaces"

The agent will:

  1. Optimize the content

  2. Ask for scope (global/project)

  3. Suggest tags

  4. Confirm before storing

Recalling Memories

Tell Cursor: "Check your memory" or "What do you remember?"

Searching Memories

Tell Cursor: "Check your memory for coding preferences"

Managing Memories

  • "List all memories"

  • "Delete memory #3"

  • "Update the memory about indentation to prefer 4 spaces"

Development

Local Development (without Docker)

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build
npm start

Environment Variables

Variable

Default

Description

PORT

8081

HTTP server port

DATA_DIR

./data

SQLite database directory

NODE_ENV

development

Environment mode

Architecture

┌─────────────────┐     SSE      ┌──────────────────────┐
│   Cursor IDE    │◄────────────►│  Memory MCP Server   │
│   (AI Agent)    │              │  (Express + SQLite)  │
└─────────────────┘              └──────────────────────┘
                                           │
                                           ▼
                                    ┌─────────────┐
                                    │  SQLite DB  │
                                    │  memory.db  │
                                    └─────────────┘

Port Configuration

This server runs on port 8081 by default to avoid conflicts with other MCP servers (e.g., jana on 8080).

License

MIT

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    A persistent AI memory server that enables storage and retrieval of context and project artifacts across conversations. It features full-text search, version history, and automatic content chunking using local SQLite or hosted cloud storage.
    16
    Apache 2.0
  • A
    license
    -
    quality
    C
    maintenance
    A persistent memory server that stores and retrieves atomic coding insights like architectural decisions and debugging patterns for AI agents. It enables agents to maintain institutional knowledge across sessions using semantic search and local SQLite storage.
    11
    10
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    A Python-based server providing persistent memory management for AI models with SQLite and Markdown dual backend storage. It features full-text search, RAG-enhanced querying, and cross-project knowledge sharing for integration with Claude, Cursor, and Rovo Dev.
  • A
    license
    A
    quality
    B
    maintenance
    Provides persistent cross-session memory and full-text search for AI coding assistants, storing project context, decisions, and preferences while enabling searchable access to conversation history via local SQLite.
    8
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Hosted memory for AI agents that learns and forgets — one key across Claude, Cursor & ChatGPT.

  • Persistent memory for AI agents. Search, store, and recall across sessions.

  • Persistent memory for AI agents — verbatim conversations, searchable by meaning.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/willard-jana/cursor-memory-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server