forked from PiGrieco/mcp-memory-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
116 lines (97 loc) · 2.34 KB
/
Copy pathenv.example
File metadata and controls
116 lines (97 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# MCP Memory Server Environment Variables
# Copy this file to .env and modify as needed
# Environment
ENVIRONMENT=development
DEBUG=true
TESTING=false
# Server Configuration
SERVER_HOST=localhost
SERVER_PORT=8000
SERVER_MODE=universal
# Database Configuration
MONGODB_URI=mongodb://localhost:27017
MONGODB_DATABASE=mcp_memory
MONGODB_USERNAME=
MONGODB_PASSWORD=
MONGODB_AUTH_SOURCE=admin
# Redis Configuration (Optional)
REDIS_ENABLED=false
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# Embedding Model Configuration
EMBEDDING_MODEL_NAME=sentence-transformers/all-MiniLM-L6-v2
EMBEDDING_MODEL_PATH=./models/embeddings
EMBEDDING_DEVICE=auto
# Memory Configuration
MEMORY_AUTO_SAVE_ENABLED=true
MEMORY_AUTO_SAVE_THRESHOLD=0.7
MEMORY_SEARCH_MAX_RESULTS=10
MEMORY_SEARCH_SIMILARITY_THRESHOLD=0.5
# Plugin Configuration
PLUGINS_AUTO_LOAD=true
PLUGINS_DIRECTORY=./plugins
# Cache Configuration
CACHE_MEMORY_TTL=3600
CACHE_SEARCH_TTL=1800
CACHE_MAX_MEMORY_SIZE=1000
# Backup Configuration
BACKUP_ENABLED=true
BACKUP_SCHEDULE=0 2 * * *
BACKUP_RETENTION_DAYS=30
BACKUP_COMPRESSION=true
BACKUP_STORAGE_PATH=./backups
# Notification Configuration
NOTIFICATIONS_ENABLED=false
EMAIL_SMTP_HOST=smtp.gmail.com
EMAIL_SMTP_PORT=587
EMAIL_USERNAME=
EMAIL_PASSWORD=
EMAIL_FROM_EMAIL=
EMAIL_TO_EMAILS=
# Webhook Configuration
WEBHOOK_ENABLED=false
WEBHOOK_URL=
WEBHOOK_TIMEOUT=30
# Export Configuration
EXPORT_FORMATS=json,csv,markdown
EXPORT_COMPRESSION=true
EXPORT_INCLUDE_EMBEDDINGS=false
EXPORT_BATCH_SIZE=100
# Monitoring Configuration
MONITORING_ENABLED=true
METRICS_PORT=9090
HEALTH_CHECK_INTERVAL=30
# Security Configuration
API_KEY_REQUIRED=false
API_KEY=
CORS_ENABLED=true
CORS_ORIGINS=*
# Performance Configuration
MAX_CONCURRENT_REQUESTS=100
REQUEST_TIMEOUT=30
MEMORY_LIMIT=1GB
WORKER_PROCESSES=4
# Logging Configuration
LOG_LEVEL=INFO
LOG_FORMAT=%(asctime)s - %(name)s - %(levelname)s - %(message)s
LOG_FILE_ROTATION=true
LOG_MAX_FILE_SIZE=10MB
LOG_BACKUP_COUNT=5
LOG_CONSOLE_OUTPUT=true
LOG_FILE_OUTPUT=true
# Paths Configuration
DATA_DIR=./data
LOGS_DIR=./logs
MODELS_DIR=./models
PLUGINS_DIR=./plugins
EXPORTS_DIR=./exports
BACKUPS_DIR=./backups
# Platform Specific Configuration
CURSOR_CONFIG_PATH=./config/cursor_config.json
CLAUDE_CONFIG_PATH=./config/claude_config.json
# Development Configuration
PYTHONPATH=./src
PYTHONUNBUFFERED=1
PYTHONDONTWRITEBYTECODE=1