lily-memory-mcp
Provides GitHub read/write tools for retrieving file contents, creating or updating files, deleting files, listing branches, creating branches, and pushing multiple files. Can also optionally export memory backups as JSONL to a private GitHub repository.
Provides persistent memory storage on Turso, with tools to save planned work, update results and status, search memories, view timelines, retrieve full entries, and soft-delete memories.
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.
lily-memory-mcp
Self-hosted MCP server for Claude: GitHub read/write tools (from lily-github-mcp-bridge) plus persistent memory on Turso.
Each memory entry = your prompt + Claude's plan + the result.
The flow
You ask for something.
Claude calls
memory_save(prompt + plan) → statusplanned, returns an id.Claude does the work.
Claude calls
memory_update(id + result + statusdone|partial|failed).Next prompt: repeat. Claude starts with
memory_search/memory_timelineto recall.
The server sends these instructions to Claude automatically on connect.
Related MCP server: GitHub MCP Server
Tools
GitHub (unchanged): get_file_contents, create_or_update_file, delete_file, list_branches, create_branch, push_files.
Memory: memory_save, memory_update, memory_search, memory_timeline, memory_get, memory_forget (soft delete).
Search/timeline return compact rows; memory_get returns full entries (keeps token use low).
Setup
Turso:
turso db create lily-memory→turso db show lily-memory --url→turso db tokens create lily-memory.Render: new Web Service from this repo (or use
render.yaml). Build:npm install && npm run build, start:npm start.Env vars: copy
.env.example. Required:GITHUB_TOKEN,MCP_ADMIN_SECRET,MCP_BASE_URL,ALLOWED_REPOS,TURSO_DATABASE_URL,TURSO_AUTH_TOKEN.claude.ai: Settings → Connectors → Add custom connector →
https://<your-service>/mcp, approve with the admin secret.Keep-alive: the built-in self-ping runs every 10 min (
SELF_PING=falseto disable). An external pinger (UptimeRobot) on/healthis a good second layer.
If Turso is missing/unreachable the GitHub tools still work and memory tools are simply not listed (see logs).
Safety
Secrets (GitHub/OpenAI-style keys, JWTs such as Turso tokens, private keys,
*_TOKEN=values) are redacted before saving. Redaction is pattern-based — not a guarantee.Fields are capped at 8,000 characters.
ALLOWED_REPOS=*lets the PAT reach every repo it can. Narrower:Seizethewind/*,UmakraftCircle/*.Optional nightly backup: set
BACKUP_REPO(a private repo) → memories exported as JSONL via the GitHub API.
Develop
npm test runs the memory tests (uses Node's built-in SQLite with FTS5 as a stand-in for libSQL).
npm run build compiles src/ to dist/.
This server cannot be deployed
Maintenance
Related MCP Connectors
Truth-validated, SHA-512-sealed AI memory for Claude & Cursor. Free tier, OAuth, 38 tools.
- SeturosOAuthcom.seturos
Shared work memory for Claude Code, Codex, Cursor and chat, scoped to each repository.
Persistent memory for Claude Code and Cursor. Stop re-explaining your project every session.
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables Claude to access and manage GitHub repositories dynamically at runtime, including private repos, with tools for browsing files, searching code, and viewing commits, pull requests, and issues.111ISC
- AlicenseNot gradedqualityDmaintenanceConnects Claude to GitHub repositories for querying repos, reviewing PRs, managing issues, searching code, and automating workflows.MIT
- FlicenseNot gradedqualityAmaintenanceEnables Claude Code to store and recall persistent cross-session memory backed by self-hosted Qdrant, Neo4j, and Ollama, using Anthropic or fully local Ollama as the LLM. Exposes tools for adding, searching, listing, updating, and deleting memories plus querying knowledge-graph entities and relationships, with optional session hooks for automatic context injection and saving.-
- AlicenseNot gradedqualityAmaintenanceEnables Claude and any MCP client to store long-term memory as plain Markdown in the user's own private GitHub repo, with hybrid semantic search, a knowledge graph, auto-memory, and commit history. It also keeps working state alive across context compaction through core memory, hook-driven checkpoints, and a resume tool available in any client.1MIT