⚫⚫⚫⚫⚪ Advanced Difficulty | ⏱️ 30-45 Minutes Setup Time
This guide is a companion to my YouTube video on syncing Claude's MCP memory between computers. While I demonstrate using Dropbox, this method works with any cloud storage provider (Google Drive, iCloud, etc.).
⚠️ Important: This is an advanced tutorial. You should be comfortable with terminal commands, symbolic links, and independent troubleshooting. If you haven't set up Claude's MCP memory server yet, please watch my previous tutorial first.
- Claude Desktop installed and running
- Memory MCP server configured in claude_desktop_config.json
- Existing Claude memories you want to preserve
- Cloud storage provider installed and synced (Dropbox, Google Drive, etc.)
- Terminal familiarity
- Admin permissions
If you're using Claude on multiple computers already, consolidate your memories first:
- Have Claude show you its memories on each computer
- Save all memories somewhere safe
- Add them to your primary computer
- Then proceed with this guide
While this guide uses Dropbox, the process works with any cloud storage provider:
- Google Drive
- iCloud Drive
- Other cloud storage solutions
Just adjust the paths according to your provider's folder structure.
- This guide has only been tested on macOS
- Windows implementation may require modifications
- Always backup your memory.json file before starting
- Consider keeping multiple backups in different locations
First, we need to find where Claude stores its memories.
- Open Claude Desktop
- Create a test memory (type anything like "test memory")
- Open Terminal
- Run this command:
ps aux | grep mcp-server-memory- Look for a line containing:
node /Users/USERNAME/.npm/_npx/RANDOM_ID/node_modules/.bin/mcp-server-memory- Copy this path and modify it:
- Remove
.bin/mcp-server-memory - Add
@modelcontextprotocol/server-memory/dist/memory.json
- Remove
For example:
# Original path:
/Users/username/.npm/_npx/15b07286cbcc3329/node_modules/.bin/mcp-server-memory
# Modified path:
/Users/username/.npm/_npx/15b07286cbcc3329/node_modules/@modelcontextprotocol/server-memory/dist/memory.jsonSave this modified path - you'll need it for the next steps.
- Open your cloud storage app (Dropbox in this example)
- Create a new folder named "Claude Cloud Memory"
- Right-click the folder while holding Option key
- Select "Copy as Pathname"
- Save this path - you'll need it shortly
- Ensure your cloud storage is fully synced
Open Terminal and run these commands one at a time, replacing the paths with your saved ones:
# Verify your NPX path exists
ls 'YOUR_NPX_PATH'
# Create backup of current memory
cp 'YOUR_NPX_PATH' 'YOUR_NPX_PATH.backup'
# Copy memory to cloud storage
cp 'YOUR_NPX_PATH' 'YOUR_DROPBOX_PATH'
# Verify copy was successful
ls -l 'YOUR_DROPBOX_PATH/memory.json'
# Remove original memory file
rm 'YOUR_NPX_PATH'
# Create symbolic link
ln -s 'YOUR_DROPBOX_PATH/memory.json' 'YOUR_NPX_PATH'
# Verify symlink
ls -l 'YOUR_NPX_PATH'- Restart Claude Desktop completely
- Ask Claude to recall a previous memory
- Create a new test memory
- Check your cloud storage folder - memory.json should update
- Follow the same process as Step 1 above to find the path
- Remember to modify it the same way:
- Remove
.bin/mcp-server-memory - Add
@modelcontextprotocol/server-memory/dist/memory.json
- Remove
- Ensure your cloud storage is installed and synced
- Find the "Claude Cloud Memory" folder
- Copy its pathname (Right-click + Option key)
- Note: This path might be different from your first computer
Example path differences:
# Computer 1:
/Users/user1/Library/CloudStorage/Dropbox/Claude Cloud Memory
# Computer 2:
/Users/user2/Dropbox/Claude Cloud MemoryRun these commands in Terminal:
# Verify NPX path
ls 'YOUR_NPX_PATH'
# Backup empty memory file (optional)
cp 'YOUR_NPX_PATH' 'YOUR_NPX_PATH.backup'
# Remove empty memory file
rm 'YOUR_NPX_PATH'
# Create symlink to cloud memory
ln -s 'YOUR_DROPBOX_PATH/memory.json' 'YOUR_NPX_PATH'
# Verify symlink
ls -l 'YOUR_NPX_PATH'- Restart Claude Desktop
- Ask Claude to recall memories from your first computer
- Create a new memory
- Check that it appears on your other computer
- Ensure paths start with /
- Use single quotes around paths
- Check folder permissions
- Verify Claude is running
- Check cloud storage sync status
- Verify symlink points correctly
- Restart Claude completely
- NPX paths might change after Claude updates
- Always backup before making changes
- Keep note of exact paths used
- Monitor symlinks after updates
If you get stuck:
- Use AI search tools like Perplexity, ChatGPT with Search, or Claude with Brave Search
- Check error messages carefully
- Compare your paths exactly with examples