Simple-Memory-Extension
An MCP server to extend the context of agents. Useful when coding big features or vibe coding and need to store/recall progress, key moments or changes or anything worth remembering. Simply ask the agent to store memories and recall whenever you want.
claude mcp add --transport stdio gmacev-simple-memory-extension-mcp-server node server.js \ --env PORT="3000" \ --env DB_PATH="./data/context.db" \ --env LOG_LEVEL="info" \ --env USE_HTTP_SSE="true"
How to use
This MCP server provides a memory extension for agents by offering a simple context item store with namespaces, plus semantic search capabilities. You can store, retrieve, and delete individual context items, organize them under namespaces, and perform semantic lookup to find relevant memories based on meaning rather than exact keys. The server exposes tools such as store_context_item, retrieve_context_item_by_key, delete_context_item, create_namespace, delete_namespace, list_namespaces, list_context_item_keys, and retrieve_context_items_by_semantic_search. Use the provided semantic search to pull in relevant memories or notes when building or refining long-running tasks, and let the agent manage its memory through cursor rules or direct item manipulation as needed.
How to install
Prerequisites:
- Node.js and npm installed on your system
- Basic familiarity with running commands in a terminal
Installation steps:
- Clone the repository or create a project folder for the MCP server
- Install dependencies
npm install
- Start the server
npm start
- Configure the MCP connection in your client or orchestrator to point to the server (for example, http://localhost:3000/sse) and enable the desired trust settings if needed.
Note: The server uses environment variables to configure storage and port. See the .env section below for recommended defaults.
Additional notes
Environment variables and configuration tips:
- DB_PATH controls where the SQLite database is stored. Ensure the directory exists or is writable by the process.
- PORT sets the HTTP server port (default 3000). If you run behind a reverse proxy, adjust accordingly.
- USE_HTTP_SSE selects the transport; set to true to use HTTP SSE, or false to use alternative transport if supported.
- LOG_LEVEL can be debug, info, warn, or error; adjust for your debugging needs. Common issues:
- If the server fails to start due to port in use, choose another port and update PORT accordingly.
- Ensure you have the necessary permissions to read/write the DB_PATH location.
NPM package name (if used as an npm-based deployment): gmacev-simple-memory-extension-mcp-server
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud