Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SHELLGATE_MODENoExecution mode: `full` (any command, dangerous ones require a one-time confirmation code) or `allowlist` (only allowed programs, `$()` and backticks forbidden)full
SHELLGATE_PORTNoPort the server listens on (default binds to 127.0.0.1)8790
SHELLGATE_TOKENYesBearer token used to authenticate requests to the MCP endpoint (installed with a randomly generated value at ~/.config/shellgate/env; change it and restart the service if leaked)
SHELLGATE_ALLOWED_DIRSNoDirectories where file writes are allowed (reads are also restricted in allowlist mode)$HOME,/tmp
SHELLGATE_DANGER_PATTERNSNoAdditional regular expressions that require a confirmation code
SHELLGATE_PROTECTED_PATHSNoAdditional paths to forbid access to
SHELLGATE_ALLOWED_COMMANDSNoPrograms allowed in allowlist mode

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