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`

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

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
trmm_fleet_overviewA

Fleet health summary: agent counts by status, plus the machines that are offline, need a reboot, have failing checks, or have pending patches. The best first call when hunting for problems.

trmm_list_agentsA

List agents with their status. Filter by client/site id, monitoring type (server/workstation), online state, or a hostname substring.

trmm_get_agentA

Full detail for one agent: hardware, OS, disks, uptime, checks and policies. Heavy sections (services, wmi_detail, graphics, timezone list) are omitted unless named in include, since they can be >100KB.

trmm_agent_servicesA

Windows services on an agent. Filter by name substring or state (running/stopped) to avoid pulling the whole list, which is large.

trmm_agent_processesA

Live process list from an agent, sorted by memory or CPU. Requires the agent to be online.

trmm_agent_event_logB

Windows event log entries from an agent. log_type is Application, System or Security. Filter by level (error/warning/information) and an optional message substring.

trmm_agent_checksB

Checks configured on an agent, with their current status.

trmm_agent_historyA

Recent command and script runs on an agent, including their captured output. Use this to see what was already tried, or to retrieve output from an asynchronous script run.

trmm_agent_softwareC

Installed software inventory for an agent.

trmm_agent_windows_updatesC

Windows update status for an agent.

trmm_list_clients_sitesA

All clients and their sites, with ids for filtering.

trmm_list_alertsB

Current alerts. By default returns the newest unresolved ones. severity may include 'error', 'warning', 'info'.

trmm_list_scriptsA

List scripts available in TRMM. Returns each script's id, which is what trmm_run_script needs.

trmm_get_scriptA

Full detail for one script including its source code. Read this before running an unfamiliar script on a machine.

trmm_agent_tasksC

Automated tasks configured on an agent.

trmm_pending_actionsA

Pending actions (queued agent work such as reboots or patch installs). Omit agent for the whole fleet.

trmm_audit_logA

Audit log: who did what in TRMM. Filter by days, agent, or username. Useful for correlating a change with when a problem started.

trmm_debug_logC

TRMM server debug log entries.

trmm_server_infoA

TRMM server version, settings and this MCP server's current mode.

trmm_api_getA

Escape hatch: issue a raw GET against any TRMM API path and return the JSON, for data with no dedicated tool. Example paths: /clients/, /checks/, /automation/policies/, /core/customfields/, /accounts/. Always permitted, in both modes.

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