Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AI_BROWSER_PORTNoWebSocket port for the control server (default 9223). Must be consistent across the app and the MCP server.
ELECTRON_MIRRORNoMirror for the Electron binary download, e.g. https://npmmirror.com/mirrors/electron/
AI_BROWSER_FOCUSNoFocus behaviour: 'always' (show + moveTop + focus on every action), 'never' (never touch window state or page focus). Default is auto.
AI_BROWSER_BRANDSNoSet to 'chrome' to re-run the Google sign-in comparison arm. Do not ship.
AI_BROWSER_BG_MUTENoSet to 0 to turn off muting of background tabs in agent groups (default: on).
AI_BROWSER_SANDBOXNoSet to 1 to turn on Chromium's OS sandbox (off by default, deliberately).
AI_BROWSER_IDENTITYNoSet to 0 to disable the browser identity override. Do not ship.
AI_BROWSER_WATCHDOGNoSet to 0 (also accepts off/false/no) to turn the network watchdog off entirely.
AI_BROWSER_TAB_LIMITNoPer-agent tab group cap (default 8).
AI_BROWSER_USER_DATANoOverride the user-data directory (default ~/.ai-browser). Separate directories are separate session stores.
AI_BROWSER_POPUP_SHIMNoOpt-in toggle for the window.open shim.
AI_BROWSER_CANVAS_HOOKNoCanvas draw-call recorder: 0 disables, 1 enables everywhere, or a comma-separated list of origins (subdomains included). Off by default.
AI_BROWSER_HOT_REPAINTNoSet to 'hard' to upgrade repaint on navigation-finish, tab switch and window re-show (accepts flicker). Default is soft.
AI_BROWSER_INPUT_FOCUSNoSet to 0 to disable page-focus emulation for tabs that cannot receive input.
AI_BROWSER_ERROR_BANNERNoSet to 0 to disable the in-window error banner.
AI_BROWSER_ERROR_DIALOGNoSet to 1 to force a modal error dialog (blocks the main process; startup-crash debugging only).
AI_BROWSER_START_HIDDENNoSet to 1 to run with no window at all; click the Dock icon to bring it up.
AI_BROWSER_WATCHDOG_URLSNoComma-separated URLs the network watchdog probes. Default is example.com plus www.baidu.com.
AI_BROWSER_WS_ALLOW_ORIGINNoSet to 1 to disable the WebSocket Origin header check. Debug only; it re-opens the page → browser path.
AI_BROWSER_ACTION_TIMEOUT_MSNoGlobal override for action timeouts (1s floor, 300s cap).

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