FastMCP Memory Bank Server
A FastMCP application built for managing user-related memory in Upstash Redis.
Prerequisites
- Python >= 3.11
- uv (install using pip install uv or https://docs.astral.sh/uv/)
- Upstash Redis Instance (https://upstash.com/)
- Docker Desktop
- Docker Compose
Running the standalone project
- Install prerequisites
- Run
uv venvto create a virtual environment - Run
./.venv/Scripts/activate(Windows) orsource ./.venv/bin/activate(MacOS) - Run
uv syncto install dependencies - Copy
.env.exampleto.envand add Upstash endpont and API key there - Run
fastmcp run main.py:mcp --transport http --port 8000 - Or run with docker by
docker build -t memory-bank-mcp .anddocker run -p 8000:8000 --env-file .env memory-bank-mcp - Connect to the server at
http://127.0.0.1:8000/mcpusing MCP Inspector, Postman or your custom MCP client.
