Share one memory bank across Claude Desktop, Cursor, and Windsurf
When to use: You use more than one AI client and keep recopying the same notes about the project.
Prerequisites
- Node 18+ — nvm install 18
- A directory to hold memory banks — mkdir -p ~/ai-memory
Flow
-
Set MEMORY_BANK_ROOT in each client's MCP configPoint every MCP client at MEMORY_BANK_ROOT=~/ai-memory and install @allpepper/memory-bank-mcp.✓ Copied→ memory_bank_* tools appear in each client
-
Create the first project bankmemory_bank_write project=acme-api file=architecture.md — summarize the service boundaries of this repo.✓ Copied→ File appears under ~/ai-memory/acme-api/architecture.md
-
Read from a different clientIn Cursor: memory_bank_read project=acme-api file=architecture.md✓ Copied→ Same content returned; edits from either client show up instantly
Outcome: A shared, versionable memory folder that every IDE consults automatically.
Pitfalls
- Forgetting to restart the MCP client after changing MEMORY_BANK_ROOT — Close and reopen the client; env vars are only read on startup