.cursor/mcp.json configuration that registers the AtomicMemory MCP server, and a .cursor/rules/atomicmemory.mdc project rule that tells the Cursor agent when to call the memory tools. Once in place, the agent can search prior context, store durable decisions, and carry knowledge across sessions — all without any changes to your code.
Cursor support is available today as a manual local integration. Copy the MCP config and project rule template into your Cursor project or global Cursor MCP config. A packaged Cursor plugin and Cursor Cloud deployment are planned but not yet available.
What’s included
The plugin directory ships two template files you copy into your project:.cursor/mcp.json
Registers the
atomicmemory MCP server so Cursor can spawn it and expose its tools to the agent..cursor/rules/atomicmemory.mdc
An always-on Cursor rule that describes the AtomicMemory memory protocol — when to search, when to store, and how to treat retrieved memories.
Configure environment
Set these variables in your shell before launching Cursor. Cursor resolves${env:...} placeholders in the MCP config from the environment at startup time.
ATOMICMEMORY_API_URL, ATOMICMEMORY_API_KEY, and ATOMICMEMORY_PROVIDER are required. At least one ATOMICMEMORY_SCOPE_* variable must be set — ATOMICMEMORY_SCOPE_USER is the standard baseline.
Install
- Project install
- Global install
Install the integration for a single Cursor project by copying both template files into the project root.
Copy the MCP config
Copy If your project already has a
.cursor/mcp.json from the plugin directory into your project:.cursor/mcp.json, merge the atomicmemory server entry into the existing mcpServers object — do not replace the whole file.Verify
After restarting Cursor, confirm the MCP server is running and all tools are available.Check server status in Settings
Open Cursor Settings → Tools & MCP and confirm the
atomicmemory server shows as enabled.Troubleshooting
No tools appear in Cursor
No tools appear in Cursor
Restart Cursor fully — a partial restart may not reload the MCP server configuration. Also verify that Cursor can resolve and run the MCP server binary:If this fails, check your Node.js installation and network access to the npm registry.
Scope errors at runtime
Scope errors at runtime
At least one Then restart Cursor so the MCP server picks up the new environment.
ATOMICMEMORY_SCOPE_* variable must be set. Export ATOMICMEMORY_SCOPE_USER as a minimum:Authentication errors
Authentication errors
Verify that
ATOMICMEMORY_API_URL, ATOMICMEMORY_API_KEY, and ATOMICMEMORY_PROVIDER are all set and visible to the Cursor process. On macOS, environment variables set in a terminal are not automatically inherited by GUI applications — launch Cursor from the same terminal session, or persist the variables in your shell startup file (~/.zshrc, ~/.bashrc, etc.).Existing .cursor/mcp.json was overwritten
Existing .cursor/mcp.json was overwritten
Restore your previous file from version control or a backup, then manually merge only the
mcpServers.atomicmemory entry from the AtomicMemory template. The MCP config is a JSON object — add the atomicmemory key under mcpServers alongside any existing server entries.