An MCP server that provides persistent memory and context management across sessions
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Intelligent memory management for MCP clients with confidence tracking, relationship mapping, and knowledge quality maintenance.
Memento is an MCP server that provides persistent memory capabilities across multiple platforms:
Build a personal or team knowledge base that grows smarter over time, accessible from all your development tools.
What is Memento? Imagine you're solving a complex bug, figuring out a tricky configuration, or establishing a new coding pattern. Usually, you'd forget the details in a few weeks. Memento is a "long-term memory drive" for your AI assistant. It allows your AI to save these solutions, decisions, and facts so it can recall them instantly across different projects, even months later.
π‘ The Agentic Mindset: A Guide for Traditional Developers If you are used to deterministic software (where things happen automatically because a script says so), interacting with AI agents requires a slight mental shift.
Memento is not an autonomous agent that watches your screen and magically decides what to remember. Instead, Memento is a toolbelt provided to your AI assistant (like Claude, Cursor, or Gemini).
.cursorrules/CLAUDE.md files) so it knows to automatically save certain things, like bug fixes or architecture decisions.How to build the habit:
Alternatively, you can add custom instructions to your AI (see our Agent Configuration Guide) to make it automatically execute these steps without you having to ask every time.
confidence Γ importance| Profile | Tools | Best For |
|---|---|---|
| Core | 13 tools | All users - Essential operations |
| Extended | 17 tools | Power users - Statistics, contextual search, decay control |
| Advanced | 25 tools | Administrators - Graph analysis |
Memento supports multiple configuration methods. For clarity, we recommend using one method consistently:
Method 1: CLI Arguments (recommended - most explicit)
Method 2: Environment Variables
Method 3: YAML Configuration File
Create ~/.mcp-memento/config.yaml:
Then use minimal JSON config:
CLI Agents (Gemini CLI):
Note: The exact flag syntax depends on your Gemini CLI version. Refer to AGENT_CONFIGURATION.md for version-specific setup instructions.
Once configured, your AI assistant can now:
π Note: The code above represents MCP tool calls β instructions you give your AI assistant (Claude, Cursor, Gemini, etc.) to invoke Memento's tools. This is not a Python library you can
import. For programmatic Python access see the Python Integration Guide.
π¬ Natural Language: You can also interact with Memento through natural conversation. Just tell your AI assistant things like "Remember that..." or "Store this..." or "Memento..."- no code required.
For a deep dive into Memento's concepts (Confidence System, Tagging, Relationships), please read the comprehensive RULES.md and RELATIONSHIPS.md documentation.
Memento works with all major development tools:
| Platform | Configuration Guide | Notes |
|---|---|---|
| Zed Editor | IDE Integration | Native MCP support |
| Cursor | IDE Integration | AI-powered editor |
| Windsurf | IDE Integration | Modern code editor |
| VSCode | IDE Integration | Via MCP extension |
| Claude Desktop | IDE Integration | Desktop application |
| Gemini CLI | Agent Integration | Google's CLI agent |
| Claude CLI | Agent Integration | Anthropic's CLI agent |
| Python / MCP Client | Python Integration | Embed server or call via MCP client |
| Docker / CLI | API & Programmatic | MCP client, Docker, export/import |
See also: Integration Overview for guidance on choosing the right integration.
The examples below show the MCP tool calls that an AI assistant (Zed, Cursor, Claude, Gemini CLI, β¦) executes on your behalf when you ask it to remember or retrieve something. They are written in a Python-like pseudocode that mirrors the MCP tool interface β they are not a Python library you import directly.
To call these tools programmatically from Python, use the
mcpclient library. See Python Integration for a working example.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-memento)<a href="https://allmcps.com/mcp/mcp-memento"><img src="https://allmcps.com/api/badge/mcp-memento?style=directory" alt="MCP Memento on AllMCPs" /></a>