Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_EXEC_TIMEOUTNoCommand timeout in milliseconds.300000
MCP_EXEC_MAX_MEMORYNoMaximum memory usage in MB.1024
MCP_EXEC_STRIP_ANSINoStrip ANSI escape codes.true
MCP_EXEC_MAX_SESSIONSNoMaximum concurrent sessions.10
MCP_EXEC_USE_MARKDOWNNoUse Markdown formatting.true
MCP_EXEC_AUDIT_ENABLEDNoEnable audit logging.true
MCP_EXEC_MAX_FILE_SIZENoMaximum file size in MB.100
MCP_EXEC_MAX_PROCESSESNoMaximum number of processes.10
MCP_EXEC_MCP_LOG_LEVELNoMinimum level for notifications.info
MCP_EXEC_MCP_QUEUE_SIZENoMax queued messages.100
MCP_EXEC_MCP_RATE_LIMITNoMax messages per minute.60
MCP_EXEC_NETWORK_ACCESSNoAllow network access.true
MCP_EXEC_SECURITY_LEVELNoSecurity level: strict, moderate, or permissive.moderate
MCP_EXEC_AUDIT_LOG_LEVELNoAudit log level: emergency, alert, critical, error, warning, notice, info, debug.debug
MCP_EXEC_AUDIT_RETENTIONNoDays to retain logs.30
MCP_EXEC_SESSION_TIMEOUTNoSession timeout in milliseconds (30 minutes).1800000
MCP_EXEC_BLOCKED_COMMANDSNoComma-separated blocked commands.
MCP_EXEC_ENABLE_HEARTBEATNoEnable connection monitoring.true
MCP_EXEC_SHUTDOWN_TIMEOUTNoGraceful shutdown timeout (5 seconds).5000
MCP_EXEC_CONFIRM_DANGEROUSNoRequire confirmation for dangerous commands.false
MCP_EXEC_FILESYSTEM_ACCESSNoFilesystem access level: read-only, restricted, or full.full
MCP_EXEC_FORMAT_STRUCTUREDNoFormat output in structured format.true
MCP_EXEC_MAX_OUTPUT_LENGTHNoMaximum output length in bytes.10000
MCP_EXEC_SUMMARIZE_VERBOSENoSummarize verbose output.true
MCP_EXEC_INACTIVITY_TIMEOUTNoInactivity timeout in ms (0 = disabled, recommended for MCP).0
MCP_EXEC_SANDBOXING_ENABLEDNoEnable sandboxing.false
MCP_EXEC_ALLOWED_DIRECTORIESNoComma-separated allowed directories. Unset = no directory restriction.
MCP_EXEC_MAX_COLLECTED_BYTESNoMax bytes buffered in memory per stream while a command runs (0 = unlimited). Defaults to max(4 x MCP_EXEC_MAX_OUTPUT_LENGTH, 1 MB).1048576
MCP_EXEC_MCP_INCLUDE_CONTEXTNoInclude context data.true
MCP_EXEC_MCP_LOGGING_ENABLEDNoEnable MCP client notifications.true
MCP_EXEC_SESSION_BUFFER_BYTESNoSession output buffer size in bytes (256 KB).262144
MCP_EXEC_TERMINAL_VIEWER_HOSTNoBind address (loopback by default).127.0.0.1
MCP_EXEC_TERMINAL_VIEWER_PORTNoListen port.3000
MCP_EXEC_AUDIT_REDACT_PATTERNSNoExtra comma-separated regexes for secret-bearing keys.
MCP_EXEC_AUDIT_MAX_OUTPUT_BYTESNoMax stdout/stderr bytes stored per audit entry.4096
MCP_EXEC_ENABLE_AI_OPTIMIZATIONSNoEnable AI-powered optimizations.true
MCP_EXEC_TERMINAL_VIEWER_ENABLEDNoEnable the browser-based terminal viewer.false
MCP_EXEC_TERMINAL_VIEWER_AUTH_TOKENNoToken to require (auto-generated when empty).
MCP_EXEC_AUDIT_MAX_IN_MEMORY_ENTRIESNoHot-cache entries; reports/exports still read full log history.1000
MCP_EXEC_TERMINAL_VIEWER_BUFFER_SIZENoScrollback lines retained per session.10000
MCP_EXEC_TERMINAL_VIEWER_ENABLE_AUTHNoRequire a token on every request.false
MCP_EXEC_TERMINAL_VIEWER_MAX_SESSIONSNoMaximum viewable terminal sessions.10
MCP_EXEC_TERMINAL_VIEWER_SESSION_TIMEOUTNoTerminal viewer session timeout in milliseconds.1800000

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/bensons/mcp-exec'

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