π MCP Server with Docker, Redis, and TimescaleDB
@chuckwilliams37
MCP server with Docker, Redis, and TimescaleDB
Overview
What is π MCP Server with Docker, Redis, and TimescaleDB?
This server is a Model Context Protocol (MCP) server built with Docker, Redis, and TimescaleDB. It uses FastAPI as its web framework, integrates Redis for caching, TimescaleDB for time-series data storage, and Docker Compose to orchestrate the multi-container application.
How to use π MCP Server with Docker, Redis, and TimescaleDB?
Clone the repository, copy .env.example to .env and modify as needed, then run docker compose build followed by docker compose up -d. The server is accessible at http://localhost:8080. A systemd service can be configured for automatic restart on reboot.
Key features of π MCP Server with Docker, Redis, and TimescaleDB
- FastAPI web framework for the MCP server
- Redis for caching mechanisms
- TimescaleDB time-series database
- Docker Compose orchestrates multi-container deployment
- Environment variables configurable via
.env - Systemd service for auto-start on reboot
- Utility scripts for bootstrap, repo init, push, and SSH setup
Use cases of π MCP Server with Docker, Redis, and TimescaleDB
- Deploying an MCP server with caching and timeβseries storage
- Quickly provisioning a fresh Ubuntu VM for MCP via fullβbootstrap script
- Running the server as a system service that restarts automatically
- Managing the project with Git and pushing to remote repositories
- Accessing the server locally on port 8080
FAQ from π MCP Server with Docker, Redis, and TimescaleDB
What are the prerequisites?
Docker and Docker Compose installed on your system, plus Git. Zsh with Oh-My-Zsh is optional.
How do I configure the environment?
Copy .env.example to .env and edit the variables as needed.
How can I make the server restart automatically on reboot?
Create a systemd service file (example provided) and enable it with sudo systemctl enable mcp-docker.
What scripts are available in the repository?
The scripts/ directory includes full-bootstrap-mcp.sh for fresh Ubuntu VM setup, init-repo.sh for Git initialization, push-repo.sh for remote push, and setup-mcpserver.sh for SSH configuration.
How do I access the server?
After starting the containers with docker compose up -d, open http://localhost:8080 in a browser.