Skip to content

Configuration

Use worktable setup to save CLI settings. worktable paths shows resolved locations, and worktable status shows the active host and workspace. Environment variables below configure the server process; they are not a universal override for saved CLI or Desktop settings. A managed service must receive changed settings through its launch configuration and be restarted.

These environment variables and the Workspace URL control apply to local and self-hosted Worktable installs. Worktable Cloud manages its address and storage configuration for you.

Variable Purpose Default
PORT Server port 7480
HOST Bind interface (127.0.0.1 loopback; non-loopback implies reachable) 127.0.0.1
WORKTABLE_WORKSPACE Workspace root folder ~/Worktable
WORKTABLE_APP_DIR Machine-private app data folder macOS Application Support, or ~/.config/worktable
WORKTABLE_MCP_TOKEN Explicit owner bearer credential for MCP; leaving it unset does not disable other authentication requirements unset
WORKTABLE_OWNER_PASSWORD Owner password for reachable mode, set non-interactively unset
WORKTABLE_DEBUG Set to 1 to log every request and file change, with document paths and error messages. Otherwise the server logs only requests that fail or take longer than 500 ms, by route, and names documents by an opaque id unset
WORKTABLE_NO_UPDATE_CHECK Disable update checks — status, update --check, and the CLI’s and web app’s passive update nudges unset
WORKTABLE_PUBLIC_URL The origin agents and links should use when a tunnel or reverse proxy fronts a local or self-hosted install (an absolute http(s)://host origin, no path). Requires an owner password, same as reachable mode. Same setting as Settings → General → Workspace URL in the web app; the env var wins when both are set unset
WORKTABLE_BOOT_TIMING Set to 1 to log how long each server startup phase takes unset
WORKTABLE_MCP_PREVIEW Set to 1 to give agents tool changes that aren’t released yet, or 0 to keep the released tools. Overrides Settings → Agents → Preview agent tools unset
WORKTABLE_MCP_MODERN Set to 1 to also serve MCP revision 2026-07-28 over HTTP, or 0 to serve only the earlier revisions. Enabled by default; 0 is the off switch unset
WORKTABLE_FILES Set to 0 to turn off file features: files in a Space’s folder stop showing as part of the Space, and uploads are refused. Use it only as a way back if a folder’s files cause trouble unset

WORKTABLE_REQUIRE_AUTH is an internal launch-policy flag. Do not use it to bypass authentication. The effective bind, public URL, explicit credential, and authorization provider determine access requirements.

The installer has its own overrides (WORKTABLE_INSTALL_DIR, WORKTABLE_APP_DIR, WORKTABLE_VERSION, WORKTABLE_RELEASE_BASE_URL).

On worktable setup and worktable launch:

Flag What it does
--reachable Bind all interfaces so other machines can connect. The web app goes behind an owner password, MCP behind a bearer token.
--owner-password <pw> Set the owner password non-interactively (or use WORKTABLE_OWNER_PASSWORD). Required to bind non-loopback.
--behind-tls You front Worktable with HTTPS (a tunnel or proxy); suppresses the plain-HTTP reminder. The reminder only — not auth.
-H, --host <host> Explicit bind host. A non-loopback host implies reachable.

The walkthrough is in Remote access; the model behind it is in Security.