-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
24 lines (19 loc) · 836 Bytes
/
.env.example
File metadata and controls
24 lines (19 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# PostgreSQL connection (choose one option)
DATABASE_URL=postgresql://username:password@localhost:5432/mcp_memory?sslmode=disable
# Or configure discrete DB vars instead of DATABASE_URL
# DB_HOST=localhost
# DB_NAME=mcp_memory
# DB_USER=postgres
# DB_PASSWORD=postgres
# DB_PORT=5432
# DB_SSLMODE=disable
# API host safety controls
ENFORCE_HOST_CHECK=true
ALLOWED_API_HOSTS=localhost:8001,localhost:8000,127.0.0.1:8001,127.0.0.1:8000
# CORS + MCP host controls
CORS_ALLOW_ORIGINS=http://localhost:5173,http://localhost:5174,http://localhost:8081
MCP_ALLOWED_HOSTS=localhost,localhost:8000,localhost:8001,localhost:8002,127.0.0.1,127.0.0.1:8000,127.0.0.1:8001,127.0.0.1:8002
# Internal API base for mcp direct proxy
MEMORY_API_BASE=http://localhost:8001
# Optional bootstrap token for local-only setup
BOOTSTRAP_DEFAULT_TOKEN=false