loading…
Search for a command to run...
loading…
A FastAPI-based MCP server orchestrated with Docker Compose, integrating Redis caching and TimescaleDB for time-series data management.
A FastAPI-based MCP server orchestrated with Docker Compose, integrating Redis caching and TimescaleDB for time-series data management.
This repository sets up a Model Context Protocol (MCP) Server using Docker, integrating Redis and TimescaleDB for efficient data management.
.env file.mcp-server-docker/
├── app/
│ └── app.py
├── .env.example
├── docker-compose.yml
├── Dockerfile
├── requirements.txt
├── scripts/
│ ├── bootstrap-mcp.sh
│ ├── full-bootstrap-mcp.sh
│ ├── init-repo.sh
│ ├── push-repo.sh
│ └── setup-mcpserver.sh
└── README.md
Clone the Repository:
git clone https://github.com/chuckwilliams37/mcp-server-docker.git
cd mcp-server-docker
Configure Environment Variables:
cp .env.example .env
Modify .env as needed.
Build and Start the Containers:
docker compose build
docker compose up -d
Access the MCP Server:
http://localhost:8080
Create a systemd service to keep your app alive:
sudo nano /etc/systemd/system/mcp-docker.service
Paste:
[Unit]
Description=MCP Docker Compose App
Requires=docker.service
After=docker.service
[Service]
WorkingDirectory=/home/youruser/mcp-server-docker
ExecStart=/usr/bin/docker compose up -d
ExecStop=/usr/bin/docker compose down
Restart=always
TimeoutStartSec=0
[Install]
WantedBy=multi-user.target
Enable it:
sudo systemctl daemon-reload
sudo systemctl enable mcp-docker
sudo systemctl start mcp-docker
The scripts/ directory contains utility scripts to automate infrastructure tasks.
scripts/full-bootstrap-mcp.sh💡 Use this on a fresh Ubuntu VM to fully prepare it for MCP deployment. It:
oh-my-zsh with the jonathan themedocker composechmod +x scripts/full-bootstrap-mcp.sh
./scripts/full-bootstrap-mcp.sh
scripts/init-repo.shInitializes a new local Git repository and commits the current directory:
chmod +x scripts/init-repo.sh
./scripts/init-repo.sh
scripts/push-repo.shPushes your local repo to a remote (update URL first):
chmod +x scripts/push-repo.sh
./scripts/push-repo.sh
scripts/setup-mcpserver.shConfigures your local SSH environment to access a remote MCP server:
chmod +x scripts/setup-mcpserver.sh
./scripts/setup-mcpserver.sh
⚠️ Edit placeholder values (e.g., IPs, usernames, repo URLs) before executing.
Feel free to fork this repository, submit issues, or create pull requests.
This project is licensed under the MIT License.
Run in your terminal:
claude mcp add mcp-server-with-docker-redis-and-timescaledb -- npx Yes, Server With Docker, Redis, And TimescaleDB MCP is free — one-click install via Unyly at no cost.
No, Server With Docker, Redis, And TimescaleDB runs without API keys or environment variables.
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
Open Server With Docker, Redis, And TimescaleDB on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Query your database in natural language
by AnthropicA universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devThis server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashRead-only database access with schema inspection.
by modelcontextprotocolNot sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs