Environment variables and headers

Broxy supports environment variables for STDIO servers and headers for HTTP/SSE/WS servers.

Env (STDIO)

Format:

  • One entry per line.
  • KEY:VALUE syntax.
  • Values may include placeholders.

Placeholders:

  • ${ENV_VAR}
  • {ENV_VAR}

Example:

GITHUB_TOKEN:{GITHUB_TOKEN}
PATH:{PATH}:/custom/bin

Notes:

  • Placeholders are replaced with values from your environment at runtime.
  • If a referenced variable is missing, Broxy reports a configuration error.

Headers (HTTP/SSE/WS)

Format:

  • One header per line.
  • Key:Value syntax.

Example:

X-Client:broxy
X-Project:docs

Notes:

  • Headers are sent with every request to that server.
  • If you set an Authorization header, Broxy skips OAuth discovery for that server.
No documentation matches your search.