distributed-ai-memory-system
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., "@distributed-ai-memory-systemStore this insight about R2 cost optimization in the project memory."
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.
distributed-ai-memory-system
A personal, cross-provider memory server: one Cloudflare Worker that lets any MCP-capable AI client (Claude, ChatGPT, Gemini CLI, Claude Code) read and write structured memory for your projects, backed by D1 (registry) and R2 (per-project JSONL blobs). Ships with a small web UI for browsing and chatting with a project's memory via the Anthropic API.
Deployed at memory.mahmoudbebars.dev.
Stack
Hono on Cloudflare Workers (no Express, no Next.js)
D1 via Drizzle ORM — registry/index of projects
R2 — raw
memory.jsonlper project, append-onlyZod validation at every route boundary
React + Vite + Tailwind frontend, served as Workers Static Assets from the same deployment (no separate Pages project)
Related MCP server: SIEMen
Local development
npm install
npm run db:migrate:local
npm run dev # Worker on :8787
cd app && npm install && npm run dev # frontend on :5173, proxies /api to :8787First deploy
See DEPLOY.md.
Project structure
src/
index.ts Worker entry — mounts /api routes, falls back to ASSETS
lib/bindings.ts Shared Env/Bindings type (D1, R2, ASSETS, API key)
db/schema.ts Drizzle table definitions
modules/
projects/ 4-file module: schema.ts, service.ts, routes.ts, index.ts
chat/ Same pattern — Anthropic API chat over a project's memory
migrations/ D1 migrations (wrangler-managed)
app/ Vite/React frontend, built into app/dist and served by the WorkerStatus
See PROJECT_UNDERSTANDING.md for the full architecture and what's still ahead (MCP tool layer, OAuth, sync CLI).
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.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides cross-device access to a persistent knowledge graph via Cloudflare Workers, enabling memory storage and retrieval through both MCP protocol and REST API with full-text search capabilities.
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to read, write, and search security findings, engagement memory, and semantic triage via MCP tools on Cloudflare Workers.
- AlicenseNot gradedqualityCmaintenanceProvides a shared MCP memory layer for AI clients, backed by Cloudflare Workers and D1, enabling personal Markdown notes management.MIT
- AlicenseNot gradedqualityCmaintenanceProvides persistent memory for MCP clients, enabling them to remember user preferences and behaviors across conversations using vector search and Cloudflare's infrastructure.22MIT
Related MCP Connectors
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Person-owned AI memory that learns, not just stores — portable context for any MCP client.
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/mahmoud-bebars/distributed-ai-memory-system'
If you have feedback or need assistance with the MCP directory API, please join our Discord server