Cursor’s current documented durable context surface is Rules. Rules are prompt-level reusable context for Agent, not a structured memory database. Cursor documents four rule types: Project Rules, User Rules, Team Rules, and AGENTS.md.
Older/alternate Cursor memory references exist in the ecosystem, but the current public docs route durable project knowledge through Rules and AGENTS.md. A mnemo importer should therefore treat Cursor project rules as the primary conversion surface and avoid scraping opaque editor databases.
Project rules:
.cursor/rules/**/*.mdc..mdc extension..md file inside .cursor/rules is ignored by Cursor’s rule system unless it is referenced some other way.Other durable surfaces:
AGENTS.md as a simple markdown alternative to .cursor/rules..cursorrules may exist in older projects and should be detected as a best-effort legacy import source.description, globs, and alwaysApply.@ mention.@template-file links. That is a rule-support pattern, not a central memory index.Recommended import order:
.cursor/rules/**/*.mdc.AGENTS.md files, if present..cursorrules if present.Suggested mapping:
alwaysApply: true broad rules -> pattern or config after review.globs scoped rules -> pattern with a source scope derived from the glob.description but no glob -> manual or pattern, preserving description as provenance..cursorrules -> split by headings/bullets and classify conservatively.Important importer behavior:
alwaysApply, description, and globs as SQL-queryable provenance.@file targets separately from the rule body; follow them only in dry-run or with explicit import approval.