# Memory Engineering MCP - Environment Variables Template
# Copy this file to .env and fill in your actual values
# =============================================================================
# REQUIRED VARIABLES
# =============================================================================
# MongoDB Atlas Connection String
# Get this from your MongoDB Atlas dashboard -> Connect -> Drivers
# Format: mongodb+srv://username:password@cluster.mongodb.net/
MONGODB_URI=mongodb+srv://your-username:your-password@your-cluster.mongodb.net/
# Voyage AI API Key
# Get this from https://dash.voyageai.com/api-keys
# Used for generating embeddings for semantic search
VOYAGE_API_KEY=pa-your-voyage-api-key-here
# =============================================================================
# OPTIONAL VARIABLES (with defaults)
# =============================================================================
# Database Configuration
MEMORY_ENGINEERING_DB=memory_engineering
MEMORY_ENGINEERING_COLLECTION=memory_engineering_documents
# MongoDB Connection Pool Settings (official driver options)
MONGODB_MAX_POOL_SIZE=100
MONGODB_MIN_POOL_SIZE=5
# Development Settings
NODE_ENV=development
# Logging Configuration
# LOG_DIRECTORY=./logs
# =============================================================================
# USAGE INSTRUCTIONS
# =============================================================================
# 1. Copy this file: cp .env.example .env
# 2. Fill in your MongoDB URI and Voyage API key
# 3. Optionally customize the database/collection names
# 4. Run: npm run build && npm start
# =============================================================================
# GETTING YOUR CREDENTIALS
# =============================================================================
# MongoDB Atlas:
# 1. Sign up at https://cloud.mongodb.com/
# 2. Create a free cluster
# 3. Go to Database Access -> Add Database User
# 4. Go to Network Access -> Add IP Address (0.0.0.0/0 for development)
# 5. Go to Clusters -> Connect -> Drivers -> Copy connection string
# Voyage AI:
# 1. Sign up at https://dash.voyageai.com/
# 2. Go to API Keys -> Create New Key
# 3. Copy the key (starts with 'pa-')
# =============================================================================
# SECURITY NOTES
# =============================================================================
# - Never commit .env files to version control
# - Use strong passwords for MongoDB users
# - Restrict MongoDB network access in production
# - Rotate API keys regularly
# - Use environment-specific .env files (.env.production, .env.staging)
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/romiluz13/memory-engineering-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server