Venelx Docs

Environment Variables

This page covers the variables you set: on your own build workers, for the MCP server, and for your projects' builds.

Project build variables

Variables your app needs at build time (API keys, EXPO_PUBLIC_* values, registry tokens) are stored per project, encrypted, and injected into each build. Set them in the dashboard under Project → Settings, or with the MCP tools set_env_var, list_env_vars, and delete_env_var. See the MCP guide.

Your GitHub token for private repositories is also a project variable — see the GitHub guide.

Customer worker (worker.env)

The Venelx Worker app reads ~/.venelx/worker.env (%USERPROFILE%\.venelx\worker.env on Windows). Pairing from the app fills in the essentials for you; everything else is optional. Set VENELX_WORKER_CONFIG to use a different file path.

VariableDefault / examplePurpose
WORKER_NAMEmac-studio-1Name shown in the dashboard; unique per machine
WORKER_PAIRING_TOKENfrom the dashboardCredential created when you pair the worker
API_URLhttps://api.venelx.comVenelx API base URL
WORKER_PLATFORMSios,android-preview,android-productionPlatforms this worker accepts
VENELX_WORKER_CONFIG~/.venelx/worker.envConfig file path
OUTPUT_DIR~/.venelx/buildsBuild workspace (logs, local artifacts)
PROJECT_DIR~/.venelx/projectsWhere repositories are checked out
EXPO_TOKEN—Expo access token for EAS-managed steps
ANDROID_HOME/opt/android-sdkAndroid SDK location (Android workers)
BUILD_TIMEOUT_MINUTES60Per-build timeout
WORKER_HEARTBEAT_INTERVAL_MS45000Heartbeat cadence
WORKER_CLAIM_POLL_MS15000Job-claim poll interval
WORKER_WS_HTTP_FALLBACK_MS30000Fall back to HTTP when the WebSocket has been down this long

Whether a project uses only your workers or falls back to Venelx shared workers is a per-project setting (Project → Settings → General → Worker routing), not a worker variable.

MCP server (@venelx/mcp)

VariableRequiredDefaultPurpose
VENELX_TOKENnosaved loginPersonal API token (vx_...). Not needed after npx @venelx/mcp login, which saves a token to ~/.venelx/mcp-token. See API tokens
VENELX_API_URLnohttps://api.venelx.comAPI base URL