Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CAMERASNoJSON for multiple cameras: object mapping camera IDs to sources, or array of camera objects.
DB_PATHNoSQLite database path.data/security.db
MCP_HOSTNoHTTP transport host.127.0.0.1
MCP_PORTNoHTTP transport port.8000
YOLO_CONFNoObject detection confidence threshold.0.5
FACE_MODELNoFace detection model: 'hog' or 'cnn'.hog
FACE_SCALENoScale at which faces are searched.0.25
YOLO_IMGSZNoYOLO inference size; must be a multiple of 32.
YOLO_MODELNoYOLOv8 model file.yolov8n.pt
YOLO_DEVICENoInference device: 'cpu', CUDA device index such as '0', or 'mps'. Default is auto.
CAMERA_SOURCENoCamera source for a single camera: USB device index, RTSP URL, or 'synthetic'.0
FACES_ENABLEDNoEnable or disable face recognition.
MCP_TRANSPORTNoMCP transport: 'stdio', 'sse', or 'streamable-http'.stdio
SNAPSHOTS_DIRNoDirectory for generated snapshots.snapshots
FACE_TOLERANCENoMaximum face distance to consider the same person.0.6
RTSP_TRANSPORTNoRTSP transport: 'tcp', 'udp', or 'auto'.tcp
KNOWN_FACES_DIRNoDirectory containing known-face reference photos.known_faces
ZONES_SEED_FILENoInitial restricted-zone seed file.config/zones.example.json
ALERT_WEBHOOK_URLNoJSON webhook URL for alerts.
MCP_ALLOWED_HOSTSNoComma-separated allowed Host headers for HTTP transport.
SNAPSHOT_ON_ALERTNoSave JPEG evidence on each alert.true
VISION_FAKE_MODELSNoUse fake models for demo/CI without YOLO or dlib.false
MCP_ALLOWED_ORIGINSNoComma-separated allowed Origin headers for HTTP transport.
FACES_WITHOUT_PERSONNoSearch faces even without a person detection.false
EVENT_COOLDOWN_SECONDSNoAnti-spam cooldown for the same event.20
FACE_STABILIZER_WINDOWNoFace recognition stabilization window.3
PROCESS_EVERY_N_FRAMESNoAnalyze AI every N frames.5
RECONNECT_DELAY_SECONDSNoRTSP reconnect backoff delay.5
PRESENCE_TIMEOUT_SECONDSNoSeconds without a detection before considering someone left a zone.2.5
FACE_STABILIZER_MIN_VOTESNoMinimum votes for face recognition stabilization.2
INTRUSION_COOLDOWN_SECONDSNoAnti-spam cooldown for zone re-entry.30
MAX_RECONNECT_DELAY_SECONDSNoMaximum RTSP reconnect backoff delay.60

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