Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OC_DELEGATE_LABELNoPrefix of the OpenCode session title, whose remainder is the task name.codex-delegate:
OC_DELEGATE_MODELNoPins a default worker model. Unset falls back to the default model in OpenCode's own configuration (read through `opencode debug config`, never written); if that is unset too, OpenCode chooses.
OC_DELEGATE_STATENoWhere task records, turn logs and viewer records live. Defaults to $CODEX_HOME/opencode-delegate/state, else ~/.opencode-delegate/state.
OC_DELEGATE_WATCHNoSet to 0 to disable the viewer. Defaults to 1 on Windows, 0 elsewhere. Non-Windows watch requests fail before spawning a process.
OC_DELEGATE_PYTHONNoPython 3.9+ executable for the npm launcher; also used by the probe. Defaults to auto-discovered.
OC_DELEGATE_SERVERNoServer script override for `mcp_probe.py` only. Defaults to this folder.
OC_DELEGATE_OPENCODENoOverride the OpenCode executable path. Defaults to auto-discovered.
OC_DELEGATE_SESSION_WAITNoSeconds to wait for the viewer to become ready (capped at 60).20

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