Requirements
Development Setup
Option 1: Docker Compose (Recommended)
Projects created withfrontmcp create --target node include Docker files in the ci/ folder:
Option 2: Local Installation
Configuration
Production Setup
Managed Redis Services (Recommended)
Self-Hosted Production
For self-hosted Redis in production:Security Best Practices
- Authentication: Always set
REDIS_PASSWORDin production - Network: Run Redis in private network, not exposed to internet
- TLS: Enable TLS for encrypted connections
- Persistence: Use AOF for durability (
appendonly yes)
Configuration Example
redis block to { provider: 'vercel-kv' } when deploying on Vercel KV—the Cache Plugin will keep reusing the same store without code changes.
Environment Variables
Redis Configuration
Plugin Secrets
In development,
REMEMBER_SECRET is auto-generated and stored in .frontmcp/remember-secret.json. Add this file to .gitignore. In production, always set REMEMBER_SECRET explicitly to ensure consistent encryption across instances.Health Checks
Troubleshooting
Connection Refused
- Verify Redis is running:
redis-cli ping - Check firewall rules
- Verify host/port configuration
Authentication Failed
- Ensure
REDIS_PASSWORDmatches server config - Check for special characters in password (may need URL encoding)
Memory Issues
- Set
maxmemoryandmaxmemory-policyin Redis config - Monitor with
redis-cli INFO memory
Docker Network Issues
When using Docker Compose, the app container should useredis as the hostname (the service name), not localhost: