A Model Context Protocol server that allows users to store, retrieve, update, and delete memories using SQLite storage.
A Model Context Protocol server for storing and retrieving memories using low-level Server implementation and SQLite storage.
This project uses uv for dependency management instead of pip. uv is a fast, reliable Python package installer and resolver.
Install using uv:
uv pip install memory-mcp
Or install directly from source:
uv pip install .
For development:
uv pip install -e ".[dev]"
If you don't have uv installed, you can install it following the official instructions.
memory-mcp
This will start the MCP server that allows you to store and retrieve memories.
The Memory MCP provides the following tools:
remember
: Store a new memory with a title and contentget_memory
: Retrieve a specific memory by ID or titlelist_memories
: List all stored memoriesupdate_memory
: Update an existing memorydelete_memory
: Delete a memoryMCP provides a handy command-line tool called mcp inspect
that allows you to debug and interact with your MCP server directly.
uv pip install mcp[cli]
memory-mcp
mcp inspect
:mcp inspect
Once connected, you can:
> tools
This will display all the tools provided by the Memory MCP server.
To call a tool, use the call
command followed by the tool name and any required arguments:
> call remember title="Meeting Notes" content="Discussed project timeline and milestones."
> call list_memories
> call get_memory memory_id=1
> call update_memory memory_id=1 title="Updated Title" content="Updated content."
> call delete_memory memory_id=1
You can enable debug mode to see detailed request and response information:
> debug on
This helps you understand exactly what data is being sent to and received from the server.
To view the schema for a specific tool:
> tool remember
This shows the input schema, required parameters, and description for the tool.
If you encounter issues:
debug on
to see raw requests and responses.tool
command).To contribute to the project, install the development dependencies:
uv pip install -e ".[dev]"
This project uses uv.lock
file to lock dependencies. To update dependencies:
uv pip compile pyproject.toml -o uv.lock
python -m pytest
black memory_mcp tests
ruff check memory_mcp tests
mypy memory_mcp
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!