Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FERNHOP_DIRNoState directory.~/.fernhop
OPENCODE_PORTNoFirst port to use for the serve.4096
FERNHOP_CONFIGNoAlias config file.<state dir>/config.json
FERNHOP_NO_COPYNoWindows: run the serve from the original executable instead of a copy.
OPENCODE_BASE_URLNoUse an existing serve at this URL and never start one.
OPENCODE_BLOCK_MSNoLongest a run/check call blocks. Keep it under your client's tool-call timeout.50000
OPENCODE_PORT_SPANNoHow many ports to try, e.g. 4096–4105.10
OPENCODE_BRIDGE_DIRNoLegacy name for FERNHOP_DIR; still read for existing setups.
OPENCODE_EXECUTABLENoPath to the opencode binary, not a .cmd/.ps1 shim. Auto-detected by default.
OPENCODE_BRIDGE_CONFIGNoLegacy name for FERNHOP_CONFIG; still read for existing setups.
OPENCODE_BRIDGE_NO_COPYNoLegacy name for FERNHOP_NO_COPY; still read for existing setups.
OPENCODE_SERVER_PASSWORDNoPassword for an existing serve when using OPENCODE_BASE_URL.
OPENCODE_UPGRADE_CHECK_MSNoHow often to compare the installed OpenCode version with the running serve.600000

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