Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENCODE_AUTO_STARTNoWhen true, automatically spawns opencode serve if no server is reachable. Set to false in managed environments.true
OPENCODE_SERVER_URLNoBase URL of the OpenCode REST API server.http://127.0.0.1:4096
OPENCODE_MAX_RETRIESNoMaximum number of retry attempts for failed requests (applies to 429, 5xx, and connection errors).3
OPENCODE_AUTO_START_PORTNoPort number for the automatically provisioned OpenCode server.4096
OPENCODE_SERVER_PASSWORDNoHTTP Basic Authentication password. Leave empty to disable authentication.
OPENCODE_SERVER_USERNAMENoHTTP Basic Authentication username (applied when a password is configured).opencode

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