.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
MC_COOKIE_SECURE
MC_COOKIE_SAMESITE
MC_ALLOW_ANY_HOST
Network access control (production: blocked unless host is explicitly allowed) Patterns: exact "app.example.com", subdomain…
MC_ALLOWED_HOSTS
GOOGLE_CLIENT_ID
Google OAuth (optional)
NEXT_PUBLIC_GOOGLE_CLIENT_ID
OPENCLAW_GATEWAY_HOST
─── Local Development ──────────────────────────────────────────────────────── Both MC and gateway run on the same machine. No special…
OPENCLAW_GATEWAY_PORT
NEXT_PUBLIC_GATEWAY_HOST
OPENCLAW_GATEWAY_TOKEN=
NEXT_PUBLIC_GATEWAY_PORT
OPENCLAW_HOME
═══════════════════════════════════════════════════════════════════════════════ OpenClaw Integration…
OPENCLAW_TOOLS_PROFILE
OPENCLAW_CONFIG_PATH=
NEXT_PUBLIC_GATEWAY_PROTOCOL
NEXT_PUBLIC_GATEWAY_URL
NEXT_PUBLIC_GATEWAY_CLIENT_ID
Do not expose gateway tokens via NEXT_PUBLIC_* variables.
MC_DEFAULT_GATEWAY_NAME
MC_COORDINATOR_AGENT
NEXT_PUBLIC_COORDINATOR_AGENT
OP_VAULT_NAME
═══════════════════════════════════════════════════════════════════════════════ 1Password Integration (optional)…