Skip to main content
Cursor is an AI-powered code editor. You can integrate OpenMemoryX to give Cursor persistent memory across conversations.

Setup

1. Get Your API Key

  1. Log in to OpenMemoryX Portal
  2. Copy your default API key (starts with omx_)

2. Configure Cursor

In Cursor, you can use OpenMemoryX via:

Option A: Custom MCP Server

Create an MCP (Model Context Protocol) server that connects to OpenMemoryX:

Option B: Direct API in Cursor Rules

Add to your .cursorrules file:

3. Using in Cursor

When chatting with Cursor, mention:

Example Workflows

Store Code Preferences

Retrieve Context

Project-Specific Memory

Best Practices

  • Store decisions - Save architectural choices and preferences
  • Use project IDs - Separate memories per project
  • Regular cleanup - Delete outdated memories
  • Add metadata - Include context like tech stack