Overview
Deploy the vCon MCP Server to production environments.
Overview
This guide covers:
Production deployment strategies
Security best practices
Performance optimization
Platform-specific guides
Quick Deployment Options
Option 1: Docker (Recommended)
# Pull from ECR Public
docker pull public.ecr.aws/r4g1k2s3/vcon-dev/vcon-mcp:main
# Run container
docker run -d -p 3000:3000 \
-e SUPABASE_URL=your-url \
-e SUPABASE_SERVICE_ROLE_KEY=your-service-role-key \
-e SUPABASE_ANON_KEY=your-anon-key \
-e MCP_HTTP_STATELESS=true \
public.ecr.aws/r4g1k2s3/vcon-dev/vcon-mcp:mainOr build locally:
Option 2: Node.js Direct
Option 3: Kubernetes
Documentation Sections
Environment configuration
Process management
Logging and monitoring
Backup strategies
Authentication and authorization
API security
Database security
Network security
Compliance considerations
Database optimization
Caching strategies
Query tuning
Load testing
Scaling strategies
Dockerfile configuration
Docker Compose setup
Multi-stage builds
Volume management
Deployment manifests
Service configuration
Ingress setup
Secrets management
AWS deployment
Google Cloud deployment
Azure deployment
Heroku deployment
Complete self-hosted deployment
Docker Compose stack with all services
Kong API Gateway configuration
Embedding job scheduling with Ofelia
Prerequisites
Node.js 18 or higher
PostgreSQL 14+ (or Supabase account)
Sufficient resources (see requirements)
System Requirements
Minimum
CPU: 1 core
RAM: 512 MB
Disk: 1 GB
Database: PostgreSQL 14+
Recommended
CPU: 2+ cores
RAM: 2 GB+
Disk: 10 GB+
Database: PostgreSQL 15+ with pgvector
Environment Variables
Tool Categories for Deployment
Control which tools are available based on deployment type:
Deployment Profiles
full
All
Development, full access
readonly
read, schema
Read-only API, dashboards
user
read, write, schema
End-user facing applications
admin
read, analytics, infra, schema
Admin/monitoring dashboards
minimal
read, write
Basic CRUD microservice
Configuration Options
Example: Read-Only Deployment
Example: User-Facing with Restricted Delete
Health Checks
The server provides health check endpoints:
Monitoring
Key metrics to monitor:
Request latency
Database connection pool
Memory usage
Error rates
Search performance
Next Steps
Review Security best practices
Set up Performance monitoring
Choose your deployment platform
Configure backups and disaster recovery
Last updated