Skip to content

Connect Cursor

This tutorial walks through adding eden-memory as a stdio MCP server in Cursor so Composer and agent features can recall durable memories.

  • Cursor installed and signed in.
  • A Linux or macOS machine with shell access.
  • The ability to add MCP servers in Cursor settings.

Run the installer:

Terminal window
curl -fsSL https://0d3sa.com/eden-memory/install.sh | sh

This downloads the right binary for your platform, verifies its checksum, and installs it to ~/.local/bin/eden-memory. Make sure ~/.local/bin is on the PATH Cursor sees, or use the full binary path in step 2.

Open SettingsMCP and add a new stdio server:

Field Value
Name eden-memory
Command /home/yourname/.local/bin/eden-memory
Arguments --db /home/yourname/.eden-memory/default.db

Replace /home/yourname with your actual home path. If eden-memory is on the PATH that Cursor sees, you can use the bare command name instead of the absolute path.

Cursor discovers tools when a chat starts. Open a new Composer or agent chat so the eden-memory tools are loaded.

Ask Cursor to check health:

Call eden_health.

You should see a JSON health report. If it fails, re-run the install:

Terminal window
curl -fsSL https://0d3sa.com/eden-memory/install.sh | sh

Then check that the command path in the MCP settings is absolute and that the parent directory for the database exists.

Ask Cursor to remember a preference:

Remember that I keep frontend components under 200 lines.

Then start a new chat and ask:

What do you know about my component size preferences?

Cursor should recall the fact from the local store.

  • eden-memory version prints a version string.
  • eden_health returns status: ok.
  • A remembered preference is returned when asked in a new chat.
  • Server exits — ensure --db uses an absolute path and the parent directory exists.
  • Command not found — add ~/.local/bin to your PATH, or use the absolute binary path.
  • Config not picked up — start a new Cursor chat after changing the MCP config.
  • Stale Python wrapper from an old install — if eden-memory fails with ModuleNotFoundError: No module named 'eden_memory', remove the broken wrapper and reinstall:
    Terminal window
    rm -f ~/.local/bin/eden-memory
    curl -fsSL https://0d3sa.com/eden-memory/install.sh | sh