Memory MCP
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., "@Memory MCPremember that my client prefers dark blue for the logo"
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.
MEMORY MCP
Memory MCP is a small, self-contained Model Context Protocol (MCP) server for persistent AI agent memory. It uses a local vector database (ChromaDB) + offline/supervised embeddings (SentenceTransformers), enabling low-latency memory operations without external cloud dependencies.
🚀 What it supports
Long-term semantic memory (
add_memory,search_memory,update_memory,remove_memory)Short-term scratchpad memory per session (
add_to_scratchpad,read_scratchpad,clear_scratchpad)Bulk + lifecycle tools (
export_memories,import_memories,clear_all_memory,get_memory_stats)Local persistence via directory/mounted volume (works with Docker or native Python)
Related MCP server: Vector Memory MCP Server
📦 Components
src/memory_mcp/server.py- MCP tool gateway exposing REST-style calls to clientssrc/memory_mcp/db.py- vector storage logic (Chroma, SQLite gateway)mcp_client.py- example client for quickly testing call patternscheck_db.py/final_check.py- sanity checks for DB statetests/- existing and future test coverage tasks
🛠️ Endpoint methods (MCP tools)
Short-Term Scratchpad
`add_to_scratchpad(note, session_id)
`read_scratchpad(session_id)
clear_scratchpad(session_id)
Long-Term Memory
add_memory(content, tags, context)search_memory(query, session_id, tags, context, limit)update_memory(memory_id, content, tags, context)remove_memory(memory_id)
Administration
get_memory_stats()export_memories()import_memories(markdown_content)clear_all_memory(confirmation)
🧩 Install
Option 1: Docker (Recommended)
Build:
docker build -t memory-mcp .Run (persist data on host):
docker run -it --rm -v memory_data:/data -p 8000:8000 memory-mcpConfigure your MCP client to call the server command as appropriate.
Option 2: Native Python
Create and activate a virtual env:
python -m venv .venv .\.venv\Scripts\Activate.ps1 pip install -e .Start server directly:
python -m memory_mcp.server
Tip:
MEMORY_MCP_STORAGEcan override the default data path from./memory_data.
🧪 Test
Run tests with:
python -m pytest -qValidate basic memory API quickly:
python mcp_client.py # (if implemented as interactive example)🗂️ Data layout
memory_data/- persistent SQLite/Chroma state for native modememory_data/vector_db/- vector DB datamemory_data/chroma.sqlite3- metadata database
🧰 Usage samples
Add memory
client.add_memory('Your fact', tags=['fact'], context='user')Search memory
client.search_memory('fact about sky', limit=5)Export & restore
md = client.export_memories()
client.import_memories(md)✅ Keeping this README up to date
Always reflect actual available methods in
src/memory_mcp/server.pyAdd new methods in Features + Usage sections
Ensure install section includes the latest dependency/runtime directives from
pyproject.toml
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
- Alicense-qualityAmaintenanceProvides infinite long-term memory for AI agents with persistent, searchable storage of project details, preferences, and snippets. Reduces token costs by retrieving only relevant memories while keeping all data stored locally.Last updated153MIT
- Alicense-qualityDmaintenanceProvides local vector-based semantic memory storage for AI assistants to persist context and decisions across sessions using local embeddings and LanceDB. It enables private semantic search and session handoff capabilities to maintain long-term project context.Last updated1195MIT
- Alicense-quality-maintenanceProvides AI coding agents with persistent, long-term memory through local semantic search and SQLite storage. It enables agents to save and retrieve architectural decisions or project context across different conversation sessions without requiring cloud services.Last updated
- Alicense-qualityBmaintenanceEnables AI agents to maintain persistent, local memory with retrieval-augmented search, knowledge graphs, and context surfacing, without any cloud dependencies.Last updated840MIT
Related MCP Connectors
Persistent memory for AI agents. Search, store, and recall across sessions.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Persistent memory for AI agents — verbatim conversations, searchable by meaning.
Appeared in Searches
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/burgessadrien/memory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server