Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TRMM_API_URLYesBackend base URL
TRMM_MCP_TLSNoSet false to fall back to plain HTTPtrue
TRMM_MCP_MODENo`readonly`, `elevate` or `command`readonly
TRMM_CA_BUNDLENoCA for the self-signed origin cert/opt/trmm-certs/fullchain.pem
TRMM_VERIFY_SSLNoSet false only to disable verification outrighttrue
TRMM_MCP_LOG_DIRNoWhere events.jsonl and server.log live./logs
TRMM_HTTP_TIMEOUTNoConnect/write timeout, seconds60
TRMM_MCP_AUDIT_LOGNoMutation log path./command-audit.log
TRMM_MCP_HTTP_HOSTNoHTTP listener host127.0.0.1
TRMM_MCP_HTTP_PATHNoHTTP listener path/mcp
TRMM_MCP_HTTP_PORTNoHTTP listener port8770
TRMM_MCP_LOG_LEVELNoDiagnostic verbosityINFO
TRMM_MCP_STATE_DIRNoWhere grants are persisted./state
TRMM_MCP_TRANSPORTNo`stdio` or `streamable-http`stdio
TRMM_MCP_AUTH_TOKENNoBearer token for HTTP authentication
TRMM_MCP_PUBLIC_URLNoApproval URL shown to the user
TRMM_COMMAND_API_KEYYesKey used for executions in `elevate` and `command` modes
TRMM_MCP_PENDING_TTLNoSeconds an unapproved request stays open600
TRMM_READONLY_API_KEYYesKey used in read-only mode
TRMM_HTTP_READ_TIMEOUTNoRead timeout — must exceed the longest tool timeout, since synchronous runs hold the connection open300
TRMM_MCP_LOG_MAX_BYTESNoLog rotation size10485760
TRMM_MCP_BLOCK_PATTERNSNoRefused command regexes
TRMM_MCP_STATELESS_HTTPNoWhether to use stateless HTTPtrue
TRMM_MCP_AGENT_ALLOWLISTNoRestrict execution targets
TRMM_MCP_LOG_MAX_BACKUPSNoLog rotation backups5
TRMM_MCP_APPROVAL_SESSIONNoApproval-page session lifetime, seconds43200
TRMM_MCP_LOG_PAYLOAD_CHARSNoPer-payload cap; `-1` unlimited, `0` sizes only4000
TRMM_MCP_MAX_GRANT_SECONDSNoCeiling on any approval window3600
TRMM_MCP_MAX_RESPONSE_CHARSNoTruncation cap per tool result60000
TRMM_MCP_APPROVAL_TOTP_SECRETNoBase32 TOTP secret; set by the same script
TRMM_MCP_APPROVAL_MAX_ATTEMPTSNoFailed sign-ins before lockout5
TRMM_MCP_APPROVAL_PASSWORD_HASHNoPBKDF2 hash; set by `setup_approval_auth.py`

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/shin2344234/trmm-mcp'

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