Skip to main content
Glama
mahmoud-bebars

distributed-ai-memory-system

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.jsonl per project, append-only

  • Zod 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: SkyBrain

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 :8787

First 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 Worker

Status

See PROJECT_UNDERSTANDING.md for the full architecture and what's still ahead (MCP tool layer, OAuth, sync CLI).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides 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.
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides a shared MCP memory layer for AI clients, backed by Cloudflare Workers and D1, enabling personal Markdown notes management.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides persistent memory for MCP clients, enabling them to remember user preferences and behaviors across conversations using vector search and Cloudflare's infrastructure.
    22
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI clients to access a shared, authenticated memory and project management system with durable storage, task tracking, roadmaps, and semantic search, deployed on Cloudflare.
    MIT

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/mahmoud-bebars/distributed-ai-memory-system'

If you have feedback or need assistance with the MCP directory API, please join our Discord server