Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HTTP_PORTNoHTTP port.3000
MCP_TRANSPORTNoTransport mode (stdio or http).stdio
MCP_CORS_ORIGINSNoCORS origins (comma-separated, restrict in production).*
OPENCODE_TIMEOUTNoRequest timeout in ms.120000
OPENCODE_LOG_LEVELNoLog level (debug, info, warn, error, none).info
OPENCODE_AUTO_STARTNoAuto-start OpenCode.true
OPENCODE_SERVER_URLNoOpenCode server URL.http://localhost:4096
OPENCODE_CONFIG_PATHNoPath to opencode.json for config persistence. Auto-detected by default.
OPENCODE_DEFAULT_MODELNoDefault model.
OPENCODE_LOG_TIMESTAMPNoInclude timestamps in logs.false
OPENCODE_DEFAULT_PROJECTNoDefault project directory (used when workingDirectory not specified).

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