Variables
Where They’re Used
- CLI —
theo complete,theo status,theo verify,theo skill publishall readTHEO_API_KEY.theo statusalso probes both apex andwwwregardless of which oneTHEO_BASE_URLpoints at, so a misconfigured env var is surfaced as a warning. - MCP Server — The
@hitheo/mcpserver readsTHEO_API_KEYon startup and injects it into every tool call.THEO_BASE_URLdefaults tohttps://www.hitheo.aias of@hitheo/mcp@0.2.0. - SDK — For programmatic use, pass the key directly:
Setting Variables
Precedence
- Explicit constructor parameter (SDK) or CLI flag
- Environment variable
.envfile in the current directory Explicit values always override environment variables.
