Overview
Docker Compose provides the fastest way to get MCP Platform running locally for development, testing, or small-scale production deployments.For production environments with high availability requirements, consider the
Terraform deployment for AWS infrastructure.
Quick Start
Get MCP Platform running in 3 minutes:- Platform UI: http://localhost:3000
- API Documentation: http://localhost:3000/docs
Prerequisites
System Requirements
- CPU: 2+ cores - RAM: 4GB+ - Storage: 10GB+ free space - OS: Linux, macOS, or Windows
Software Requirements
- Docker: Latest version - Docker Compose: v2.0+ - Git: For cloning the repository
Install Docker
- macOS
- Linux
- Windows
Configuration
Environment Variables
The.env.example file contains all necessary configuration. Key variables are in the “REQUIRED CONFIGURATION” section.
Generate Secure Values
Services
Your deployment includes these services:PostgreSQL Database
Image: postgres:12 Volume: Persistent data storage
Redis Cache
Image: redis:7-alpine Purpose: Session storage and caching
Backend API
Build: ./backend Features: FastAPI with auto-reload
Frontend Web App
Build: ./webapp Features: React with hot reloading
Reverse Proxy
Image: nginx:1.25-alpine Port: 3000 Purpose: Routes requests to
the backend and frontend services
Deployment Steps
1
Clone and Setup
2
Start Services
First startup takes a few minutes to download images and initialize the database.
3
Verify Deployment
4
Access Application
- Open http://localhost:3000 in your browser
- Login with credentials from your
.envfile - Explore the platform interface
Common Commands
View Logs
View Logs
Restart Services
Restart Services
Database Access
Database Access
Clean Up
Clean Up
Production Considerations
Reverse Proxy
The included Nginx proxy acts as the main entry point for the application. It handles routing between the frontend and backend services. For production, you should consider configuring SSL certificates and domain names.Monitoring
Basic monitoring is included. Check service health:Troubleshooting
Database Issues
Database Issues
Error: Database connection failedSolution:
Build Failures
Build Failures
Error: Build failsSolution:
Permission Issues (Linux)
Permission Issues (Linux)
Error: Permission deniedSolution:
Next Steps
Explore the Platform
Create users, groups, roles, and policies through the web interface
API Documentation
Explore the interactive API documentation
Production Deployment
Deploy to AWS with Terraform for production use
Configuration Guide
Configure integrations and advanced settings