memory-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@memory-mcp-serverlist my projects"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
memory-mcp-server
A FastMCP server that bridges Claude Code and Claude.ai by exposing Claude Code project memory files over MCP.
Problem
Claude Code and Claude.ai are separate products with separate contexts. Claude Code stores project memory as markdown files locally under ~/.claude/projects/*/memory/. Claude.ai has no access to these files, so you lose context every time you switch between the two.
Related MCP server: SharedMemory MCP Server
Solution
This server exposes those memory files via MCP over HTTPS, so Claude.ai can read and write them through a connector — giving both interfaces shared memory across all projects.
Architecture
Claude.ai └─→ Cloudflare Tunnel (https://memory.yourdomain.com/mcp) └─→ FastMCP server (Ubuntu VM) └─→ ~/.claude/projects//memory/.md ↕ rsync every 5 min WSL ~/.claude/projects//memory/.md ↑ Claude Code
MCP Tools
Tool | Description |
| List all Claude Code projects |
| List memory files in a project |
| Read a memory file |
| Read the MEMORY.md index |
| Write a memory file |
| Delete a memory file |
Setup
1. Server (Ubuntu VM)
git clone https://github.com/Ahmedaltu/memory-mcp-server.git
cd memory-mcp-server
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python server.py2. Systemd service
sudo cp memory-mcp.service /etc/systemd/system/
sudo systemctl enable memory-mcp
sudo systemctl start memory-mcp3. Cloudflare Tunnel
cloudflared tunnel login
cloudflared tunnel create memory-mcp
cloudflared tunnel route dns memory-mcp memory.yourdomain.com
sudo cloudflared service install
sudo systemctl enable cloudflared
sudo systemctl start cloudflared4. WSL auto-sync (add to crontab -e)
# Push WSL → VM (every 5 min)
*/5 * * * * rsync -az -e "ssh -i ~/.ssh/your-key.pem" --include="*/" --include="*/memory/" --include="*/memory/*.md" --exclude="*" ~/.claude/projects/ ubuntu@YOUR_VM_IP:~/.claude/projects/
# Pull VM → WSL (every 5 min)
*/5 * * * * rsync -az -e "ssh -i ~/.ssh/your-key.pem" --include="*/" --include="*/memory/" --include="*/memory/*.md" --exclude="*" ubuntu@YOUR_VM_IP:~/.claude/projects/ ~/.claude/projects/5. Connect Claude.ai
Go to Settings → Connectors → Add connector and enter: https://memory.yourdomain.com/mcp
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ahmedaltu/memory-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server