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.
| Variable | Required | Purpose |
|---|---|---|
| WORKFLOW_PROJECT_DIR | No | Fallback project directory when session cwd is not a git repo |
| DEVWF_PUBLIC_LOCAL_FIRST | No | Set to 1 to force local-first standalone mode in fleet checks |
| DEVWF_MONITOR_URL | Optional | Base URL for optional Central Monitor API / devwf monitor commands |
| DEVWF_MONITOR_TOKEN | Optional | Bearer write token when pushing state to Central Monitor |
| DEVWF_SECURITY_MODE | No | Defaults 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"]
}
}
}