Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MEDIA_GIDNoGID for the container process. Default is 1000.1000
MEDIA_UIDNoUID for the container process. Default is 1000.1000
MEDIA_MCP_PORTNoThe host port for the MCP HTTP endpoint. Container always listens on 8765. Default is 8766.8766
OPENROUTER_MODELNoThe OpenRouter model to use. Default is google/gemini-3.5-flash-lite. The selected model/provider must support the media input modality.google/gemini-3.5-flash-lite
MEDIA_HOST_FS_ROOTNoRoot filesystem path for media access. Defaults to / outside Docker./
OPENROUTER_API_KEYYesYour OpenRouter API key. Required for media analysis.
MEDIA_VIDEO_MAX_FPSNoMaximum frame rate for temporary video uploads. Default is 2.2
OPENROUTER_PROVIDERNoOptionally pins an OpenRouter provider/endpoint slug and disables provider fallback. Leave empty to allow OpenRouter routing.
MEDIA_REASONING_EFFORTNoControls thinking on compatible OpenRouter models. default leaves the provider policy unchanged; none disables thinking; low, minimal, medium, high, xhigh, and max request an effort level. Mutually exclusive with MEDIA_REASONING_MAX_TOKENS.default
OPENROUTER_AUDIO_MODELNoOptional separate OpenRouter model for audio input. There is no automatic model fallback.
MEDIA_REASONING_MAX_TOKENSNoSet a positive token budget for thinking on compatible models. Mutually exclusive with MEDIA_REASONING_EFFORT; leave MEDIA_REASONING_EFFORT=default when using this.
MEDIA_INSPECT_MAX_INTERVALSNoMaximum number of intervals returned per check in inspect_media. Default is 100.100
MEDIA_INSPECT_TIMEOUT_SECONDSNoTimeout in seconds for local media inspection. Default is 900.900

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