Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ENABLE_SHELLNoEnable shell command executionfalse
ALLOWED_PATHSNoComma-separated list of allowed paths for file access
SECURITY_MODENoSecurity mode: READ_ONLY, WORKSPACE_WRITE, or FULL_LOCALREAD_ONLY
CACHE_TTL_DAYSNoCache TTL in days30
LOCAL_LLM_MODELNoThe model name. If empty, auto-detects a model containing 'gemma' or uses the first available model
LOG_MAX_SIZE_MBNoMaximum log file size in MB before rotation250
CACHE_MAX_SIZE_GBNoMaximum cache size in GB10
LOCAL_LLM_API_KEYNoAPI key for OpenAI-compatible providers
LOCAL_LLM_BASE_URLNoThe base URL of the LLM endpointhttp://127.0.0.1:11434
LOCAL_LLM_PROVIDERNoThe LLM provider to use (ollama, openai_compatible, etc.)ollama
LOG_RETENTION_DAYSNoNumber of days to retain log files14
MAX_PARALLEL_WORKERSNoMaximum number of parallel workers for batch delegation4
LOCAL_LLM_MAX_RETRIESNoMaximum number of retries0
CACHE_TARGET_USAGE_PERCENTNoTarget cache usage percentage after cleanup80
CACHE_CLEANUP_INTERVAL_HOURSNoInterval in hours between automatic cache cleanups6
CACHE_CLEANUP_THRESHOLD_PERCENTNoCache usage percentage threshold to trigger cleanup90
LOCAL_LLM_CONNECT_TIMEOUT_SECONDSNoConnection timeout in seconds2
LOCAL_LLM_REQUEST_TIMEOUT_SECONDSNoRequest timeout in seconds45
LOCAL_LLM_CIRCUIT_BREAKER_FAILURESNoNumber of failures before circuit breaker opens2
LOCAL_LLM_CIRCUIT_BREAKER_COOLDOWN_SECONDSNoCooldown period in seconds before circuit breaker allows a retry60

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CaioAllgayer/Local-Worker-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server