memory-mcp-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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: Cortex
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
Related MCP Connectors
Share one project context across ChatGPT, Claude, Telegram and any MCP client.
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
Shared memory and mail for your AI agents. Verified with Claude Code; other MCP clients in testing.
Persistent memory for AI assistants. Save once; recall from Claude, ChatGPT, or any MCP client.
Related MCP Servers
- 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.67 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.516 npm1MIT
- AlicenseNot gradedqualityDmaintenancePersistent project memory MCP server for Claude Code that remembers development context across sessions, including features, fixes, notes, and standards.1MIT