Connect Cursor
Connect Cursor
Section titled “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.
Prerequisites
Section titled “Prerequisites”- Cursor installed and signed in.
- A Linux or macOS machine with shell access.
- The ability to add MCP servers in Cursor settings.
1. Install the binary
Section titled “1. Install the binary”Run the installer:
curl -fsSL https://0d3sa.com/eden-memory/install.sh | shThis 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.
2. Add the MCP server in Cursor
Section titled “2. Add the MCP server in Cursor”Open Settings → MCP 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.
3. Start a fresh chat
Section titled “3. Start a fresh chat”Cursor discovers tools when a chat starts. Open a new Composer or agent chat so the eden-memory tools are loaded.
4. Verify the connection
Section titled “4. Verify the connection”Ask Cursor to check health:
Call eden_health.You should see a JSON health report. If it fails, re-run the install:
curl -fsSL https://0d3sa.com/eden-memory/install.sh | shThen check that the command path in the MCP settings is absolute and that the parent directory for the database exists.
5. Test recall
Section titled “5. Test recall”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.
Expected output
Section titled “Expected output”eden-memory versionprints a version string.eden_healthreturnsstatus: ok.- A remembered preference is returned when asked in a new chat.
Troubleshooting
Section titled “Troubleshooting”- Server exits — ensure
--dbuses an absolute path and the parent directory exists. - Command not found — add
~/.local/binto 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-memoryfails withModuleNotFoundError: No module named 'eden_memory', remove the broken wrapper and reinstall:Terminal window rm -f ~/.local/bin/eden-memorycurl -fsSL https://0d3sa.com/eden-memory/install.sh | sh