memory-mcp-server
Click on "Deploy 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: edgemem
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 deployed
Maintenance
Related MCP Connectors
Share one project context across ChatGPT, Claude, Telegram and any MCP client.
Shared memory and actions for Claude, Kiro, OpenAI, Cursor, and other MCP-compatible AI clients.
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
- mcpOAuthai.butlerbrain
Persistent memory for AI assistants. Save once; recall from Claude, ChatGPT, or any MCP client.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceIntegration project for Model Context Protocol (MCP) servers with Claude Desktop App, enabling filesystem operations, development support, and file management through natural language.-
- FlicenseNot gradedqualityDmaintenanceFilesystem-native agent memory for Claude Code, enabling persistent team context across sessions through cloud-synced memory files and MCP tools.-
- AlicenseNot gradedqualityDmaintenancePersistent memory MCP server for Claude Code that captures and recalls project context across sessions, eliminating the need to re-explain architecture and decisions daily.292 npm1MIT
- AlicenseAqualityDmaintenanceAn MCP server that reads all your Claude Code project memory files and exposes them as tools. Lets any Claude instance — in any project, or via Claude.ai — query your full project history and preferences.512 npm1MIT