Skip to main content
Developers / configuration · v3.1.3

Configuration & Client Guides

Setup instructions for OpenCode, Codex, Antigravity IDE, Antigravity CLI, and environment variables.

Environment Variables

Local-first execution works out of the box with zero external services. Optional variables enable Central Monitor, Zettly sync, or Sentry integration.

VariableRequiredPurpose
WORKFLOW_PROJECT_DIRNoFallback project directory when session cwd is not a git repo
DEVWF_PUBLIC_LOCAL_FIRSTNoSet to 1 to force local-first standalone mode in fleet checks
DEVWF_MONITOR_URLOptionalBase URL for optional Central Monitor API / devwf monitor commands
DEVWF_MONITOR_TOKENOptionalBearer write token when pushing state to Central Monitor
DEVWF_SECURITY_MODENoDefaults to strict (blocks unsafe secret persistence)

OpenCode (~/.config/opencode/opencode.json)

Register dev-workflow as a local stdio MCP server pointing to your clone's index.js:

{
  "mcp": {
    "dev-workflow": {
      "type": "local",
      "command": ["node", "<PATH_TO_REPO>/index.js"],
      "enabled": true
    }
  }
}

Codex (~/.codex/config.toml)

Add an mcp_servers.dev-workflow entry to Codex config.toml:

[mcp_servers.dev-workflow]
command = "node"
args = ["<PATH_TO_REPO>/index.js"]

Antigravity IDE & Antigravity CLI

Configure mcpServers.dev-workflow in your Antigravity mcp_config.json (IDE or CLI config directory). Never commit or share non-empty user tokens; verify with devwf fleet doctor --json.

{
  "mcpServers": {
    "dev-workflow": {
      "command": "node",
      "args": ["<PATH_TO_REPO>/index.js"]
    }
  }
}