local-only server
The server can only run on the client’s local machine because it depends on local resources.
Memory MCP
A Model Context Protocol server for storing and retrieving memories using low-level Server implementation and SQLite storage.
Installation
This project uses uv for dependency management instead of pip. uv is a fast, reliable Python package installer and resolver.
Install using uv:
Or install directly from source:
For development:
If you don't have uv installed, you can install it following the official instructions.
Usage
Running the server
This will start the MCP server that allows you to store and retrieve memories.
Available Tools
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 memory
Debugging with MCP Inspect
MCP provides a handy command-line tool called mcp inspect
that allows you to debug and interact with your MCP server directly.
Setup
- First, make sure the MCP CLI tools are installed:
- Start the Memory MCP server in one terminal:
- In another terminal, connect to the running server using
mcp inspect
:
Using MCP Inspect
Once connected, you can:
List available tools
This will display all the tools provided by the Memory MCP server.
Call a tool
To call a tool, use the call
command followed by the tool name and any required arguments:
Debug Mode
You can enable debug mode to see detailed request and response information:
This helps you understand exactly what data is being sent to and received from the server.
Exploring Tool Schemas
To view the schema for a specific tool:
This shows the input schema, required parameters, and description for the tool.
Troubleshooting
If you encounter issues:
- Check the server logs in the terminal where your server is running for any error messages.
- In the MCP inspect terminal, enable debug mode with
debug on
to see raw requests and responses. - Ensure the tool parameters match the expected schema (check with the
tool
command). - If the server crashes, check for any uncaught exceptions in the server terminal.
Development
To contribute to the project, install the development dependencies:
Managing Dependencies
This project uses uv.lock
file to lock dependencies. To update dependencies:
Running tests
Code formatting
Linting
Type checking
This server cannot be installed
A Model Context Protocol server that allows users to store, retrieve, update, and delete memories using SQLite storage.