Core client variables
MCP variables
Generated MCP host configs prefer CLI args such as["mcp", "run", "--surface", "agent", "--model", "browsing"]. Use these
variables for process-level defaults, secrets, and backward-compatible host
setups. CLI flags override WEBCOMPUTE_MCP_SURFACE and
WEBCOMPUTE_MODEL_PROFILE.
Agent model variables
These variables configure MCPrun_web_agent when it is enabled on the agent or all surface. SDK web.agent() still requires explicit model config.
Common provider credential variables:
Model profiles store these provider credential variable names, not the raw provider key values. The key values are read from the environment at run time.