ekmire docs · by Flux8Labs
docs / reference/env-vars

Environment variables

Every environment variable used across the proxy, CLI, MCP server, and cloud control plane.

⏱ 6 min read

Proxy

VARIABLESCOPEDEFAULT
EKMIRE_API_KEYrequired—
EKMIRE_UPSTREAMrequired—
EKMIRE_CLOUDoptionalhttps://api.ekmire.com
EKMIRE_TARPIT_THRESHOLD_MSoptional800
EKMIRE_TARPIT_CONSECUTIVEoptional3
EKMIRE_SEMANTIC_BLOCK_SCOREoptional0.85
EKMIRE_SEMANTIC_LOG_SCOREoptional0.60
EKMIRE_SEMANTIC_FALLBACKoptionalpass
EKMIRE_LLM_TIMEOUT_MSoptional1500
EKMIRE_SCRAPER_POISONoptionaltrue

CLI

The CLI reads two environment variables. All other configuration is stored in ~/.ekmire/config (written by ekmire auth login).

VARIABLESCOPEDEFAULTDESCRIPTION
EKMIRE_CLOUDoptionalhttps://api.ekmire.comOverride the control plane URL. Only needed for self-hosted deployments.
NOTEThe API key is stored in ~/.ekmire/config after ekmire auth login, not in an environment variable. To use a different key without re-authenticating, write it directly to that file.

MCP server

The MCP server (ekmire mcp start) inherits the same credentials and config from ~/.ekmire/config as the rest of the CLI. No additional environment variables are required.