Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_FILENoAlso write JSON logs to this file, with rotation. Unset by default. In Docker, mount a directory writable by UID 5678.
MCP_HOSTNoBind address. Only used when started with the `linux-mcp` command; the Docker image always binds `0.0.0.0:8000`.0.0.0.0
MCP_PORTNoBind port. Only used when started with the `linux-mcp` command.8000
LOG_LEVELNo`DEBUG`, `INFO`, `WARNING`, `ERROR`. `WARNING` keeps only rejected requests, blocked commands and failures.INFO
SSH_KEY_DIRNoDirectory where relative `key_file` values and `known_hosts` are resolved (default `./ssh`, `/ssh` in Docker)../ssh
CLIENTS_CONFIGNoPath to the clients file (default `./config/clients.yaml`, `/config/clients.yaml` in Docker)../config/clients.yaml
SERVERS_CONFIGNoPath to the servers file (default `./config/servers.yaml`, `/config/servers.yaml` in Docker)../config/servers.yaml
TRUSTED_PROXIESNoComma-separated IPs/CIDRs of reverse proxies. `X-Forwarded-For` / `X-Real-IP` are honored only when the request comes from one of these. Leave empty if clients connect directly. Default is empty.
LOG_FILE_BACKUPSNoNumber of rotated `LOG_FILE` backups to keep.5
ACCESS_LOG_FORMATNo`json` gives structured `http.request` events with client alias and real IP. `plain` gives uvicorn's standard access log. Audit events are JSON either way.json
LOG_FILE_MAX_BYTESNoRotation size for `LOG_FILE` (10 MB).10485760
LOG_MAX_OUTPUT_CHARSNoMax characters of each command's `stdout` / `stderr` written to the audit log. `0` means no limit.10000
SSH_STRICT_HOST_KEYSNo`true` rejects any SSH host not listed in `${SSH_KEY_DIR}/known_hosts`. Recommended in production. With `false`, unknown host keys are accepted automatically.false

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