Skip to main content
Glama
Terminal MCP

Terminal MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
colsNoTerminal width in columns (CLI option: --cols).120
rowsNoTerminal height in rows (CLI option: --rows).40
shellNoShell to use (default: $SHELL or bash). CLI option: --shell.
recordNoEnable recording. Modes: always, on-failure, off. CLI option: --record [mode].always
sandboxNoEnable sandbox mode (restricts filesystem/network). CLI flag: --sandbox.false
headlessNoRun in headless mode (embedded PTY + MCP over stdio, no TTY needed). CLI flag: --headless.false
record-dirNoRecording output directory. CLI option: --record-dir.~/.local/state/terminal-mcp/recordings
max-durationNoMax recording duration in seconds. CLI option: --max-duration.3600
max-sessionsNoMax concurrent sessions. CLI option: --max-sessions.5
sandbox-configNoLoad sandbox config from a JSON file. CLI option: --sandbox-config.
idle-time-limitNoMax idle time between events in seconds. CLI option: --idle-time-limit.2
NO_UPDATE_NOTIFIERNoSet to 1 to opt out of update notifications entirely.
inactivity-timeoutNoStop after no output for this many seconds. CLI option: --inactivity-timeout.600
no-update-notifierNoPass this flag to opt out of update notifications. CLI flag: --no-update-notifier.false
session-idle-timeoutNoIdle non-default sessions are auto-destroyed after this period in seconds. CLI option: --session-idle-timeout.600

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