MemoryBuddy 🧠
Give your AI agents a shared memory that lasts. Deploy once, connect any MCP-compatible AI tool — Hermes, Trae, Cursor, Claude Desktop — they all share the same memory.
Potencialize seu agente
Instalação do publicador. Não é um endpoint do PlugMCP.
Host a copy with our keys and logs.
Ainda não há uma versão empacotada no registro. Siga o README do repositório.
URL remota ou um comando na sua máquina? Como as duas instalações diferem
Rodar no PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
AbrirDo publicador
Give your AI agents a shared memory that lasts. Deploy once, connect any MCP-compatible AI tool — Hermes, Trae, Cursor, Claude Desktop — they all share the same memory.
Shared memory layer for AI agents. Deploy once, connect Hermes/Trae/Cursor/Claude Desktop via MCP - they all share one memory. $0/month on Cloudflare free tier.
Most AI tools suffer from "goldfish memory" — refresh the page, start a new session, switch to another app, and everything's gone. You keep reintroducing yourself, re-explaining your preferences, re-stating context.
MemoryBuddy fixes this with a shared memory layer that any AI tool can read from and write to:
DELETE wipes everything, GDPR compliant┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐
│ Hermes │ │ Trae │ │ Cursor │ │ Claude │
└────┬────┘ └────┬────┘ └────┬────┘ └────┬────┘
│ MCP │ MCP │ MCP │ MCP
▼ ▼ ▼ ▼
┌──────────────────────────────────────────────────┐
│ MemoryBuddy Worker (Cloudflare) │
│ │
│ /mcp → MCP Server (5 tools, Streamable HTTP) │
│ /chat → HTTP API (SSE streaming + auto-extract)│
│ /memory/:userId → REST API │
└──────────┬──────────────────┬────────────────────┘
│ │
┌─────▼─────┐ ┌──────▼──────┐
│ D1 (facts)│ │ Vectorize │
│ SQLite DB │ │ (embeddings)│
└───────────┘ └─────────────┘
Three-tier memory:
git clone https://github.com/Trainspotting31/memory-buddy.git
cd memory-buddy
npm install
npx wrangler login
# Create D1 database
npx wrangler d1 create memory-buddy-db
# Create Vectorize index
npx wrangler vectorize create memory-buddy-index --dimensions 768 --metric cosine
# Initialize database schema
npx wrangler d1 execute memory-buddy-db --remote --file=schema.sql
Copy the generated database_id into wrangler.toml (rename from wrangler.toml.example).
npx wrangler deploy
Done! Your memory server is live at https://memory-buddy.<your-subdomain>.workers.dev 🎉
MemoryBuddy speaks MCP (Model Context Protocol). Any MCP-compatible tool can connect — they all share the same memory.
hermes mcp add memory-buddy --url https://memory-buddy.<your-subdomain>.workers.dev/mcp
https://memory-buddy.<your-subdomain>.workers.dev/mcpOr create .trae/mcp.json in your project:
{
"mcpServers": {
"memory-buddy": {
"type": "streamable-http",
"url": "https://memory-buddy.<your-subdomain>.workers.dev/mcp"
}
}
}
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"memory-buddy": {
"url": "https://memory-buddy.<your-subdomain>.workers.dev/mcp"
}
}
}
Add to claude_desktop_config.json:
{
"mcpServers": {
"memory-buddy": {
"type": "streamable-http",
"url": "https://memory-buddy.<your-subdomain>.workers.dev/mcp"
}
}
}
Endpoint: https://memory-buddy.<your-subdomain>.workers.dev/mcp
Transport: Streamable HTTP
Auth: None (or add your own)
Once connected, the AI gets 5 tools:
Shared memory: All tools default to userId: "hermes-shared". Use different userIds to isolate memory per project/persona.
POST /chat — Chat with memorycurl -N -X POST https://your-worker.workers.dev/chat \
-H "Content-Type: application/json" \
-d '{"userId":"user123","message":"Hi! I'm John and I love espresso."}'
GET /memory/:userId — Get all memorycurl https://your-worker.workers.dev/memory/user123
DELETE /memory/:userId — Wipe memorycurl -X DELETE https://your-worker.workers.dev/memory/user123
GET /health — Health checkcurl https://your-worker.workers.dev/health
Edit wrangler.toml:
[vars]
LLM_MODEL = "@cf/meta/llama-3.2-3b-instruct" # Default: Workers AI (free)
# Optional: use external LLM instead of Workers AI
LLM_API_KEY = "sk-your-key"
LLM_API_BASE = "https://api.openai.com/v1"
LLM_MODEL = "gpt-4o-mini"
memory-buddy/
├── src/
│ ├── index.ts # Hono router: /mcp + /chat + /memory + /health
│ ├── mcp.ts # MCP Server factory (5 tools, stateless)
│ ├── agent-do.ts # Durable Object: chat session + memory orchestration
│ ├── llm.ts # LLM abstraction (Workers AI / OpenAI-compatible)
│ └── memory/
│ ├── extract.ts # LLM-powered fact extraction
│ ├── retrieve.ts # Hybrid retrieval (D1 + Vectorize)
│ └── summarize.ts # Conversation summarization
├── public/index.html # Built-in demo chat UI
├── schema.sql # D1 database schema
├── wrangler.toml.example # Cloudflare config template
└── package.json
Open your Worker URL in a browser — you'll see a built-in chat interface.
It remembers everything. That's MemoryBuddy.
MIT — see LICENSE
Shared memory layer for AI agents. Deploy once, connect Hermes/Trae/Cursor/Claude Desktop via MCP - they all share one memory. $0/month on Cloudflare free tier.
Ferramentas
Ainda não há lista de ferramentas. Servidores remotos recebem uma após a primeira verificação de saúde.
Perguntas frequentes
Copie nesta página a configuração stdio para Cursor, Claude Desktop, Claude Code ou VS Code. Ela usa a instalação do publicador, não um proxy do PlugMCP.
Este registro não lista nenhuma variável de ambiente obrigatória.
Memory Buddy roda localmente via stdio.
Última verificação: 2026-10-28. Shared memory layer for AI agents. Deploy once, connect Hermes/Trae/Cursor/Claude Desktop via MCP - they all share one memory. $0/month on Cloudflare free tier.