trmm-action-mcp
Enables approved senior engineers to run vetted, read-only audit scripts on Tactical RMM agents from Claude, using a fixed catalog of tools to inspect things like local admins, disk space, and installed software without permitting arbitrary code execution or destructive actions.
README
trmm-action-mcp
A gated, allow-listed action server for Tactical RMM. Unlike the read-only
trmm-mcp server, this one can act on endpoints — but only
by running a vetted, read-only audit from a fixed catalog. There is
deliberately no tool to run arbitrary code and no tool to delete, edit,
reboot, or uninstall anything.
Built for a small group of senior engineers (e.g. the approved engineers) to run audits like "list Domain Admins on EF-DC01" from Claude.
Why it's safe — six independent guardrails
- Identity — reachable only by the named senior engineers.
- Network — nginx allows only Anthropic's connector egress IPs (+ your IPs).
- Bearer — shared secret between the edge and this backend.
- Restricted tools — only
list_agents,list_audits,run_audit. - Allow-listed audits —
run_auditruns only vetted read-only scripts incatalog.py; no arbitrary-code path exists. - Scoped TRMM key — the
claude-actionsrole can Send-Command + read, nothing else. Every run is TRMM-audit-logged.
"Can't delete stuff" is a guarantee here (allow-listed catalog + no delete tools +
scoped key), not a hope — see the note in catalog.py.
Tools
| Tool | Kind | What it does |
|---|---|---|
trmm_list_agents |
read | Find the agent to target (filter by client/site/type/platform/status/hostname). |
trmm_list_audits |
read | The catalog of runnable audits (the only scripts run_audit will execute). |
trmm_run_audit |
action | Run ONE vetted audit on ONE agent; returns its output. readOnlyHint:false. |
Audit catalog (v1)
privileged_groups (DC), local_admins, local_users, disk_space, os_info,
installed_software, services_not_running, pending_reboot, hotfixes,
logged_on_users, bitlocker, network_config. All read-only. Add more by
vetting a new entry in catalog.py.
Configuration
| Variable | Required | Description |
|---|---|---|
TRMM_API_URL |
✅ | TRMM API base URL (api. subdomain). |
TRMM_ACTION_API_KEY |
✅ | The scoped claude-actions key (Send-Command + read only). |
TRMM_MCP_TRANSPORT |
— | stdio (default) or http. |
TRMM_MCP_AUTH_TOKEN |
http only | Shared bearer between edge and backend. |
TRMM_MCP_HOST / PORT / PATH |
— | Default 0.0.0.0 / 8090 / /mcp (in Docker). |
TRMM_TIMEOUT / TRMM_VERIFY_SSL / TRMM_MAX_RETRIES |
— | Tuning. |
Run
python -m venv .venv && .venv\Scripts\activate # or source .venv/bin/activate
pip install -r requirements.txt
# stdio (local dev): set TRMM_API_URL + TRMM_ACTION_API_KEY, then:
python -m trmm_action_mcp
Deploy (gated, remote)
See docs/DEPLOY.md (Docker + nginx Anthropic-IP allowlist + identity options) and docs/TRMM_ROLE.md (the scoped key). The senior-engineer path that works today is Claude Code/Desktop + bearer behind the nginx allowlist; per-user Entra SSO for claude.ai web/mobile is best done via Cloudflare Access (see the read-only project) — DEPLOY.md explains the trade-offs.
Relationship to trmm-mcp
Separate project, separate key, separate deploy on purpose: the read-only server stays incapable of acting, and this one stays incapable of anything but vetted audits.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.