Personal 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.
Personal Memory MCP Server
A private, persistent memory store that AI assistants can read and update through the Model Context Protocol (MCP).
You must host your own copy. This repo is shared as source code only. Nobody hosts it for you. To use it, you deploy your own instance (Vercel, or any Node.js host you run yourself), with your own storage and your own
MEMORY_TOKEN. Don't use anyone else's deployment, and don't share your token.
What you need
A GitHub account (to fork or import this repo)
A free Vercel account, or your own server running Node.js 20+
A Redis-compatible store. On Vercel, add an Upstash Redis database from the Storage tab (the free plan is enough for personal use).
Related MCP server: sovseal MCP Server
Deploy on Vercel
Fork or import the repo: fork it on GitHub, then go to vercel.com/new and import your fork.
Add a database: in the project, open the Storage tab and create an Upstash Redis (or KV) database. Connect it to the project for Production, Preview, and Development.
Set your token: Project Settings → Environment Variables → add
MEMORY_TOKENwith a long random value (e.g.openssl rand -hex 32). Keep it secret. Anyone with this token can read and write your memory.Turn off Deployment Protection for this project (Settings → Deployment Protection), so MCP clients can reach
/api/mcp. The token is what protects your data.Deploy (redeploy after changing environment variables).
Self-hosting
Any host that runs Next.js and can reach a Redis-compatible database will work. Set MEMORY_TOKEN and the database connection variables, then run npm install, npm run build, and npm start. Put it behind HTTPS, since MCP clients require it.
MCP endpoint
https://<your-deployment>/api/mcpEvery request must include:
Authorization: Bearer <your-MEMORY_TOKEN>To connect a client such as Composio, add a custom MCP server with that URL, use the API key option with header name Authorization and prefix Bearer, and paste your token.
Tools
Tool | Purpose |
| Return all current facts, newest first |
| Case-insensitive search over current facts |
| Create a new fact |
| Create a new fact and mark the old one superseded |
When a fact is updated, the old version is kept for 4 hours and then removed automatically.
Security notes
Your memory data lives only in your own database. This repo contains no data and no secrets.
Never commit
.envfiles or tokens..gitignoreexcludes common secret files, but check before you push.Treat the token like a password, and rotate it if it leaks.
License
MIT. See LICENSE. You can use, copy, modify, and redistribute this code for any purpose, including commercial use, as long as the copyright notice is kept.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Hosted agent memory: store, search, and recall facts across sessions from any MCP client.
Persistent personal memory for AI assistants — save, search, and recall across every MCP client.
Persistent memory for AI assistants — one shared, OAuth-secured vault for every MCP client.
The fact infrastructure for agentic companies. Verified, versioned business facts over MCP.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceEnables persistent memory storage and retrieval for MCP clients, allowing AI assistants to remember facts and context across conversations.MIT
sovseal MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceProvides a private, on-device memory with semantic search for MCP clients, enabling encrypted storage and recall of context facts without external API calls.Apache 2.0- AlicenseAqualityCmaintenanceEnables AI agents to store and retrieve provenance-aware facts with source, age, and boundaries, supporting search, read, propose, and local telemetry via MCP tools.460 npmApache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to persist and retrieve structured memory across sessions and models via MCP tools for cataloging, searching, and saving facts, with automatic supersession and scope filtering.MIT