Cursor plugin for persistent coding memory through XMem.
This mirrors the strong structure of cursor-supermemory:
.cursor-plugin/plugin.jsonfor plugin metadata.mcp.jsonand.cursor/mcp.jsonfor MCP registrationrules/with proactive memory guidanceskills/for search, save, and setupcommands/for setup/config/logouthooks/and small Node scripts for session lifecycle
Use environment variables. Do not commit secrets.
export XMEM_API_KEY="xmem_..."
export XMEM_API_URL="https://api.xmem.in"
export XMEM_USER_ID="your-user-id"XMEM_API_URL defaults to https://api.xmem.in. XMEM_USER_ID falls back to the local OS username.
xmem_status- show safe config statusxmem_search- search prior memoryxmem_add- save project knowledge
npm run check
node scripts/status.cjs