-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
21 lines (15 loc) · 737 Bytes
/
.env.example
File metadata and controls
21 lines (15 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Required: bearer token for authenticating MCP clients
AUTH_TOKEN=your-secret-token-here
# Optional: server port (default 3500)
PORT=3500
# Optional: idle timeout in ms before sessions are killed (default 1800000 = 30 min)
IDLE_TIMEOUT=1800000
# Optional: base directory for session workspaces (default: cwd)
# Filesystem tools (read_file, list_directory) are sandboxed to this directory.
WORKSPACE_DIR=/path/to/workspace
# Optional: max concurrent SSE connections (default 10)
MAX_SSE_CONNECTIONS=10
# Optional: rate limit for POST /messages per IP per minute (default 120)
RATE_LIMIT_RPM=120
# Optional: forward extra env vars to child processes (prefix is stripped)
# CHILD_ENV_MY_CUSTOM_VAR=value --> MY_CUSTOM_VAR in child