Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP / MCP server listen port8000
API_KEYNoFallback authentication key used when WEB_FETCHER_API_KEY is not set.
NODE_ENVNoSpecify 'production' to enable Fail-Closed behavior, rejecting all requests with 401 if auth key is unset at startup (default is Fail-Open).
NO_PROXYNoList of hosts to bypass proxy (comma-separated, e.g. localhost,127.0.0.1,.local)
no_proxyNoList of hosts to bypass proxy (comma-separated, e.g. localhost,127.0.0.1,.local)
ALL_PROXYNoStandard general-purpose proxy URL (SOCKS5 etc.)
all_proxyNoStandard general-purpose proxy URL (SOCKS5 etc.)
CHROME_BINNoExplicitly specify the path to the Chromium executable (if not set, standard paths and PATH are auto-searched)
HTTP_PROXYNoStandard HTTP proxy URL (automatically applied to Bun fetch and Chromium headless browser)
LOG_FORMATNoSet 'json' to output request logs as structured JSON
http_proxyNoStandard HTTP proxy URL (automatically applied to Bun fetch and Chromium headless browser)
CHROME_PATHNoExplicitly specify the path to the Chromium executable (if not set, standard paths and PATH are auto-searched)
HTTPS_PROXYNoStandard HTTPS proxy URL (automatically applied to Chromium and external HTTPS communication)
https_proxyNoStandard HTTPS proxy URL (automatically applied to Chromium and external HTTPS communication)
SORA_DB_PATHNoPath to the SQLite database file (stores cache, monitored targets, domain-specific cookies/localStorage. File is automatically restricted to 0600)./data/sora.db
SORA_PROXY_URLNoDedicated proxy URL for Sora (highest priority). Supports http://, https://, socks5://
ENABLED_MODULESNoEnabled modules (comma-separated: web,browser,yahoo,life,disaster,watch,music,gov,trade or all)all
SORA_PROXY_LISTNoComma-separated list of proxy URLs for static fetch. When set, rotates randomly per request (takes precedence over SORA_PROXY_URL). Cannot be specified from MCP/REST request parameters for SSRF protection.
SORA_DEFER_TOOLSNoEnable hybrid mode with 11 core tools always exposed and special tools lazily discovered. false loads all 36 tools statically.true
ALLOW_LOCAL_FETCHNoIf true, allows scraping of localhost / private IP addresses (relaxation of SSRF protection, test use only)false
ALLOW_LOCAL_NO_AUTHNoIf true, allows access without API key only for direct local connections without X-Forwarded-For / X-Real-IP headers. Do not enable behind a reverse proxy.false
DAILY_REQUEST_LIMITNoDaily maximum number of requests per API key (rate limit control). Unlimited if not set.
WEB_FETCHER_API_KEYNoServer-side API authentication key (highest priority). When set, authentication with Authorization: Bearer <key> or X-API-Key header is required.
ALLOW_BROWSER_EVALUATENoIf false, completely blocks evaluate (arbitrary JS execution) in /browser/actiontrue
ADMIN_ALERT_WEBHOOK_URLNoAdmin alert webhook URL to send when external dependency failures are detected via /health?detailed=true
MAX_CONCURRENT_BROWSERSNoMaximum number of concurrent Chromium browser sessions to start/execute5
PUPPETEER_EXECUTABLE_PATHNoExplicitly specify the path to the Chromium executable (if not set, standard paths and PATH are auto-searched)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources