-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
48 lines (35 loc) · 1.31 KB
/
.env.example
File metadata and controls
48 lines (35 loc) · 1.31 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
# ====================================
# Codex Configuration
# ====================================
# Required: Set a strong password to protect your wiki
# This password will be hashed on server startup
AUTH_PASSWORD=your-secure-password-here
# Optional: Server port (default: 3001)
PORT=3001
# Optional: Client URL for CORS (default: http://localhost:3000)
CLIENT_URL=http://localhost:3000
# Optional: Session secret for encrypting cookies
# Change this in production to a random string
SESSION_SECRET=change-this-to-a-random-string-in-production
# Optional: Node environment
NODE_ENV=development
# ====================================
# MCP Server Configuration
# ====================================
# Enable MCP server for AI agent access (Claude, Copilot, etc.)
# Enable/disable MCP server (default: false)
MCP_ENABLED=false
# MCP server port (default: 3002)
MCP_PORT=3002
# MCP server host (default: 0.0.0.0)
# Use 127.0.0.1 to restrict to localhost only
MCP_HOST=0.0.0.0
# API key for MCP authentication (required for production)
# Clients must provide this key in Authorization header
MCP_API_KEY=your-mcp-api-key-here
# Session timeout in milliseconds (default: 24 hours)
MCP_SESSION_TTL_MS=86400000
# Maximum sessions per API key (default: 100)
MCP_MAX_SESSIONS=100
# Enable debug logging (default: false)
MCP_DEBUG=false